A Python script that generates updates from your own GitHub repository and posts them to your Twitter account.
- Project Description
- How to Install and Run the Project
- How to Use the Project
- Credits
- License
- Badges
This Python script uses the Tweepy and PyGithub libraries to authenticate with your Twitter and GitHub accounts, and then searches for the latest commit made in your GitHub repository. It generates a tweet from the latest commit information and posts it to your Twitter account. You can customize the tweet text, adjectives, emojis, and hashtags to your liking.
- Clone or download the project from the GitHub repository:
https://github.com/GitProSolutions/Twitter-Bot-for-GitHub.git
- Install the required libraries using pip:
pip install tweepy PyGithub
- Create a new Twitter Developer account and generate the required API keys and access tokens.
- Create a new GitHub Developer account and generate an access token.
- Open the
TGBot.py
file and replace the placeholders with your own Twitter and GitHub account information. - Customize the tweet text, adjectives, emojis, and hashtags as desired.
- Run the script using
TGBot.py
or your preferred method.
This project is intended for developers who want to automatically post updates from their GitHub repository to their Twitter account. It can be customized with your own tweet text, adjectives, emojis, and hashtags.
This project was created by GitProSolutions.
This project is licensed under the MIT License - see the LICENSE file for details.