mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-10-17 18:27:52 +00:00
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:
@@ -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:
|
||||

|
||||

|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user