Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MrPicklePinosaur/shrs
The rusty shell toolkit for hackers
https://github.com/MrPicklePinosaur/shrs
contributions-welcome posix posix-shell rust shell shrs unix
Last synced: about 1 month ago
JSON representation
The rusty shell toolkit for hackers
- Host: GitHub
- URL: https://github.com/MrPicklePinosaur/shrs
- Owner: MrPicklePinosaur
- License: apache-2.0
- Created: 2023-02-02T21:34:24.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T20:19:36.000Z (8 months ago)
- Last Synced: 2024-04-13T18:02:05.515Z (8 months ago)
- Topics: contributions-welcome, posix, posix-shell, rust, shell, shrs, unix
- Language: Rust
- Homepage: https://mrpicklepinosaur.github.io/shrs/
- Size: 3.65 MB
- Stars: 228
- Watchers: 2
- Forks: 20
- Open Issues: 109
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-rust-tools - shrs
README
The rusty shell toolkit for hackers
[![crates.io](https://img.shields.io/crates/v/shrs.svg)](https://crates.io/crates/shrs)
[![Doc](https://docs.rs/shrs/badge.svg)](https://docs.rs/shrs)
[![book](https://img.shields.io/badge/book-website-orange)](https://mrpicklepinosaur.github.io/shrs/docs/getting-started/introduction/)
[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](#)
[![Discord](https://img.shields.io/discord/1109393362626297856?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/XYeMseQrbM)## PROJECT GOALS
- **hackable**: almost every aspect of the shell should be easily customizable and extendable
- **developer friendly**: well documented and easy to contribute to
- **rusty**: implemented in and configurable in rust## FEATURES
DISCLAIMER: **shrs** is currently very much a work in progress, the API is subject to change frequently and things are prone to breaking. It currently may not be suitable for daily use, but is great for prototyping any experimental shell features you dream up with!
Here are what makes **shrs** special:
- Completely configurable in rust (including your prompt, completions and more!)
- Plugin system (community maintained plugins that add unique features)## GETTING STARTED
To get a taste of what **shrs** is capable of, without any configuration, you can run the example **shrs_example** shell that is bundled by running:
```sh
git clone https://github.com/MrPicklePinosaur/shrs.git
cd ./shrs/shrs_example
cargo run
```To get started with building your own shell, it's as easy as creating a new cargo project with:
```rust
use shrs::prelude::*;fn main() {
let myshell = ShellBuilder::default()
.build()
.unwrap();myshell.run();
}
```See the [developer documentation](https://mrpicklepinosaur.github.io/shrs/docs/getting-started/introduction/) for more in depth information.
## CONTRIBUTING
If you encounter and bugs are have any feature requests, please don't hesitate to [leave an issue](https://github.com/MrPicklePinosaur/shrs/issues)! Also take a look at the section for contributors in the [documentation](https://mrpicklepinosaur.github.io/shrs/docs/contributing/how-to-contribute/).
## COMMUNITY PLUGINS
List of cool 3rd part plugins and community built shells can be found in [awesome_shrs](https://github.com/MrPicklePinosaur/awesome_shrs). Some notable examples includes
- [shrs_insulter](https://github.com/nithinmuthukumar/shrs_insulter): port of [bash insulter](https://github.com/hkbakke/bash-insulter)
- [shrs_openai](https://github.com/MrPicklePinosaur/shrs_openai): chatgpt for your shell
- [shrs_presence](https://github.com/nithinmuthukumar/shrs_presence): show shrs on discord presence
- [shrs_sound](https://github.com/nithinmuthukumar/shrs_sound): play sounds in your shell