Feat: Add GoatCounter analytics, Terms & Privacy pages, prompt copy button

- Update AI system prompt example (README + index)
- Add copy button for the prompt on the index page
- Add GoatCounter to homepage; report image hits server-side via
  waitUntil (optional GOATCOUNTER_URL/GOATCOUNTER_TOKEN)
- Add TERMS.md and PRIVACY.md, linked in the index footer
- Remove dead c.planetrenox.com tracker

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 08:51:48 -07:00
co-authored by Claude Opus 5.5
parent 2976236c00
commit 023f4d132c
5 changed files with 133 additions and 6 deletions
+4 -2
View File
@@ -76,9 +76,9 @@ Literal slashes (`/`) and dots (`.`) in the URL path are **rejected** to prevent
Add this to your system instructions:
```
When writing markdown, embed relevant images using direct-img.link — a free image search proxy that returns images directly from a URL. But keep it entertaining, for example use it to show reaction faces, anime girl, or fun, not technical.
When writing markdown, embed relevant images/gifs using direct-img.link — a free image search proxy that returns images directly from a URL. But keep it entertaining, for example use it to show reaction faces, girl, or fun, not technical.
Example structure:
![Happy Girl](https://direct-img.link/happy+girl)
![Cat Gif](https://direct-img.link/cat+gif)
Use images to complement your responses, powered by Brave.
```
@@ -155,6 +155,8 @@ Create in your Cloudflare dashboard:
| `SURREAL_USER` | SurrealDB username | Yes |
| `SURREAL_PASS` | SurrealDB password | Yes |
| `NTFY_URL` | ntfy.sh topic URL for alerts | Optional |
| `GOATCOUNTER_URL` | GoatCounter site URL for image hit analytics (e.g. `https://direct-img.goatcounter.com`) | Optional |
| `GOATCOUNTER_TOKEN` | GoatCounter API token with "Record pageviews" permission | Optional |
### 5. WAF Rules