All Projects → faraazahmad → Shellrb

faraazahmad / Shellrb

Licence: mit
A unix-like shell built in Ruby

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Shellrb

Tcl
The Tcl Core. (Mirror of core.tcl-lang.org)
Stars: ✭ 342 (+1325%)
Mutual labels:  cross-platform, unix
Cross Platform Node Guide
📗 How to write cross-platform Node.js code
Stars: ✭ 1,161 (+4737.5%)
Mutual labels:  cross-platform, unix
Kirc
A tiny IRC client written in POSIX C99.
Stars: ✭ 416 (+1633.33%)
Mutual labels:  cross-platform, unix
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (+1270.83%)
Mutual labels:  cross-platform, unix
Cross Env
🔀 Cross platform setting of environment scripts
Stars: ✭ 5,623 (+23329.17%)
Mutual labels:  cross-platform, unix
Azurite
A lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies
Stars: ✭ 810 (+3275%)
Mutual labels:  cross-platform
Leaf3d
A lightweight 3D rendering engine based on modern OpenGL
Stars: ✭ 16 (-33.33%)
Mutual labels:  cross-platform
Cicada
A bash-like Unix shell written in Rust
Stars: ✭ 807 (+3262.5%)
Mutual labels:  unix
Liteide
LiteIDE is a simple, open source, cross-platform Go IDE.
Stars: ✭ 6,657 (+27637.5%)
Mutual labels:  cross-platform
The Unix Workbench
🏡 A Book for Anyone to Get Started with Unix
Stars: ✭ 919 (+3729.17%)
Mutual labels:  unix
Slicergitsvnarchive
Multi-platform, free open source software for visualization and image computing.
Stars: ✭ 896 (+3633.33%)
Mutual labels:  cross-platform
Notlitecode
Remote Encrypted Procedure Calling for .Net & .Net Core
Stars: ✭ 16 (-33.33%)
Mutual labels:  cross-platform
Fluidsynth
Software synthesizer based on the SoundFont 2 specifications
Stars: ✭ 811 (+3279.17%)
Mutual labels:  cross-platform
Parcel
Cross-platform PowerShell package manager and provisioner
Stars: ✭ 17 (-29.17%)
Mutual labels:  cross-platform
Rmate
Remote TextMate 2 implemented as shell script
Stars: ✭ 807 (+3262.5%)
Mutual labels:  unix
Pty
PTY interface for Go
Stars: ✭ 902 (+3658.33%)
Mutual labels:  cross-platform
Mojoc
A cross-platform, open-source, pure C game engine for mobile game.
Stars: ✭ 799 (+3229.17%)
Mutual labels:  cross-platform
Node Cross Spawn
A cross platform solution to node's spawn and spawnSync
Stars: ✭ 831 (+3362.5%)
Mutual labels:  cross-platform
Nativexplatform
Akeeba Portable Tools (cross-platform) - Desktop utilities for use with Akeeba Backup and Akeeba Solo
Stars: ✭ 17 (-29.17%)
Mutual labels:  cross-platform
Sfml
Simple and Fast Multimedia Library
Stars: ✭ 7,316 (+30383.33%)
Mutual labels:  cross-platform

ShellRB - Unix shell commands using Ruby

ShellRB

Build Status Join the chat at https://gitter.im/shellrb/Lobby

ShellRB is a portable (Windows / Linux / macOS) implementation of Unix shell commands on top of the Ruby's modules. You can use it to eliminate your shell script's dependency on Unix, while still keeping its familiar and powerful commands.

Inspired from ShellJS/Shx.

Example

Here's a sneak peek at how it feels to use ShellRB:

[email protected]: /home/faraaz> ls
foo
bar
shellrb
...

[email protected]: /> cd home
[email protected]: /home> cd faraaz
[email protected]: /home/faraaz> pwd
/home/faraaz

Why ShellRB

I've been using Linux for my development environment ever since I jumped onto the open-source bandwagon. Often, I've wondered, what would people do if they really wanted to use a Bash-like shell on Windows without the hassle of firing-up a Linux-based OS VM.

Enter ShellRB. The goal is to build a Bash-like shell in Ruby that runs cross-platform, is easy to maintain (has tests for every feature), and is friendly to new contributors.

Installation

Prerequisites

  1. Make sure you have Ruby and Git installed (pretty obvious, right?).

On macOS, Ruby comes pre-installed, on Linux you can install it preferably using RVM, and on Windows, you may have to install Git and Ruby using their installers from here and here respectively.

  1. Once you have the above installed, you will also need to install the rake gem. You can install that using:
gem install rake

Install ShellRB

  1. Clone the repository using Git and cd into it:
git clone https://github.com/faraazahmad/shellrb.git
cd shellrb
  1. Install the required gems:
rake install

ShellRB is now installed. You can now run it using:

rake run

Updating the gems

To update the gems that ShellRB depends upon, just run:

rake update

Updating ShellRB

To get the latest build of ShellRB, (you may have guessed it), simply run:

rake upgrade

Contributing

Want to contribute to ShellRB? Great! You can find the contributing guidelines here.

Code of Conduct

We highly appreciate good behaviour and kind treatment of others. See our Code of Conduct.

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