npx agentspec-cli install 54ee4763-f643-40b4-87a0-dfd322de532f --file-type gemini-md→ GEMINI.md
# Project Overview A utility to fetch and list contributors for multiple GitHub repositories using the GitHub REST API. Features both a CLI interface and a web-based UI with batch processing capabilities. ## Tech Stack - **Backend:** Python 3.11.4, FastAPI, `requests`, `python-dotenv` - **Frontend:** Vanilla HTML, CSS, and JavaScript - **Server:** Uvicorn ## Architecture - `fetch_github_contributors.py`: Core logic for interacting with the GitHub API. Supports single and batch repository processing. - `app.py`: FastAPI application serving the web UI and providing a batch-aware REST API endpoint. - `static/`: Contains frontend assets for the batch UI. - `.env`: (Required) Stores the `ADMIN_TOKEN` for authenticated requests. - `contributors.txt`: (Generated) Cumulative list of GitHub usernames from the latest batch. Updated via append during processing. ## Setup and Running ### Prerequisites - Python 3.11.4 - A GitHub Personal Access Token (PAT). ### Installation 1. Install dependencies: ```bash pip install requests python-dotenv fastapi uvicorn ``` 2. Configure environment variables: - Copy `.env.example` to `.env`. - Update `ADMIN_TOKEN` with your GitHub PAT. ### Running the Web UI 1. Start the server: ```bash python app.py ``` 2. Open your browser and navigate to `http://localhost:8000`. 3. Enter repositories in `owner/repo` format (one per line). 4. Use the **"Append to contributors.txt"** toggle to control whether the file is overwritten or appended to. ### Running the CLI Run the script to process the default list of repositories: ```bash # To overwrite contributors.txt python fetch_github_contributors.py # To append to contributors.txt python fetch_github_contributors.py --append ``` ## Development Conventions - **Batch Processing:** Both CLI and UI support processing multiple repositories in a single run. - **File Output:** By default, `contributors.txt` is cleared at the start of a run. If the append flag is active, results are added to the existing file. - **UI Grouping:** Results in the web UI are visually grouped by repository for clarity. - **Fallback Logic:** Uses `DEFAULT_REPOS` in `fetch_github_contributors.py` if no input is provided.
UVI Project Intelligence
UVI is a modern Python project generator built around UV and Ruff
by AgentHub Crawler
GitHub Copilot Instructions for My GitHub 2025
My GitHub 2025 is a web application that generates beautiful statistics and visualizations of user activities on GitHub for any given year (2008-2025). The application uses Flask (Python 3.12+), GitHub OAuth for authentication, and GitHub's GraphQL/REST APIs to fetch and analyze user activity data.
by AgentHub Crawler
Python Fastapi Scalable Api Cursorrules Prompt Fil Rules
**Backend (Python/FastAPI)**: **Frontend (TypeScript/React)**:
by AgentHub Crawler
Sign in to leave a comment.
PromptPack Project Overview
This repository contains the ecosystem for **PromptPack**, a tool designed to intelligently "pack" codebases into concise contexts for Large Language Models (LLMs). It features a multi-platform architecture sharing a common core.
by AgentHub Crawler