All Projects β†’ gawlk β†’ Art

gawlk / Art

Licence: mit
🎨 A smart theme generator

Programming Languages

shell
77523 projects
script
160 projects

Labels

Projects that are alternatives of or similar to Art

Ascii py
Make some ascii arts
Stars: ✭ 211 (+240.32%)
Mutual labels:  cli, art
Geopattern
πŸ“ Create beautiful generative image patterns from a string in golang.
Stars: ✭ 1,113 (+1695.16%)
Mutual labels:  art
Cabal Edit
A utility for managing Hackage dependencies and manipulating Cabal files from the command line.
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Cli Toolkit
PHP CLI Toolkit
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Za Farmer
基于uiautomator2.0 ηš„θ‡ͺεŠ¨εŒ–ζ΅‹θ―•ε·₯ε…·
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Cli Error Notifier
Sends native desktop notifications if CLI apps fail
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli
Needy
A C++ library dependency helper.
Stars: ✭ 59 (-4.84%)
Mutual labels:  cli
Cloudflare Cli
CLI utility managing CloudFlare services using CloudFlare API
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli
Stacker Cli
Docker Compose Templates
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli
Wago
Automate the actions you do after saving code.
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Teller Cli
🏦 Banking for your command line.
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Baapan
✨ Super Cool NPM Playground right on the Node REPL ✨
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Syncano Node
Syncano Toolkit for JavaScript development
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli
Netlify Builder
Deploy your Angular app to netlify from CLI
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Httpie Http2
Experimental HTTP/2 plugin for HTTPie
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli
Cli Mandelbrot
πŸ“¦ View the Mandelbrot set from your terminal
Stars: ✭ 59 (-4.84%)
Mutual labels:  cli
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-3.23%)
Mutual labels:  cli
Xxv
The XXV visual hex viewer for the terminal.
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli
Commando
An easy-to-use command-line application builder.
Stars: ✭ 62 (+0%)
Mutual labels:  cli
Tidy Markdown
Beautify Markdown, fixing formatting mistakes and standardizing syntax
Stars: ✭ 61 (-1.61%)
Mutual labels:  cli

art

Caution

You will most likely have to edit the EDITME file since this script is at this moment only adapted for my dotfiles.

What is it ?

art is a theme generator that takes an image, generates colors from it and creates a theme with two variations from those colors, a dark and a light one. It then updates some configuration files and any open terminal with desired colors. Each generated theme is saved in a special folder, that can be accessed at any time.

How does it work ?

  1. Load an image
  2. Generate a certain number of colors
  3. Choose 5 colors
    • The darkest
    • The redest
    • The greenest
    • The blueest
    • The lightest
  4. Tweak those colors and create a grey color from the darkest one
  5. Check the colors
    • If some colors are too similar, adjust them
  6. Generate files

How to install ?

Dependencies

imagemagick: Used to generate the first array of colors

Instructions

cd WHEREVER_YOU_WANT
git clone https://github.com/gawlk/art.git
cd art
echo "PATH="${PATH}:$( pwd )"" >> ${HOME}/.bashrc

How to use ?

art - Theme generator

Arguments:
(none)                              Load the current theme
-blk                                Preset the black color
-blu                                Preset the blue color
-c | -copy "theme" "name"           Copy a theme and exit
-clear                              Clear all configuration files
-clear-all                          Clear all configuration files and delete the theme folder
-dark                               Set the brightness of the theme to dark
-delete "theme"                     Delete a theme and exit
-grn                                Preset the green color
-gry                                Preset the grey color
-h | -help                          Display this menu and exit
-i | -image "file" "name"           Create a theme using a local picture
-l | -link "link" "name"            Create a theme using a link to an image
-light                              Set the brightness of the theme to light
-list                               Display a list of available themes and exit
-n | -next                          Load the next theme from the list
-name                               Display the name of the current theme and exit
-o | -override                      Enable overriding of existing themes (one-time only)
-p | -previous                      Load the previous theme from the list
-q | -quiet                         Disable logs
-r | -random                        Select a random theme to load
-red                                Preset the red color
-reload                             Regenerate the configuration of the current theme (for devs)
-reload-all                         Regenerate the configuration of all the themes (for devs)
-s | -swap                          Swap the brightness of the current theme
-t | -theme "theme"                 Load a particular theme
-ua | -unsplash-artist "name"       Create a theme using a random picture from an Unsplash's artist
-uc | -unsplash-collection "name"   Create a theme using a random picture from an Unsplash's collection
-ud | -unsplash-daily               Create a theme using Unsplash's picture of the day
-ur | -unsplash-random              Create a theme using a random picture from Unsplash
-wht                                Preset the white color

TODO

  • Improve the selection of rgb in setters.rgb()
  • Improve the ifs in checkers.colors()
  • Find the perfect balance in tweakers.color()

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].