Skip to content

This project is a Python script that posts updates from your own GitHub repository to your Twitter account using the Tweepy and PyGithub libraries. It can be customized with your own tweet text, adjectives, emojis, and hashtags.

License

Notifications You must be signed in to change notification settings

GitProSolutions/Twitter-Bot-for-GitHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Twitter-GitHub Bot

A Python script that generates updates from your own GitHub repository and posts them to your Twitter account.

Table of Contents

Project Description

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.

How to Install and Run the Project

  1. Clone or download the project from the GitHub repository: https://github.com/GitProSolutions/Twitter-Bot-for-GitHub.git
  2. Install the required libraries using pip: pip install tweepy PyGithub
  3. Create a new Twitter Developer account and generate the required API keys and access tokens.
  4. Create a new GitHub Developer account and generate an access token.
  5. Open the TGBot.py file and replace the placeholders with your own Twitter and GitHub account information.
  6. Customize the tweet text, adjectives, emojis, and hashtags as desired.
  7. Run the script using TGBot.py or your preferred method.

How to Use the Project

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.

Credits

This project was created by GitProSolutions.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Badges

MIT License

About

This project is a Python script that posts updates from your own GitHub repository to your Twitter account using the Tweepy and PyGithub libraries. It can be customized with your own tweet text, adjectives, emojis, and hashtags.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages