This project was born after because I wanted to make the rusty-bunny tutorial to practice rust.
This is a bunnylol clone programmed in rust.
- Install Rust
- Clone rusty-bunny
git clone https://github.com/elamani-drawing/rusty-bunny
- Make sure you're using nightly
cargo --version
//else run: rustup default nightly
- Run the projet
cargo run
-
Visit localhost:8000
-
Use app from link: "http://localhost:8000/search?cmd=" or settings your client browser
To test out a command, type in http://localhost:8000/search?cmd= followed by your command.
The following commands are supported by rusty-bunny
:
- "tw" -> redirects to twitter.com
- "tw @username" -> redirects to twitter.com/username
- "gh" -> redirects to github.com
- "gh @username" -> redirects to github.com/username
- "gh @username/repo" -> redirects to github.com/username/repo
- "gh search" -> make a search in github
- ..for more commands see list commands Everything else redirects to a google search with your query.
Distributed under the MIT License. See LICENSE
for more information.