gitcloak/pyproject.toml
Kumi 894b6f8c52
feat: add file preview and improve project structure
- 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.
2024-06-19 09:23:45 +02:00

26 lines
760 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "gitcloak"
version = "0.0.1"
authors = [{ name = "Private.coffee Team", email = "support@private.coffee" }]
description = "Simple Python-based private frontend for GitHub repositories"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = ["requests", "flask", "markdown2[all]"]
[project.scripts]
gitcloak = "gitcloak.app:main"
[project.urls]
"Homepage" = "https://git.private.coffee/PrivateCoffee/gitcloak"
"Bug Tracker" = "https://git.private.coffee/PrivateCoffee/gitcloak/issues"