A Telegram Bot that recommends books of a chosen genre and sends random quotes according to the user's mood.
Nowadays, many people would rather look at memes on instagram than take the time to sit down and enjoy a good read. Perhaps in a few years, human librarians will no longer exist, as everything will be fully automated. As a friendly reminder for children and adults, the librarian bot is the ideal synthesis between modern technologies and old habits that should not be lost.
Watch a video demo HERE
- Ruby
- telegram-bot-ruby gem
- Telegram's BotFather
- RSpec
To get a local copy up and running follow these simple steps.
- Terminal
- Ruby Install
- RSpec Install
- An account on Telegram. You can use either the mobile or desktop app.
- Click on the "code" button above in this page and copy the link of the repository
- Open a terminal (CTRL + ALT + T), type
git clone
and paste the link you copied in the previous step, then hit Enter - Go to the cloned repository using
cd
command
- Run
bundle install
to install the required gems in your computer - From within the directory of the project, type
fritz
to run the exectuable file and hit Enter
- Go to the Telegram app and search for fritz_librarian_bot
- Click on the Start button or type
/start
to initialize the bot. - Type
/book
to get a recommendation of a book. You can choose from the genres listed: Novel, Philosophy, Poetry, Theatre, Science or Children - Type
/quote
to get a random quote according to your mood - Type
/help
to see the list of available commands - Use CTRL + C in your terminal to stop the bot
From the root folder, run rspec
to run the tests
👤 Alicia Paz Rojas
- GitHub: @aliciapaz
- Twitter: @_alicia_paz
- LinkedIn: Alicia Rojas
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.