The plugin is now ready for distribution through KiCad's Plugin and Content Manager (PCM)!
- File:
metadata.json - Schema: KiCad PCM v1 (https://go.kicad.org/pcm/schemas/v1)
- Identifier:
com.github.hulryung.kicad-lcsc-manager - Status: Ready for distribution
- File:
resources/icon.png - Size: 64x64 pixels
- Format: PNG with RGBA
- Design: Blue circle with IC chip symbol and "L" letter
- File:
create_release.sh - Purpose: Automates creation of distribution ZIP
- Output: Properly structured package with SHA256 hash
- README.md: Added KiCad PCM installation instructions
- DISTRIBUTION.md: Complete guide for packaging and distribution
- PCM_SETUP_COMPLETE.md: This file
- Location:
release/kicad-lcsc-manager-0.1.0.zip - Size: ~52 KB
- SHA256:
6c364459af739e4e23794db776db406575b74d5bee91fe9894169db5d32f7573
kicad-lcsc-manager-0.1.0.zip
└── kicad-lcsc-manager-0.1.0/
├── plugins/
│ └── lcsc_manager/ # Plugin code
├── resources/
│ ├── icon.png # Plugin icon (64x64)
│ └── icon.svg # SVG source
├── metadata.json # PCM metadata
├── README.md # User documentation
├── LICENSE # MIT License
└── INSTALL.md # Installation guide
-
Create a GitHub Release:
# Go to: https://github.com/hulryung/kicad-lcsc-manager/releases # Click "Create a new release" # Tag: v0.1.0 # Title: LCSC Manager v0.1.0 # Upload: release/kicad-lcsc-manager-0.1.0.zip
-
Share the Installation Link:
- Users can download manually from GitHub releases
- Or use the metadata.json for custom PCM repositories
-
Fork the KiCad Metadata Repository:
git clone https://gitlab.com/kicad/addons/metadata.git cd metadata/packages -
Add Your Plugin Metadata:
cp /path/to/your/metadata.json com.github.hulryung.kicad-lcsc-manager.json
-
Submit Merge Request:
- Commit the metadata file
- Push to your fork
- Create merge request to official repository
- Wait for review (usually a few days)
-
After Approval:
- Plugin appears in KiCad's official PCM
- Users can install with one click
- Automatic updates when new versions released
- Open KiCad
- Tools → Plugin and Content Manager
- Search "LCSC Manager"
- Click Install
- Restart KiCad
- Download ZIP from GitHub releases
- Extract to KiCad plugins directory
- Restart KiCad
Before publishing, test the package:
# Extract to KiCad plugins directory
cd ~/Documents/KiCad/9.0/scripting/plugins/
unzip /path/to/kicad-lcsc-manager-0.1.0.zip
mv kicad-lcsc-manager-0.1.0/* .
rmdir kicad-lcsc-manager-0.1.0
# Restart KiCad and testFor future releases:
-
Update Version Number:
plugins/lcsc_manager/__init__.py→__version__ = "0.2.0"metadata.json→ Add new version entry
-
Create New Package:
./create_release.sh
-
Update metadata.json:
- Add new version with updated SHA256
- Previous versions remain in array
-
Create GitHub Release:
- Tag:
v0.2.0 - Upload new ZIP file
- Tag:
- ✅
metadata.json- PCM package metadata - ✅
resources/icon.png- Plugin icon (64x64 PNG) - ✅
resources/icon.svg- Icon source (SVG) - ✅
create_release.sh- Release packaging script - ✅
DISTRIBUTION.md- Distribution guide - ✅
PCM_SETUP_COMPLETE.md- This file - ✅
create_icon.py- Icon generator (obsolete, kept for reference) - ✅
create_png_icon.py- PNG icon generator (obsolete) - ✅
create_simple_png.py- Simple PNG generator (used) - ✅
convert_svg_to_png.sh- SVG converter helper
- ✅
README.md- Added PCM installation instructions - ✅ Updated feature list with latest capabilities
✅ Plugin is ready for distribution!
The package is complete and tested. You can:
- ✅ Create a GitHub release immediately
- ✅ Share with users for manual installation
- ⏳ Submit to official KiCad PCM (optional, takes a few days for approval)
- Plugin Repository: https://github.com/hulryung/kicad-lcsc-manager
- KiCad PCM Docs: https://dev-docs.kicad.org/en/addons/
- PCM Schema: https://go.kicad.org/pcm/schemas/v1
- Official Repository: https://gitlab.com/kicad/addons/metadata
For distribution or packaging questions:
- Check
DISTRIBUTION.mdfor detailed guide - Review KiCad PCM documentation
- Open an issue on GitHub
Ready to publish! 🚀