I have created a bot that does two things. First, it collects trending repositories from GitHub and sends them to a channel.
The details of the repositories, such as their names, star counts, forks, etc., are also provided. Second, I display a chart based on the programming languages used
in these trending repositories. Every day, my code runs using GitHub actions
and automatically sends the content in the channel.
This is the link to the channel: t.me/github_trending_channel
Happy coding and stay updated with the latest trending repositories! ๐
4096
, I can't show all the trending repos in the channel. Therefore, I've removed some repos.
To run the project, first, get your Telegram bot token. Then, in your project folder, run this command:
./gradlew run --args=botToken
Replace botToken
with your actual Telegram bot token.
For more details, please refer to the Telegram api documentation.
An alternate approach to run the project involves utilizing program arguments through the "Edit Configuration" feature. If you've acquired your Telegram bot token, you can insert it as an argument following these steps:
- Open intellij idea and navigate to the "Edit Configurations" settings.
- In the "Program arguments" field, input your Telegram bot token.
- Save the configuration settings.
- Click the green "Run" button provided by the IDE.
Contributions to the Trending Repositories repo are welcome! If you encounter issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This repository is licensed under the MIT License.