https://github.com/u-c4n/githubtollm
This React application allows users to enter their GitHub token and repository URL to generate a comprehensive Markdown file structure. Each file’s code is listed sequentially, facilitating seamless copying for LLM integration. Enhance your development workflow with this efficient tool!
https://github.com/u-c4n/githubtollm
github-api llm-integration markdown open-source react
Last synced: about 1 month ago
JSON representation
This React application allows users to enter their GitHub token and repository URL to generate a comprehensive Markdown file structure. Each file’s code is listed sequentially, facilitating seamless copying for LLM integration. Enhance your development workflow with this efficient tool!
- Host: GitHub
- URL: https://github.com/u-c4n/githubtollm
- Owner: U-C4N
- Created: 2024-10-13T18:45:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-02T10:39:31.000Z (about 1 year ago)
- Last Synced: 2025-09-02T11:50:07.985Z (7 months ago)
- Topics: github-api, llm-integration, markdown, open-source, react
- Language: HTML
- Homepage:
- Size: 2.54 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF to Markdown Token Counter
A sophisticated Python web application for extracting, analyzing, and rendering GitHub repository content with advanced multi-model token counting capabilities.
## Features
- Real-time repository content analysis
- Comprehensive token counting and cost estimation
- Support for multiple AI model pricing:
- o1 ($15.00 per 1M input tokens)
- o1-mini ($3.00 per 1M input tokens)
- Claude 3.5 Sonnet ($3.00 per 1M input tokens)
- GPT-4o ($2.50 per 1M input tokens)
- Gemini 1.5 Pro ($1.25 per 1M input tokens)
- Gemini 1.5 Flash ($0.075 per 1M input tokens)
- Clean markdown output with file structure
- Color-coded pricing display
- Easy-to-use web interface
## Installation
1. Clone the repository:
```bash
git clone https://github.com/U-C4N/pdftomarkdown.git
cd pdftomarkdown
```
2. Install dependencies:
```bash
pip install flask gitpython
```
3. Run the application:
```bash
python app.py
```
## Usage
1. Open your web browser and navigate to `http://localhost:5000`
2. Enter a GitHub repository URL
3. Click "Clone Repository" to analyze
4. View the generated markdown and token costs
## Technology Stack
- Python 3.x
- Flask
- GitPython
- JavaScript
- HTML/CSS
## Author
## License
This project is licensed under the MIT License - see the LICENSE file for details.