kipm is a command-line tool that helps you install and manage KiCad component libraries by automatically fetching symbols, footprints, and 3D models from LCSC/EasyEDA and converting them to KiCad format.
For now this only supports LCSC part numbers (e.g., C381039) for quickly setting up your components and ordering from JLCPCB.
The conversion process uses the same method as easyeda2kicad.py.
Use with npx:
npx -y kipm <command>Or install globally:
npm install -g kipmkipm install <LCSC-component-id>Create a components.txt file in your project root with one LCSC part number per line:
C381039
C25744Then from your project directory run:
npx -y kipmWhen you run kipm in a project named my-board which has a components.txt file, it creates:
my-board.kicad_sym- Symbol librarymy-board.pretty/- Footprint librarymy-board.3dshapes/- 3D model files
It also updates:
sym-lib-table- Adds the symbol libraryfp-lib-table- Adds the footprint librarycomponents.json- Tracks installed components to enable clean uninstallationmy-board.kicad_pro- Stars the libraries
The libraries are named after your project directory and will be "starred" so they appear at the top when placing components in KiCad.
- Create a new KiCad project
- Create a
components.txtfile with your LCSC part numbers - Run
npx -y kipm install - Open your schematic - the components will be available in the project library
Please report any issues on the GitHub issue tracker.
MIT