Lantern-chat / server

Lantern Server Backend
Other
12 stars 0 forks source link

Use edge functions for oEmbed fetching #16

Closed novacrazy closed 1 year ago

novacrazy commented 2 years ago

Fetching oEmbed metadata for message embeds reveals the server's IP address and so forth. It would be nice to use some kind of serverless edge function to fetch those instead, possibly something in Cloudflare's network.

novacrazy commented 1 year ago

As it turns out, many sites have outright blocked cloudflare workers from accessing HTML pages, due to DDoS abuse in the past. Therefore, it's just not an option anymore.

I have converted my existing worker over to a standalone microservice to use on a random VPS or similar.