veelenga / Dress
👗 Dress up your stdout
Stars: ✭ 55
Programming Languages
elixir
2628 projects
Labels
Projects that are alternatives of or similar to Dress
Gomphs
A tool to ping multiple hosts at once with a CLI and web-based overview
Stars: ✭ 54 (-1.82%)
Mutual labels: cli
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-3.64%)
Mutual labels: cli
Crex
Explore, test, and check regular expressions in the terminal.
Stars: ✭ 54 (-1.82%)
Mutual labels: cli
Foxify Cli
💻 Firefox Command-Line Theme Manager 🦊 Inspired by spicetify-cli 🔥
Stars: ✭ 55 (+0%)
Mutual labels: cli
Mssql Cli
A command-line client for SQL Server with auto-completion and syntax highlighting
Stars: ✭ 1,061 (+1829.09%)
Mutual labels: cli
Bashupload
PHP/JavaScript file upload web app to upload files from command line & browser, and download them elsewhere. Frequently used to upload/download files on servers. Hosted version is available at bashupload.com.
Stars: ✭ 56 (+1.82%)
Mutual labels: cli
Docker Build Cacher
Builds a service with docker and caches the intermediate stages
Stars: ✭ 53 (-3.64%)
Mutual labels: cli
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+1863.64%)
Mutual labels: cli
Bangjago Android Emulator
simple android emulator cli for mobile development
Stars: ✭ 56 (+1.82%)
Mutual labels: cli
Nord Konsole
An arctic, north-bluish clean and elegant Konsole color scheme.
Stars: ✭ 56 (+1.82%)
Mutual labels: cli
Rff Cli Example
An example of how to use 🏁 React Final Form in a CLI application with Ink
Stars: ✭ 55 (+0%)
Mutual labels: cli
Dress
Cli app that makes your stdout fancy.
For now you need to create your own configuration file using this example.
Installation
Via brew
:
$ brew tap veelenga/tap
$ brew install dress
Manually:
$ git clone https://github.com/veelenga/dress && cd dress/
$ mix deps.get
$ mix escript.build
$ ./dress
Usage
$ tail -f log/development.log | dress -c config/default.yml
Config file
Your configuration file must be placed to ~/.dress/
folder and follow yaml format:
# ~/.dress/jacket.yml
dress:
# colorize dates in yellow color
dates:
regex: '\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}'
color: :yellow
# format urls, so those will have blue color and be underlined
urls:
regex: '(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})'
format: [:blue, :underline]
# improve time format
time:
regex: '(\d\d):(\d\d):(\d\d)'
replace: '\1h\2m\3s'
# skip some useless lines
trash:
regex: 'line containing this will not be shown'
skip: true
And you can use it in the following way:
$ tail -f log/development.log | dress jacket
Be smart, automate routine stuff !
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].