Initial aishare service

This commit is contained in:
Codex
2026-07-06 11:25:57 +00:00
commit e051b568ab
23 changed files with 5615 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
# AI Share
`aishare` captures public ChatGPT shared conversations and publishes immutable read-only snapshots at `https://xcel.me/aishare/<slug>`.
V1 scope:
- accepts only public `https://chatgpt.com/share/...` and `https://chat.openai.com/share/...` URLs
- admin-only capture/delete UI at `/aishare/admin`
- public reader pages generated as static artifacts under `/data/html/<slug>`
- screenshots under `/data/screenshots/<slug>`
- SQLite state in `/data/aishare.db`
- Docker Compose deployment with Playwright Chromium and multilingual Noto fonts
## Local Development
Do not install Node dependencies on the host. Use Docker:
```bash
cp .env.example .env
docker compose up --build -d
```
Open:
- admin: `http://127.0.0.1:8088/aishare/admin`
- public snapshots: `http://127.0.0.1:8088/aishare/<slug>`
## Git Remote
```bash
git remote add origin gitea:cabbage/aishare.git
```
## Deploy
See [docs/deploy-titan.md](docs/deploy-titan.md).