Skip to content

Web interface to turn codebases into prompt-friendly text

License

Notifications You must be signed in to change notification settings

fxchen/gitdigest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 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: [email protected]
  • 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

Web interface to turn codebases into prompt-friendly text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.6%
  • Python 39.4%