Commit graph

2 commits

Author SHA1 Message Date
Kumi 621022dfb8
feat: add homepage and improve markdown processing
- Added an index route and template for the homepage
- Moved to a custom markdown processor to handle relative URLs
- Enhanced CSS for better layout structure and styling
- Improved the directory listing logic to support path filtering
- Updated endpoint to serve raw files from main branch
- Added comprehensive documentation strings to Git class methods

These changes improve user navigation and content display across the application.
2024-06-19 08:31:07 +02:00
Kumi 117997a5d9
feat: add initial project setup with Flask and Git integration
Introduce the initial project structure for gitcloak, a Python-based private frontend for GitHub repositories. Key changes include:

- Added .gitignore to exclude virtual environment, bytecode files, and cache directories.
- Added LICENSE file using the MIT License.
- Created a basic `pyproject.toml` with project metadata and dependencies.
- Implemented Flask-based application to render repository structure and file contents.
- Added `Git` class to handle interactions with remote GitHub repositories using Dulwich and requests.
- Included HTML template for displaying repo content.
- Created sample `test.py` for testing Git class methods.

This setup enables foundational project functionality and establishes a clear structure for further development.
2024-06-18 17:00:05 +02:00