This content originally appeared on DEV Community and was authored by King Triton
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:
- Clone the repository:
git clone https://github.com/king-tri-ton/github_trending_archive.git
cd github_trending_archive
- Install dependencies:
pip install -r requirements.txt
Configure settings:
Editconfig.py
to specify your API token and preferred programming languages.Run the application:
python app.py
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:
Future Plans
I plan to further develop this app based on your feedback. In the near future, I plan to:
- Trend Analysis with AI: Integrate with the OpenAI API for providing additional insights into trends.
- 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.
This content originally appeared on DEV Community and was authored by King Triton
King Triton | Sciencx (2024-08-19T14:10:36+00:00) GitHub Trending Archive: Your Personal GitHub Trends Archive. Retrieved from https://www.scien.cx/2024/08/19/github-trending-archive-your-personal-github-trends-archive/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.