An awesome bot that enables you to post and translate crypto-related news on your Twitter account.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Being French, I was looking for crypto daily news and analytics on French Twitter accounts in my feed. However, except one or two news' sources, few accounts commented events on a daily basis as well as analyzed technical indicators. This is why I had an idea about a bot that scrapes and retrieves diverse data not only from several twitter accounts, but also from CryptoPanic. Aditionnally, the bot automatically translates the info in foreign languages using Deepl API.
Here's why:
- Your time should be focused on the most reliable and important news. A project that helps others being kept updated of this fast-paced crypto-world.
- You shouldn't be doing the same tasks over and over like (re)tweeting and translating news and analytics.
The bot is specifically tailored for my case (being French and chose my news' sources). I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue.
A list of commonly used resources that I found helpful.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Get a free API Key at Deepl
- Get a free API Key at CryptoPanic
- Get a free API Key at Twitter
- Clone the repository
git clone https://github.com/rom1trt/crypto-news-bot.git
- Install python packages (using pip)
pip install tweepy pip install pandas
- Enter the corresponding API in
config_example.py
CRYPTOPANIC_API_KEY = '...................................' DEEPL_AUTH_KEY = '........................................' TWITTER_API_KEY = '...................................' TWITTER_API_PRIVATE_KEY = '.........................................' TWITTER_ACCESS_TOKEN = '...................................................' TWITTER_ACCESS_TOKEN_SECRET = '.............................................'
- Rename the
config_example.py
toconfig.py
- Run/modify the
main.py
file or create a new script
You can also build thee dockerfile and make the program run in the background or on a virtual machine.
docker build . (name_of_file)
docker run (name_of_image or image_id)
Distributed under the MIT License. See LICENSE
for more information.