A very simple, lightweight, and fun command-line chatbot written in Rust! 🦀
This chatbot gets to know you, remembers your details, and chats with you right in your terminal.
- First Setup: It asks for your name, age, gender, location, favorite hobby, and favorite color.
- Remembers You: It saves your answers in a file named
config.txtso it never forgets! - Friendly Chat: It lets you talk to it! It can answer questions about you or tell you jokes.
Follow these simple steps:
Make sure you have Rust installed on your computer. If you don't, download and install it: rustup.rs (Click to Download)
- Open your Terminal (or Command Prompt) inside this project folder.
- Type this command and press Enter:
cargo run
- click Link demo That's it!!
Once the bot starts, try typing these words/phrases:
helloorhi— Greet your bothow are you— Ask how the bot is doingwho are you— Ask the bot's namemy locationorlocation— Ask the bot where you livemy hobbyorhobby— Ask the bot what you like to dofavorite color— Ask the bot what color you lovemy ageorage— Ask how old you arejoke— Get a programmer joke!help— Show all the things you can askexitorbye— Say goodbye and close the bot- You can easly add more