Crates.io | shrs |
lib.rs | shrs |
version | 0.0.6 |
source | src |
created_at | 2023-06-03 09:12:07.488553 |
updated_at | 2024-06-01 04:53:15.515038 |
description | modular library to build your own shell in rust |
homepage | https://mrpicklepinosaur.github.io/shrs/ |
repository | https://github.com/MrPicklePinosaur/shrs |
max_upload_size | |
id | 881493 |
size | 70,475 |
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:
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:
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:
use shrs::prelude::*;
fn main() {
let myshell = ShellBuilder::default()
.build()
.unwrap();
myshell.run();
}
See the developer documentation for more in depth information.
If you encounter and bugs are have any feature requests, please don't hesitate to leave an issue! Also take a look at the section for contributors in the documentation.
List of cool 3rd part plugins and community built shells can be found in awesome_shrs. Some notable examples includes
shrs_insulter: port of bash insulter
shrs_openai: chatgpt for your shell
shrs_presence: show shrs on discord presence
shrs_sound: play sounds in your shell