Skip to content

JSoup based HTML parser for parsing orders from Mouser.com into BOM for use in Markdown

License

Notifications You must be signed in to change notification settings

1sand0s/Mouser2MD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mouser2MD

Travis (.com) GitHub

JSoup based HTML parser for parsing orders from Mouser.com into BOM for use in Markdown

What is it?

I often order components from Mouser.com for my projects and I like to write about my projects in my blog. I needed a convenient way of parsing the orders into markdown which I can easily copy paste into my blog supported by pelican (particularly for including BOMs). Since I couldn't find any existing way of doing it, I decided to build my own. Simply follow the instructions below to build it, and then execute the jar with the URL to your Mouser.com order.

How to build

  1. Install JDK:

    Download and install openJDK 17, and set the environment variable JAVA_HOME to point to the "bin" folder of your JDK installation.

  2. Install Git:

    Download Git and install it.

  3. Install Maven:

    Download Maven v3.8.4 and install it.

  4. Clone the Mouser2MD repository:

    If you installed Git, execute the following command: https://github.com/1sand0s/Mouser2MD.git
    Otherwise, download the repository as a zip ball and extract it.

  5. Build:

    Open a command prompt/terminal, cd to the project root directory, and execute mvn clean install package assembly:single.

  6. Running:

    To convert a Mouser.com order into BOM for markdown, cd to the target directory inside project root directory, and execute java -jar mouser2md-0.0.1-SNAPSHOT-jar-with-dependencies.jar <PASTE URL TO MOUSER.COM ORDER HERE>.

About

JSoup based HTML parser for parsing orders from Mouser.com into BOM for use in Markdown

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages