This project provides a Bash tool for generating, indexing, and serving a media kit of Armbian SVG logos and icons.
- Generate PNG icons from SVG files at multiple resolutions.
- Create an HTML index (media kit) of all logos and icons, grouped for convenient browsing and downloading.
- Serve the kit with a built-in Python HTTP server for easy sharing or review.
- Generate a multi-resolution favicon.ico from your main SVG logo.
Run all commands via:
./armbian-media_kit.sh <command> [options]-
help
Show usage and help message. -
icon
Generate PNG icon sets from SVGs in./SVG/at common sizes (16, 32, 64, 128, 256, 512), and copy SVGs to./images/scalable/. Also generates a multi-resolutionfavicon.icofromimages/scalable/armbian-tux_v1.5.svg. -
index
Generate an HTML media kit (index.html) listing all SVGs and downloadable PNGs, grouped by filename pattern. -
server [directory]
Serve the specified directory (default: current directory) over HTTP at http://localhost:8080/. -
all
Run icon generation, HTML index generation, and start the server in sequence.
- Input SVGs: Place all SVGs in
./SVG/. - PNGs: Generated in
./images/<size>x<size>/. - SVGs (for HTML): After running
icon, SVGs are copied to./images/scalable/. - HTML index:
index.htmlis generated at the project root. - Favicon:
favicon.icois generated at the project root fromimages/scalable/armbian-tux_v1.5.svg.
- Logos starting with
armare displayed on the left. - Logos starting with
confare displayed on the right. - All other images appear in a separate section at the bottom.
- Automatically generates a multi-resolution
favicon.icofromimages/scalable/armbian-tux_v1.5.svg(with 16x16, 32x32, and 48x48 sizes) for full browser and OS compatibility.
- ImageMagick (
convertcommand) for icon and favicon generation. - Python 3 for the HTTP server.
You will be prompted to install missing dependencies if needed.
./armbian-media_kit.sh icon
./armbian-media_kit.sh index
./armbian-media_kit.sh server
./armbian-media_kit.sh allOpen source, see LICENSE.