Swapped out `requests` for `dulwich` in dependencies to better handle Git repository interactions. This change ensures more efficient and specialized Git operations within the project. No changes to functionality expected.
Updated the version from 0.0.1 to 0.0.2 to reflect recent changes
and improvements in the project. This version increment is a
preparatory step for the upcoming release.
- Added file preview functionality, enabling users to view images, text, and markdown files directly within the app.
- Updated project metadata: changed author to "Private.coffee Team" and updated URLs.
- Introduced a main function to allow customizable host and port via environment variables.
- Enhanced raw file serving with MIME type checks and content disposition for better file handling.
- Fixed URL formats in templates for consistent navigation.
These improvements enhance usability and maintainability, providing a richer user experience and preparing for future enhancements.
- Updated dependencies to include all optional Markdown2 extensions
- Improved file content handling to better support non-UTF-8 encodings
- Refined CSS styling for better readability and consistency
- Added new folder and file icons for directory listings
- Modified template paths for consistent asset loading
- Allowed navigation to parent directories in the file viewer
These changes enhance user experience by improving file handling, visual consistency, and navigation within the directory structure.
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.