Kumi
5f710d8a31
Set up initial project structure and dependencies for Ducks for Ducks proxy service. - Added .gitignore to exclude virtual environments, __pycache__, and build directories. - Included MIT License for the project. - Created README.md for project documentation. - Configured pyproject.toml to use Hatchling as build system, specified project metadata and dependencies. - Implemented Flask app for proxying GeeksforGeeks articles: - Routes to serve static files, index page, proxy images, and render articles. - Function to fetch and clean article content. - Added custom CSS for styling differences between internal and external links. - Included Bootstrap CSS for base styling. - Created HTML templates for base layout, index, and article pages. This change sets up the core functionality of proxying GeeksforGeeks content through the Flask application.
26 lines
816 B
TOML
26 lines
816 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "ducksforducks"
|
|
version = "0.1.0"
|
|
authors = [{ name = "Private.coffee Team", email = "support@private.coffee" }]
|
|
description = "A simple frontend for GeeksforGeeks"
|
|
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"]
|
|
|
|
[project.scripts]
|
|
ducksforducks = "ducksforducks.app:main"
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.private.coffee/privatecoffee/ducksforducks"
|
|
"Bug Tracker" = "https://git.private.coffee/privatecoffee/ducksforducks/issues"
|
|
"Source Code" = "https://git.private.coffee/privatecoffee/ducksforducks"
|