A web application that converts GitHub repositories into well-formatted Markdown documentation, with an interactive UI for exploring repository contents.
https://github2markdown.onrender.com/
- Convert any GitHub repository into structured Markdown documentation
- Interactive file tree explorer
- Live file content preview with syntax highlighting
- Download complete repository documentation as Markdown
- Support for private repositories via GitHub Personal Access Tokens
- Handles binary files appropriately
- Frontend: Streamlit
- Backend: FastAPI
- Containerization: Docker & Docker Compose
- Python: 3.13+
-
Clone the repository
-
Set up environment variables:
# Create .env file in backend directory GITHUB_TOKEN=your_github_personal_access_token_here -
Run with Docker Compose:
docker-compose up --build
-
Access the application:
- Frontend: http://localhost:8501
- Backend API: http://localhost:8000
Project structure:
Github2Markdown/
├── backend/
│ ├── app/
│ │ ├── main.py # FastAPI application
│ │ └── models.py # Pydantic models
│ └── Dockerfile
├── frontend/
│ ├── app_streamlit.py # Streamlit UI
│ └── Dockerfile
└── docker-compose.yml
MIT License - See LICENSE file for details.
