Skip to content

Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase

License

Notifications You must be signed in to change notification settings

soi-20/gitingest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

GitDigest 🔍

Turn any GitHub repository into a prompt-friendly text digest for LLMs.

Live demo

🚀 Features

  • One-Click Analysis: Simply paste a GitHub repository URL and get instant results
  • Smart Formatting: Optimized output format for LLM prompts
  • Statistics about: :
    • File and directory structure
    • Token counts and statistics
    • Repository summary
  • Web Interface: Clean, responsive UI built with Tailwind CSS

🛠️ Tech Stack

📦 Installation

  1. Clone the repository:
git clone https://github.com/yourusername/gitdigest.git
cd gitdigest
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
# Create .env file
touch .env

# Add your API analytics key
echo "API_ANALYTICS_KEY=your_key_here" >> .env
  1. Run the application:
cd src
uvicorn main:app --reload

The application will be available at http://localhost:8000

🔒 WIP

  • Feedback/suggestions: Please open a github Issue or mail me: romain@coderamp.io
  • Repository cloning is limited to GitHub repositories only
  • Processing timeouts are implemented (10s for cloning, 15s for processing)
  • Request size limits are in place to prevent abuse

About

Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.2%
  • Jinja 23.6%
  • JavaScript 7.4%
  • Dockerfile 0.8%