All Projects → giacomo-b → shiba

giacomo-b / shiba

Licence: MIT license
Display a random Shiba from your terminal whenever you feel the need to. Because why not?

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to shiba

px
ps and top for human beings
Stars: ✭ 151 (+843.75%)
Mutual labels:  console
xplr
A hackable, minimal, fast TUI file explorer
Stars: ✭ 2,271 (+14093.75%)
Mutual labels:  console
wt-console
A lightweight, extendable react-native developer and tester tool
Stars: ✭ 31 (+93.75%)
Mutual labels:  console
laravel-console-spinner
Customized loading ⌛ spinner for Laravel Artisan Console.
Stars: ✭ 70 (+337.5%)
Mutual labels:  console
tput.cr
Low-level component for building term/console applications in Crystal
Stars: ✭ 22 (+37.5%)
Mutual labels:  console
alerta-webui
Alerta Web UI 7.0
Stars: ✭ 84 (+425%)
Mutual labels:  console
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: ✭ 24 (+50%)
Mutual labels:  console
django-admin-shell
Django/Python shell for django admin site.
Stars: ✭ 62 (+287.5%)
Mutual labels:  console
rvw developers core
SFCC Developers Core Cartridge. A Salesforce Commerce Cloud (Demandware) Cartridge for Developers.
Stars: ✭ 43 (+168.75%)
Mutual labels:  console
ansicolor
A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.
Stars: ✭ 91 (+468.75%)
Mutual labels:  console
console
a debugger for async rust!
Stars: ✭ 2,101 (+13031.25%)
Mutual labels:  console
colorize
pub.dartlang.org/packages/colorize
Stars: ✭ 20 (+25%)
Mutual labels:  console
fpga-virtual-console
VT220-compatible console on Cyclone IV EP4CE55F23I7
Stars: ✭ 33 (+106.25%)
Mutual labels:  console
gatsby-blog-template
✍️ A GatsbyJS Blog Template for blogging purposes.
Stars: ✭ 38 (+137.5%)
Mutual labels:  shiba
console-subscriber
Subscribe to the browser's console output.
Stars: ✭ 14 (-12.5%)
Mutual labels:  console
lit-bb-hack-tools
Little Bug Bounty & Hacking Tools⚔️
Stars: ✭ 180 (+1025%)
Mutual labels:  cli-tool
origami-build-tools
Standard Origami component development tools.
Stars: ✭ 49 (+206.25%)
Mutual labels:  cli-tool
spinnies
Node.js module to create and manage multiple spinners in command-line interface programs
Stars: ✭ 111 (+593.75%)
Mutual labels:  console
tinker-zero
Bridge laravel/tinker for your laravel-zero applications
Stars: ✭ 39 (+143.75%)
Mutual labels:  console
pytermgui
Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
Stars: ✭ 1,270 (+7837.5%)
Mutual labels:  console

shiba
Shiba CLI

Command-line interface (CLI) to display a random Shiba Inu whenever needed, by just running shiba on your terminal.

SoMuch SuchCool MuchWow

How To UseHow Does It Work?Why?Build ManuallyTODOs

How to use

Note: Pre-compiled binaries will be available soon. Currently, you need to compile the program on your machine. Fortunately, Rust makes this process extremely easy.

Install Rust

If you don't have Rust installed on your system, you will need to install it.

Linux, macOS, and Unix-based systems
  • Run the following in your terminal
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Follow the on-screen instructions
Windows
  • Download the installer from here
  • Run the installer and follow the on-screen instructions

Install Shiba

cargo install --git https://github.com/giacomo-b/shiba.git

You should be able to just run shiba from anywhere on your system, and that should present you with a new picture every time.

How does it work?

shiba CLI is based on shibe.online, which provides a free, public API to get random shibes.

Why?

Why not?

Build manually

TL;DR: compile with Rust and move the binary/executable to a folder in your path.

If you don't have Rust on your system, follow the instructions above to install it.

Build the program

Get the code

You can clone the repo using SSH by running:

git clone [email protected]:giacomo-b/shiba.git
Alternative methods to get the code

You may also:

Compile with Rust

cd shiba && cargo build --release

Run

To run the code from the shiba folder, run:

cargo run --release

or just launch the binary generated in shiba/target/release.

If you want to be able to run shiba from any location on your system, you will have to move the generated binary to the appropriate folder depending on your system:

Linux and most Unix-based systems
  • Run the following from within the shiba folder
sudo mv ./target/release/shiba /bin/
  • Restart terminal
macOS
  • Run the following from within the shiba folder
sudo mv ./target/release/shiba /usr/local/bin/
  • Restart terminal
Windows
  • Place shiba.exe (found in shiba/target/release/) in a directory of your choice (such as C:\your\path\here\)
  • Run the following:
set PATH=%PATH%;C:\your\path\here\
  • Restart terminal

Now you should be able to just run shiba from anywhere on your system, and that should present you with a new picture every time.

TODOs

  • Add CI workflows
    • Perform compilation checks
    • Automatically generate builds
  • Reduce binary size (?)
  • Add command-line options
    • shibe.online's API accepts count, maybe more than one Shiba could be display on demand?
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].