feat(imgproxy): load chat previews through our own image proxy #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/imgproxy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.dimgproxy, relayd routechat.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