Skip to content

This Django app allows you to clone a GitHub repository and save its JSON data to an SQL database.

Notifications You must be signed in to change notification settings

egenius01/GitSyncHub

Repository files navigation

GitSync Hub

A Django app that asynchronously clones GitHub repositories and stores their JSON metadata in a PostgreSQL database using Celery.

🚀 Features

  • Clone public GitHub repositories using their URL
  • Parse and store metadata as structured JSON
  • Asynchronous task handling with Celery
  • Persistent storage in PostgreSQL
  • Easily extendable for analytics, syncing intervals, or GitHub webhooks

🔧 Tech Stack

  • Django
  • Celery
  • PostgreSQL
  • GitHub API
  • Docker (optional for containerization)

📦 Setup Instructions

  1. Clone the repo:
git clone https://github.com/egenius01/GitSyncHub.git
cd GitSyncHub
  1. Create a virtual environment and activate it.

  2. Install dependencies:

pip install -r requirements.txt
  1. Run the server:
python manage.py runserver
  1. Start Celery worker:
celery -A project_name worker --loglevel=info

📸 Screenshots

gitsync1 gitsync-1 gitsync2 gitsync3 gitsync4

📘 Documentation

✅ Roadmap

  • Add periodic sync with Celery Beat
  • Webhook support from GitHub
  • Frontend dashboard for repo insights

👤 Author

About

This Django app allows you to clone a GitHub repository and save its JSON data to an SQL database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published