Discover Packages
github.com/TeoMatosevic/github-projects-data
command
module
Version:
v0.0.0-...-57818a4
Opens a new window with list of versions in this module.
Published: Mar 31, 2025
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
github-data-aggregator
A simple Web API built with Go that aggregates data about my GitHub projects and stores the results in a SQLite database. This project is designed for personal use.
Overview
Data Aggregation: Gathers and compiles information from various GitHub projects.
Web API: Exposes endpoints to access the aggregated data.
SQLite Storage: Uses a lightweight SQLite database to store project data.
Go Implementation: Written in Go for robust performance and ease of deployment.
Prerequisites
Go 1.18 or later
Git
SQLite
Installation
Clone the repository:
git clone https://github.com/TeoMatosevic/github-data-aggregator.git
Navigate to the project directory:
cd github-data-aggregator
Build the application:
go build -o github-aggregator
Configuration
Database: The application uses a SQLite database (default file: data.db) to store aggregated data.
Environment Variables: Adjust API settings and database paths via environment variables if needed.
Running the Application
Start the API server:
./github-aggregator
Access the API:
The API will typically run on http://localhost:8080.
Use an API client or browser to explore available endpoints.
API Endpoints
Method
Endpoint
Description
GET
/api/v1/data
Retrieve aggregated data for all projects.
POST
/api/v1/repos
Sync data about repositores.
POST
/api/v1/urls
Sync data about repository contents.
License
This project is intended for personal use only. Feel free to modify and adapt the code for your own purposes.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.