https://github.com/tcelestino/uses-this-bot
telegram bot to show the last interviews on http://usesthis.com
https://github.com/tcelestino/uses-this-bot
bot telegram-bot uses-this
Last synced: 12 months ago
JSON representation
telegram bot to show the last interviews on http://usesthis.com
- Host: GitHub
- URL: https://github.com/tcelestino/uses-this-bot
- Owner: tcelestino
- License: mit
- Created: 2018-11-22T17:27:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T20:06:43.000Z (over 5 years ago)
- Last Synced: 2025-01-15T05:09:30.318Z (over 1 year ago)
- Topics: bot, telegram-bot, uses-this
- Language: JavaScript
- Homepage: http://t.me/UsesThisBot
- Size: 232 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Uses This Bot
> Telegram bot to list the interviews published on [usesthis.com](https://usesthis.com) website.
Use it: http://t.me/UsesThisBot
## How to use
At moment, you can use the commands:
- last - show the last interview
- latest - show the five latest interviews
## Development
- [yarn](https://yarnpkg.com/)
- [now](https://zeit.co/home)
- [ngrok](https://ngrok.com/)
Clone project `git@github.com:tcelestino/uses-this-bot.git`
`cd uses-this-bot`;
You need create a bot on Telegram. [Read it how to do it](https://core.telegram.org/bots).
## Environment
Rename `.env.example` file `.env` and set enviroments:
| Variable | Description | Value |
|----------|-------------|-------------|
| **TELEGRAM_TOKEN** | set Telegram bot Token | |
| **USESTHIS_JSON** | url to use this website | https://usesthis.com/feed.json |
| **DOMAIN** | ngrok url (development mode) | |
| **SERVER_PORT** | set local server port| 3000 |
| **NODE_ENV** | set environment | dev |
## Running project
`yarn && yarn dev`
### Set ngrok tunnel
Download [ngrok](https://ngrok.com/) (it's free, but limited). After that, start using `./ngrok http YOUR_SERVER_PORT`
## Contributing
See backlog in https://github.com/tcelestino/uses-this-bot/projects/1
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Credits
[@tcelestino](https:/github.com/tcelestino)
Feed data provided by [usesthis.com](https://usesthis.com)
## License
The MIT License (MIT)