GithubHelp home page GithubHelp logo

alidehkhodaei / trending-repositories Goto Github PK

View Code? Open in Web Editor NEW
44.0 3.0 3.0 231 KB

:octocat: A bot that automatically fetches trending repositories and sends them to a channel

Home Page: https://t.me/github_trending_channel

License: MIT License

Kotlin 100.00%
bot github kotlin trending-repositories telegram telegram-api telegram-bot repository trend trends

trending-repositories's Introduction

Trending Repositories

Badge Badge Badge Badge Badge Badge Badge Badge Badge Badge Badge

Banner

Overview

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! ๐Ÿš€

โš ๏ธ Because the current character limit for messages on Telegram is 4096, I can't show all the trending repos in the channel. Therefore, I've removed some repos.

Running the Project

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.

โš ๏ธ This command works for me on Windows. If you're using Linux or macOS, please modify it accordingly for your platform if needed.

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:

  1. Open intellij idea and navigate to the "Edit Configurations" settings.
  2. In the "Program arguments" field, input your Telegram bot token.
  3. Save the configuration settings.
  4. Click the green "Run" button provided by the IDE.

Credits

Contributing

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.

License

This repository is licensed under the MIT License.

trending-repositories's People

Contributors

alidehkhodaei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trending-repositories's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.