https://github.com/luigiimvector/freeprogrammingbooks-bot
Unofficial Telegram bot for EbookFoundation/free-programming-books.
https://github.com/luigiimvector/freeprogrammingbooks-bot
opensource python telegram telegram-bot
Last synced: 3 months ago
JSON representation
Unofficial Telegram bot for EbookFoundation/free-programming-books.
- Host: GitHub
- URL: https://github.com/luigiimvector/freeprogrammingbooks-bot
- Owner: LuigiImVector
- License: cc-by-4.0
- Created: 2021-11-20T14:51:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T18:14:21.000Z (over 2 years ago)
- Last Synced: 2025-01-15T13:12:02.558Z (5 months ago)
- Topics: opensource, python, telegram, telegram-bot
- Language: Python
- Homepage: https://t.me/freeprogrammingbooks_bot
- Size: 582 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Free programming books: Telegram bot
[](https://creativecommons.org/licenses/by/4.0/)
## Description
Un-official Telegram bot of [free-programming-books](https://github.com/EbookFoundation/free-programming-books/).
[](https://t.me/freeprogrammingbooks_bot)
## Contributing
#### Self-hosting
1. Fork this repository
2. ```sh
$ git clone https://github.com/YourUsername/freeprogrammingbooks-bot.git
$ cd freeprogrammingbooks-bot
$ git remote add upstream https://github.com/LuigiImVector/freeprogrammingbooks-bot.git
$ git fetch upstream
$ git checkout -b newLocalBranchName upstream/main
```3. Deploy app using [Heroku](https://heroku.com/deploy?template=https://github.com/LuigiImVector/freeprogrammingbooks-bot)
4. ```sh
$ npm install -g heroku
$ heroku login
$ heroku pg:psql --app app-name < test/database.sql
$ pip install -r requirements.txt
```5. Setup autodeploy from github using `newLocalBranchName`
6. ```sh
# After some changes
$ git push -u origin newOriginBranchName
```7. Open `https://app-name.herokuapp.com/` if the bot doesn't start (mainly the first time)
If you want to test the app locally before committing, read [Heroku documentation](https://devcenter.heroku.com/articles/heroku-local).
#### Improve code
Create a Pull Request detailing the changes made.