Commit graph

6 commits

Author SHA1 Message Date
King Omar
9d3be71469 Frontend: SEO — sitemap, robots, meta, OG cards, SearchAction JSON-LD
- /sitemap.xml + /robots.txt (homepage indexable; /search + /api excluded)
- Full head meta: description, canonical, theme-color
- Open Graph + Twitter summary_large_image cards + /og.svg share image
- WebSite + SearchAction JSON-LD on the homepage (Google sitelinks search box)
- Search-result pages marked noindex,follow per Google guidance

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 19:49:51 +10:00
King Omar
d74af763b7 Frontend: add on-brand SVG favicon
Dark tile with white "R" + pink underscore (the RADICAL_SEARCH logo mark).
Served at /favicon.svg and /favicon.ico; linked from every page head.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 18:56:05 +10:00
King Omar
dda197bd83 Frontend: run search from root /?q= (redirect to /search?q=)
Visiting /?q=what showed the empty home page instead of results because
only /search executes a query. Root now redirects a q param to the
canonical results URL.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 18:44:55 +10:00
King Omar
83329d0d58 Add AI answer box: cited Claude RAG over the index
API: /answer retrieves top-6 from Meili and has Claude (haiku-4.5) synthesize
a 2-4 sentence cited answer over ONLY those sources (no hallucinated facts/URLs),
with a 1h in-memory cache. Frontend: async answer card above results with inline
[n] citations linking to sources — loads without blocking the results render.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 02:30:07 +10:00
King Omar
7e9eca6b0f Expose API via Cloudflare Tunnel over HTTPS/443
A deployed Worker's fetch() cannot reach the API on :3000, so publish it at
https://search-api.theradicalparty.com through a Cloudflare Tunnel. Point the
frontend API_URL at HTTPS/443, add cloudflared install to install-vm.sh
(driven by CLOUDFLARED_TOKEN), thread the token through deploy.sh, and add
docs/DEPLOY.md with the full tunnel + DNS setup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 01:56:38 +10:00
King Omar
b3aea18d9c Initial commit: RADICAL_SEARCH self-hosted web search engine
Crawler (Majestic Million → undici → cheerio → Meilisearch), Hono search
API with P2P peer federation, Cloudflare Worker frontend, VM provisioning
scripts. Adds README, .gitignore, and moves VM credentials out of deploy.sh
into a git-ignored deploy.env.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 01:52:31 +10:00