Crumbicon is a mouse driven icon editor for your terminal.
It creates, and then edits svg images that can be used as website favicons (i.e. the little icons that appear at the top tabs etc.). Icons can be 8 pixels by 8 pixels, or 16 pixels by 16 pixels, utilizing 256 colors.
It's written in Crumb.
Running Crumb programs requires building the Crumb interpreter from source. That can be done locally, or within a Docker container that has a mounted volume to save drawn icons.
Clone the repo:
git clone git@github.com:ronilan/crumbicon.git
CD into directory:
cd crumbicon
Build Crumb interpreter:
chmod +x build-crumb.sh && ./build-crumb.sh
Run:
./crumb crumbicon.crumb
Build:
docker build -t crumbicon docker build -q git@github.com:ronilan/crumbicon.git#main
Run:
docker run --rm -it -v ${PWD}:/crumbicon/icons crumbicon
Or "all in one":
docker run --rm -it -v ${PWD}:/crumbicon/icons $(docker build -q git@github.com:ronilan/crumbicon.git#main)
Then in the shell:
./crumb crumbicon.crumb ./icons/favicon.svg
This will save the generated icons to your current working directory!
- Hover over color pickers to see color.
- Click to pick color.
- Click to place them on the canvas.
- Drag to draw multiple pixels.
- Shift, Click for flood fill.
- Palette at bottom allows to "collect colors". Click to choose where to place selected.
- Save to save and exit.
- Exit to exit without save.
- 16x16 to start new icon.
- 8x8 to start new icon.
- Command line argument to provide file name
./crumb crumbicon.crumb ./icons/favicon.svg
- Can open files created by Crumbicon.
- Will abort when file is not created by Crumbicon, but there are issues. Avoid.
Made something cool with Crumbicon? Make a pull request!