forked from PrivateCoffee/small
Kumi
675f5195fe
Add initial project structure for Small, a clean frontend for reading Medium articles. This setup includes: - Basic Flask app configuration with necessary dependencies. - RESTful endpoint to fetch and serve Medium articles. - Templates and static assets for the user interface. - Utility functions for parsing Medium article IDs. - Custom error pages (404 and 500) for nicer error handling. - Project metadata files such as .gitignore, README, LICENSE, and pyproject.toml for project setup and documentation. This structure sets the foundation for further development and feature additions.
26 lines
773 B
TOML
26 lines
773 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "small"
|
|
version = "0.1.0"
|
|
authors = [{ name = "Private.coffee Team", email = "support@private.coffee" }]
|
|
description = "A simple frontend for Medium"
|
|
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 = ["flask", "bs4", "requests"]
|
|
|
|
[project.scripts]
|
|
small = "small.app:main"
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.private.coffee/privatecoffee/small"
|
|
"Bug Tracker" = "https://git.private.coffee/privatecoffee/small/issues"
|
|
"Source Code" = "https://git.private.coffee/privatecoffee/small"
|