Initial aishare service
This commit is contained in:
@@ -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).
|
||||
Reference in New Issue
Block a user