Add read-only web UI
Serves Pete's classified-story archive over HTTP alongside the Matrix
bot. Three sections (gaming/tech/politics), Animal-Crossing-vibe Tailwind
templates, day/night palette driven by the visitor's browser clock.
Web port configurable via web.listen_addr and ${PETE_WEB_PORT} in
docker-compose. Tailwind built in a node stage in the Dockerfile so
deployments don't need node at runtime.
This commit is contained in:
13
package.json
Normal file
13
package.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "pete-web",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"description": "Tailwind build for Pete's web UI",
|
||||
"scripts": {
|
||||
"build:css": "tailwindcss -i internal/web/static/css/input.css -o internal/web/static/css/output.css --minify",
|
||||
"watch:css": "tailwindcss -i internal/web/static/css/input.css -o internal/web/static/css/output.css --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tailwindcss": "^3.4.13"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user