Browser-based PCB styler and assembly-view renderer with first-class support
for KiCad .kicad_pcb boards, Altium .PcbDoc boards, and PCB project .zip
archives containing either format.
Live app: https://pcb-styler.app/.
- Supported EDA inputs: KiCad
.kicad_pcb, Altium.PcbDoc, KiCad project ZIP archives, Altium ZIP archives containing.PcbDoc, and PCB Styler project ZIP archives that preserve the original board source - Client-side KiCad S-expression parsing for
.kicad_pcbfiles throughkicad-toolkit - Client-side Altium
.PcbDocparsing throughaltium-toolkit - ZIP project loading with automatic KiCad or Altium board-file discovery
- PCB Styler project ZIP export/import with KiCad or Altium board source and JSON settings
- Manual-style SVG PCB rendering with black board fill, grey pads, grey silkscreen, and a clean assembly-focused default that hides routed copper, zones, vias, and via drill holes until those layers are enabled
- KiCad preview render preset with KiCad-like copper, pad, via, drill, and silkscreen colors for full-detail KiCad board inspection
- Altium PCB SVG rendering from direct
.PcbDocfiles or ZIP-contained.PcbDocfiles - Front/back side switching with KiCad-style backside mirroring for KiCad boards
- Per-layer visibility, fill color, fill transparency, border color, and border-thickness controls that apply to KiCad and Altium preview, SVG export, and transparent PNG export
- Right-side annotation sidebar for component highlights, movable text/number badges, and exports
- Click and hover component highlighting with a user-selectable highlight color and fixed sidebar details for the hovered component
- Badges include configurable text/border color, scale, drop shadow, per-badge rotation, and automatic pill shapes for longer labels
- SVG and transparent-background PNG export for loaded boards; portable project ZIP export for KiCad and Altium source-backed boards
- Early WebMCP tool registration for agent-assisted state inspection, render preset changes, styling, highlights, badges, SVG export, and transparent PNG export in supported browsers
- Integrated imprint footer with contact, version, GitHub, and Mastodon links
- Local Express dev server in
src/server.mjs - Node test suite for app controller, state, integration bridge, and structure checks; parser and renderer coverage lives in the toolkit packages
src/core/: app state and board loadingsrc/ui/: DOM view, app controls, and renderer routingkicad-toolkit: KiCad parsing, ZIP board loading, geometry, stroke-font primitives, and base SVG renderingaltium-toolkit: Altium.PcbDocparsing and deterministic PCB SVG renderingsrc/AppController.mjs: app orchestration and export flowsrc/StaticDeployBuilder.mjs: Apache/shared-hosting artifact builderscripts/build-static-deploy.mjs: static deployment build wrapperapi/: deployable PHP metadata endpoint for shared hostingtests/: behavior and structure testsdocs/: architecture, setup, testing, security, troubleshootingspec/: product scope and acceptance criteria
- Getting Started
- Architecture
- Testing
- WebMCP Integration
- Security
- Troubleshooting
- Search Indexing
- Specification
npm install
npm startnpm testnpm run build:staticThe static build writes .deploy-src/ with versioned browser module URLs and
an Apache cache policy. The GitHub Actions FTP workflow deploys that artifact,
api/, docs/, root package.json, and production node_modules/ to the
configured shared-hosting target using FTP_SERVER, FTP_USERNAME, and
FTP_PASSWORD secrets.
npm run formatThis project is available under two licensing options.
The software source code is licensed under the GNU Affero General Public
License v3.0 or later (AGPL-3.0-or-later).
You may use, modify, and distribute this project under the AGPL. If you modify the software and make it available to users over a network, the AGPL requires that those users can access the corresponding source code of the modified version.
Project documentation and non-code media are licensed under Creative Commons
Attribution-ShareAlike 4.0 (CC-BY-SA-4.0) unless otherwise marked.
For use in closed-source, proprietary, or otherwise AGPL-incompatible products, a separate commercial license is required.
Commercial licensing contact: [email protected]
Copyright (C) 2026 André Fiedler.
Copyright, license, attribution, and source-origin notices must be preserved as required by the AGPL, CC-BY-SA-4.0, and the notice files in this repository.