Giter Site home page Giter Site logo

crumbicon's Introduction

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 [email protected]: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 [email protected]: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 [email protected]: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 🇨🇦

crumbicon's People

Contributors

ronilan avatar

Stargazers

 avatar Pierre Haufe avatar Jeff Triplett avatar David Higgins avatar David 'Epper' Marshall avatar SagXD avatar KC avatar Mohit Vaswani avatar  avatar  avatar William avatar Liam Ilan avatar  avatar Divyansh Prakash avatar Charles Gardner avatar

Watchers

 avatar  avatar

Forkers

devilcoder01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.