Skip to content

An SVG favicon editor for your terminal (written in Crumb)

Notifications You must be signed in to change notification settings

ronilan/crumbicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crumbicon

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.

banner

Install

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.

Locally

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

With Docker:

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!

Use

Drawing

  • 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.

Files

  • 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.

Gallery

Made something cool with Crumbicon? Make a pull request!

Fabriqué au Canada : Made in Canada 🇨🇦

Releases

No releases published

Packages

No packages published