DEV Community

Cover image for GitHub Trending Archive: Your Personal GitHub Trends Archive
King Triton
King Triton

Posted on • Edited on

GitHub Trending Archive: Your Personal GitHub Trends Archive

In the world of programming, staying updated on the latest trends and popular projects on GitHub is crucial. For developers who want to stay on top of current technologies and tools, I am excited to introduce GitHub Trending Archive — an application that simplifies this process. The project is already available on GitHub, and you can download and test it to see how it works.

What is GitHub Trending Archive?

GitHub Trending Archive is a powerful application that collects data about the most popular repositories on GitHub daily and stores it in a database. This allows users to track changes in trends for selected programming languages such as Python, PHP, and JavaScript.

How Does It Work?

The application consists of several key components:

  • app.py: The main script that launches the Flask application and the system tray icon. It also manages daily data parsing.
  • config.py: Configuration file for setting up API tokens and choosing programming languages.
  • database.py: Module for interacting with the SQLite database, including table creation and data insertion.
  • scraper.py: Script for scraping trend data from GitHub.
  • webapp.py: Flask application for visualizing trends through a web interface.

Installation and Setup

The setup process is straightforward:

  1. Clone the repository:
   git clone https://github.com/king-tri-ton/github_trending_archive.git
   cd github_trending_archive
Enter fullscreen mode Exit fullscreen mode
  1. Install dependencies:
   pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode
  1. Configure settings:
    Edit config.py to specify your API token and preferred programming languages.

  2. Run the application:

   python app.py
Enter fullscreen mode Exit fullscreen mode

Interface and Usage

Once the application is running, you’ll have access to several useful features:

  • System Tray: Right-click the icon in the system tray to open or close the application.
  • Web Interface: Open your browser and go to http://127.0.0.1:5000 to view available trends.

Visual Overview

To get a better idea of how the web application looks, check out these screenshots:

  1. Home Page
  2. Trands Page 1
  3. Trands Page 3

Future Plans

I plan to further develop this app based on your feedback. In the near future, I plan to:

  1. Trend Analysis with AI: Integrate with the OpenAI API for providing additional insights into trends.
  2. Installer with Configuration Wizard: Create an installer with a graphical configuration tool to simplify app setup for users.

Note

I came across an interesting project called GitHub Trending Archive but couldn't get it running on my Windows. I liked the project’s website (archive), and after some thought, I decided to create a similar project entirely in Python. I think it turned out great. Thanks to @frodeaa for the inspiration!

Conclusion

GitHub Trending Archive is a convenient tool for tracking changes in popular trends on GitHub. This application is perfect for developers who want to stay updated on the latest technologies and projects. If you have any questions or suggestions, feel free to contact me via telegram.

Top comments (0)