42 lines
1.3 KiB
Markdown
42 lines
1.3 KiB
Markdown
# AI Share
|
|
|
|
`aishare` captures public ChatGPT shared conversations and publishes immutable read-only snapshots under a configurable base path.
|
|
|
|
V1 scope:
|
|
|
|
- accepts only public `https://chatgpt.com/share/...` and `https://chat.openai.com/share/...` URLs
|
|
- admin-only capture/delete UI at `${AISHARE_BASE_PATH}/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
|
|
- relative reader/admin links so the same origin can be proxied from different hostnames and path prefixes
|
|
|
|
## 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>`
|
|
|
|
Set `AISHARE_BASE_PATH=/` to serve at the domain root, or a path such as `/services/aishare` to serve directly under a different prefix.
|
|
|
|
## Git Remote
|
|
|
|
```bash
|
|
git remote add origin gitea:cabbage/aishare.git
|
|
```
|
|
|
|
## Deploy
|
|
|
|
See [docs/deploy-titan.md](docs/deploy-titan.md).
|
|
|
|
For small servers that should only proxy to an existing AI Share origin, see [proxy/README.md](proxy/README.md).
|