Pagerite: single-user CMS/blog

FastAPI backend rendering HTML with html5tagger, content persisted in a
kanta database and rendered per request. Vue only for the editing tools
(page editor over a WebSocket, site/structure editor); public pages are
plain HTML with fetch navigation. No auth: single trusted author.
This commit is contained in:
2026-08-16 05:49:38 +00:00
commit 36b250a15c
38 changed files with 9085 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
[project]
name = "pagerite"
version = "0.1.0"
description = "A single-user CMS/blog: FastAPI + kanta, Vue only for editing tools"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"blake3>=1.0.9",
"fastapi-vue>=1.3.1",
"fastapi[standard]>=0.141.1",
"html5tagger>=2.0.0",
"kanta>=0.8.1",
"markdown-it-py>=4.2.0",
"mdit-py-plugins>=0.6.1",
"pygments>=2.20.0",
"tracerite>=2.6.4",
]
[project.scripts]
pagerite = "pagerite.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
packages = ["pagerite"]
artifacts = ["pagerite/frontend-build"]
only-packages = true
[tool.hatch.build.targets.sdist.hooks.custom]
path = "scripts/fastapi-vue/buildhook.py"
[dependency-groups]
dev = [
"httpx>=0.28.1",
]