An open API service indexing awesome lists of open source software.

https://github.com/0xravenspar/rusty-shell

Rusty-Shell is a lightweight, functional shell implemented in Rust, designed to explore system programming concepts and provide a minimal, extendable user experience.
https://github.com/0xravenspar/rusty-shell

cli rust shell system-programming terminal

Last synced: 3 months ago
JSON representation

Rusty-Shell is a lightweight, functional shell implemented in Rust, designed to explore system programming concepts and provide a minimal, extendable user experience.

Awesome Lists containing this project

README

        

# 🦀 Rust Shell

A simple and lightweight shell implemented in Rust. This project aims to explore system programming concepts and provide a functional, extendable shell built entirely in Rust. 🌟

---

## ✨ Features

- ⚡ **Basic shell functionality**: Execute commands, handle input/output redirection
- 🔗 **Command pipelining**: Connect multiple commands seamlessly
- 📂 **Built-in commands**: Includes `cd`, `exit`, and more
- 🖥️ **Minimal interface**: A clean and responsive user experience
- 🛠️ **Extendable design**: Ready for custom features and future enhancements

---

## 🚀 Getting Started

### Prerequisites

- **Rust** 🦀: Install Rust by following the instructions at [https://rustup.rs](https://rustup.rs).

### Build Instructions

1. **Clone the repository**:
```bash
git clone https://github.com/0xRavenspar/Rusty-Shell.git
cd Rusty-Shell
```

2. **Build the project**:
```bash
cargo build --release
```

3. **Run the shell**:
```bash
./target/release/rust-shell
```

---

## 🛠️ Usage

Once you have started the Rust Shell, you can execute commands just as you would in a typical shell. For example:

```bash
> ls -la
> echo "Hello, Rust!"
> cd ..
> exit
```

### Supported Features

- ✅ Execute system commands
- ✅ Use built-in commands like `cd` and `exit`
- ✅ Redirect input/output using `>` and `<`
- ✅ Combine commands with pipelines (`|`)

---

## 📜 License

This project is licensed under the MIT License. See the `LICENSE` file for more details.

---

## 🙏 Acknowledgements

- 🦀 Rust programming language and its incredible community
- 💡 The many contributors to open-source shell implementations for inspiration
- ❤️ Everyone who supports open-source projects!