Ruby CLI

Open-source Ruby projects categorized as CLI

Top 23 Ruby CLI Projects

  • colorls

    A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. :tada:

    Project mention: Command Line Tools for Productive Developers | dev.to | 2022-04-09

    colorls: Colorizes the ls output with color and icons (requires gem). Includes many useful flags, such as --gs for Git status, or -t for a tree view: I use an alias to replace ls with colorls:

  • TTY

    Toolkit for developing sleek command line apps.

    Project mention: I'd like to read manually input data and prompt for the next bit of data at the terminal without getting newlines. | reddit.com/r/ruby | 2022-08-30

    TTY-ruby is an extensive CLI toolkit that might help you do what you want. Have a look. I’ve used some of them successfully in the past.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • twurl

    OAuth-enabled curl for the Twitter API

    Project mention: How to use Twitter OAuth 2.0 and Passport.js for user login | dev.to | 2022-11-24

    To start using Twitter API, you need to register for a developer account (including phone number verification). Once you register, you will be prompted to create the first application. You will immediately receive API Key and API Key Secret – but ignore them, since these are only for OAuth 1.0. Instead, go to your project's dashboard, there go to the App Settings of the only application you created. In application settings, find User authentication settings and click Set up.

  • Ruby/Progressbar

    Ruby/ProgressBar is a text progress bar library for Ruby.

  • tty-prompt

    A beautiful and powerful interactive command line prompt

    Project mention: raw and cooked mode? | reddit.com/r/ruby | 2022-06-07

    and after researching I learned about ruby raw and cooked mode: https://github.com/piotrmurach/tty-prompt/issues/137

  • dip

    Development-environment CLI program providing the native-like interaction with a Dockerized application.

    Project mention: Dockerizing a Ruby on Rails Application | reddit.com/r/rails | 2022-05-10

    And then also add dip to get rid of these lengthy docker compose run prefixes from the every command typed in your console.

  • friends

    Spend time with the people you care about. Introvert-tested. Extrovert-approved. (by JacobEvelyn)

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • Terjira

    Terjira is a very interactive and easy to use CLI tool for Jira.

  • undercover

    Actionable code coverage - detects untested code blocks in recent changes

    Project mention: In Pursuit of Perfect Code Coverage Reporting | reddit.com/r/ruby | 2022-03-31

    Nice one! You could also take a look at the undercover gem for nicely formatted GitHub Checks (it's my open source CLI also available as a GitHub app)

  • aws-recon

    Multi-threaded AWS inventory collection tool with a focus on security-relevant resources and metadata.

    Project mention: Automated capturing & documenting infra for AWS (EKS, IAM, VPC etc.) | reddit.com/r/msp | 2022-09-02

    For an open source approach, tools from the security realm could potentially be a fit (keyword: aws recon), e.g. https://github.com/darkbitio/aws-recon

  • tty-command

    Execute shell commands with pretty output logging and capture stdout, stderr and exit status.

  • tomo

    A friendly CLI for deploying Rails apps ✨

    Project mention: Underrated rails app deployment gem - TOMO. IMO easier than Capistrano. | reddit.com/r/rubyonrails | 2022-01-29
  • pg-osc

    Easy CLI tool for making zero downtime schema changes and backfills in PostgreSQL

    Project mention: Changing Tires at 100mph: A Guide to Zero Downtime Migrations | news.ycombinator.com | 2022-05-04

    Postgres has some less robust tooling, at least both of these carry the "experimental" tag:

    https://news.ycombinator.com/item?id=29825520

    https://github.com/shayonj/pg-osc

    But, still, they do it for you.

  • dry-cli

    General purpose Command Line Interface (CLI) framework for Ruby

  • Locale

    Send and retrieve your ruby i18n localizations to the Locale translation service (by Locale)

  • tty-table

    A flexible and intuitive table generator (by piotrmurach)

  • 🦠 Kovid

    Fetch and compare COVID statistics on the CLI.

  • retest

    A simple CLI to watch file changes and run their matching ruby specs. Works on any ruby projects with no setup.

    Project mention: Minitest, we've been doing it wrong? | reddit.com/r/ruby | 2022-10-02

    Whatever you choose Retest (a gem I maintain) will acknowledge both naming conventions out of the box to increase the number of compatible Ruby projects. This is done in release 1.10.0. For example, you can now use Retest with Puma.

  • circleci-cli

    :cyclone: CLI client / command line tool for CircleCI

  • tty-reader

    A set of methods for processing keyboard input in character, line and multiline modes.

    Project mention: My 2021 Annual Review: Seeking Serenity | dev.to | 2022-02-06

    As for the TTY toolkit suite of gems, I expanded it by the tty-sparkline. I also worked on many features in different tty components that I intend to wrap up and release in the coming year. The word completion in the tty-reader gem is one of these features. It is also long demanded and awaited by the Ruby community. I want to continue on the path of making terminal applications more visually attractive, intuitive and easier to build. I'm curious to see what's possible.

  • tty-screen

    Terminal screen detection - cross platform, major ruby interpreters

  • tty-cursor

    Terminal cursor movement and manipulation of cursor properties such as visibility

  • rails-interactive

    The gem for setup rails development with interactive mode

    Project mention: The project creator for Rails 🎉 | dev.to | 2022-07-18

    Finally, we can say that Rails Interactive is ready to use 🎉 Fell free to give feedback to improve this package for the Rails community 🥳

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-24.

Ruby CLI related posts

Index

What are some of the best open-source CLI projects in Ruby? This list will help you:

Project Stars
1 colorls 4,282
2 TTY 2,411
3 twurl 1,726
4 Ruby/Progressbar 1,475
5 tty-prompt 1,351
6 dip 1,061
7 friends 831
8 Terjira 809
9 undercover 629
10 aws-recon 454
11 tty-command 380
12 tomo 335
13 pg-osc 296
14 dry-cli 270
15 Locale 233
16 tty-table 171
17 🦠 Kovid 104
18 retest 88
19 circleci-cli 86
20 tty-reader 82
21 tty-screen 78
22 tty-cursor 62
23 rails-interactive 29
Delete the most useless function ever: context switching.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
www.zigi.ai