All Projects → odb → Shml

odb / Shml

Licence: mit
SHell Markup Language | Style Framework for The Terminal

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Shml

markdown-emojis
🔥 All the emojis 🎉
Stars: ✭ 198 (-51.82%)
Mutual labels:  icons, emojis
Imguifiledialog
File Dialog for ImGui : https://github.com/aiekick/ImGuiFileDialog
Stars: ✭ 398 (-3.16%)
Mutual labels:  icons
Rotten Scripts
Scripts that will make you go WOW 😍💻
Stars: ✭ 344 (-16.3%)
Mutual labels:  bash-script
Mordant
Full-featured text styling for Kotlin command-line applications
Stars: ✭ 382 (-7.06%)
Mutual labels:  ansi-colors
Bytesize Icons
Tiny style-controlled SVG iconset (101 icons, 12kb)
Stars: ✭ 3,662 (+791%)
Mutual labels:  icons
Social Share Kit
Library of decent and good looking CSS/JavaScript social sharing icons, buttons and popups
Stars: ✭ 388 (-5.6%)
Mutual labels:  icons
Larasail
LaraSail - Set Sail with your Laravel app on DigitalOcean
Stars: ✭ 348 (-15.33%)
Mutual labels:  bash-script
Python Coloredlogs
Colored terminal output for Python's logging module
Stars: ✭ 408 (-0.73%)
Mutual labels:  ansi-colors
Move Wsl
Easily move your WSL distros VHDX file to a new location.
Stars: ✭ 389 (-5.35%)
Mutual labels:  bash-script
Pixo
Convert SVG icons into React components
Stars: ✭ 371 (-9.73%)
Mutual labels:  icons
Radialmenu
A highly customizable radial menu that's very easy to setup.
Stars: ✭ 371 (-9.73%)
Mutual labels:  icons
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+847.93%)
Mutual labels:  icons
Blueprint
Free, feature-rich, easily customizable Android dashboard for icon packs
Stars: ✭ 389 (-5.35%)
Mutual labels:  icons
Keepass Yet Another Favicon Downloader
Yet Another Favicon Downloader for KeePass 2.x
Stars: ✭ 354 (-13.87%)
Mutual labels:  icons
Jam
Jam icons is a set of SVG icons designed for web projects, illustrations, print projects, etc. Licensed under MIT
Stars: ✭ 398 (-3.16%)
Mutual labels:  icons
React Icons Kit
React Svg Icons
Stars: ✭ 352 (-14.36%)
Mutual labels:  icons
Icons Flat Osx
Free Flat icons For OSX
Stars: ✭ 366 (-10.95%)
Mutual labels:  icons
Termux Archlinux
You can use setupTermuxArch.bash 📲 to install Arch Linux in Termux on Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/termux-archlinux/
Stars: ✭ 384 (-6.57%)
Mutual labels:  bash-script
Vim Devicons
Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more
Stars: ✭ 4,473 (+988.32%)
Mutual labels:  icons
Google Drive Upload
Bash scripts to upload files to google drive
Stars: ✭ 403 (-1.95%)
Mutual labels:  bash-script
SHML by ODB

SHML v.1.1.0

Build Status

SHML is a shell framework for faster and easier script development.

Why

HTML has CSS, terminals have "ANSI/VT100 Control Sequences". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = \033[33m instead Yellow is $(color yellow).

1-liner Install

# Unix-like
$ sudo bash -c 'curl -L https://raw.githubusercontent.com/odb/shml/1.1.0/shml.sh -o /usr/local/bin/shml && chmod +x /usr/local/bin/shml'

# Homebrew
$ brew install shml

# npm
$ npm install -g shml

Download

You can just download SHML without installing it...

Git

$ git clone https://github.com/odb/shml.git

wget

$ wget https://raw.githubusercontent.com/odb/shml/master/shml.sh

Sourcing

In order to use SHML you must tell your shell environment where it is located. Lets assume that we are writing a BASH script and want to use SHML.

If you installed in using the 1-liner above you would do:

#!/usr/bin/env bash
source $(which shml)

If you downloaded SHML using git or wget you would do:

#!/usr/bin/env bash
source ./shml.sh

Examples

#!/usr/bin/env bash
source "$(which shml)"

echo "
$(fgcolor red)
This will make the text red...
$(fgcolor end)
"

View all examples: https://odb.github.io/shml/getting-started/

Contributing

Contributions are more than welcome. Before submitting ANY new features please read the Contribution Guidelines.

To report any bugs or if you have a feature request feel free to open an issue.

Updating The Docs

Updating the docs requires Ruby/Jekyll to generate & view locally.

Run once:

$ cd docs/
$ gem install bundler
$ bundle install

Generate and serve:

$ bundle exec jekyll s --watch

Then go to: http://localhost:4000/shml/

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