An open API service indexing awesome lists of open source software.

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

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)