|
| 1 | +# Interactive HTML BOM Generator |
| 2 | + |
| 3 | +A Rust library implementing a subset of |
| 4 | +[InteractiveHtmlBom](https://github.com/openscopeproject/InteractiveHtmlBom), |
| 5 | +to generate Bill of Materials for PCBs as an interactive HTML page. |
| 6 | +See their project description for details, and check out the example output |
| 7 | +[here](https://openscopeproject.org/InteractiveHtmlBomDemo/). |
| 8 | + |
| 9 | +This library does not re-implement the complete functionality of the upstream |
| 10 | +project. Instead, it re-uses their HTML/CSS/JS files and provides a minimal |
| 11 | +high-level API to perform just the HTML generation. Differences to the |
| 12 | +upstream project: |
| 13 | + |
| 14 | +- Rust instead of Python |
| 15 | +- No CLI, just a Rust library |
| 16 | +- Not a plugin for EDA tools |
| 17 | +- No parser for EDA project files |
| 18 | +- Stripped down support of the |
| 19 | + [`pcbdata`](https://github.com/openscopeproject/InteractiveHtmlBom/blob/f9a419b2b19bcb86dd81c61f0b7feba8dffce9f4/DATAFORMAT.md) structure, especially |
| 20 | + missing support for any geometry type other than `polygon` with `svgdata` |
| 21 | + since this type is enough to draw any kind of shape |
| 22 | + |
| 23 | +The library has been developed for integration in |
| 24 | +[LibrePCB](https://librepcb.org/), though it's API is generic and thus would |
| 25 | +be usable for other projects too. |
| 26 | + |
| 27 | +## License and Credits |
| 28 | + |
| 29 | +Library is licensed under MIT license, see [`LICENSE`](./LICENSE) for details. |
| 30 | + |
| 31 | +A huge thanks to the developers of |
| 32 | +[InteractiveHtmlBom](https://github.com/openscopeproject/InteractiveHtmlBom) |
| 33 | +who created the awesome HTML/CSS/JS which we're reusing in this project. |
| 34 | + |
| 35 | +The implementation of this library was funded by the |
| 36 | +[NGI Zero Commons Fund](https://nlnet.nl/commonsfund/) as part of the |
| 37 | +[LibrePCB 2.0](https://nlnet.nl/project/LibrePCB2.0/) project. |
0 commit comments