feat(imgproxy): load chat previews through our own image proxy #4

Merged
thelion merged 1 commit from feat/imgproxy into main 2026-10-26 20:10:13 +00:00
Owner

Image and YouTube-thumbnail previews in /chat now load from https://chat.ircforever.org/img?u=…, so the linked site sees our server instead of the visitor.

The proxy (imgproxy/, Go) is already deployed on irc.ircforever.org (rc.d imgproxy, relayd route chat.ircforever.org/img). It only fetches public addresses (checked at dial time, redirects included), only serves sniffed raster images (no HTML/SVG) up to 8 MB, only for ircforever.org pages (Referer), rate-limits per client, and caches on disk for a day. Tests cover each of those.

🤖 Generated with Claude Code

Image and YouTube-thumbnail previews in /chat now load from https://chat.ircforever.org/img?u=…, so the linked site sees our server instead of the visitor. The proxy (`imgproxy/`, Go) is already deployed on irc.ircforever.org (rc.d `imgproxy`, relayd route `chat.ircforever.org/img`). It only fetches public addresses (checked at dial time, redirects included), only serves sniffed raster images (no HTML/SVG) up to 8 MB, only for ircforever.org pages (Referer), rate-limits per client, and caches on disk for a day. Tests cover each of those. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(imgproxy): load chat previews through our own image proxy
All checks were successful
ci / ci (pull_request) Successful in 58s
dcd83fc214
Image and YouTube-thumbnail previews in /chat now come from
https://chat.ircforever.org/img?u=…, so the linked site sees the server
instead of the visitor. The proxy (imgproxy/, Go) only fetches public
addresses (checked at dial time, redirects included), only serves sniffed
raster images (no HTML/SVG) up to 8 MB, only for ircforever.org pages,
rate-limits per client, and caches on disk for a day.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
thelion deleted branch feat/imgproxy 2026-10-26 20:10:14 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ircforever/website!4
No description provided.