86
submitted 1 day ago* (last edited 1 day ago) by Mubelotix@jlai.lu to c/selfhosted@lemmy.world

(First blog post ever, would appreciate your input!)

Edit: Title was a lil clickbaity

you are viewing a single comment's thread
view the rest of the comments
[-] Mubelotix@jlai.lu 1 points 1 day ago* (last edited 1 day ago)

The very premise of Gemini FastAPI seems flawed to me, if it's trying to create a wrapper when Google clearly does not want that to exist. The challenges that you observed, such as the brittleness of IP allowlists, would suggest to me that the overall endeavor is going to be brittle, by Google's design.

I would indeed not recommend deploying the Gemini FastAPI project, it doesn't work very well. The authors were ambitious and decided to reverse engineer it. That's efficient and great, but it's also hard to get it working and as you guessed, it is brittle. What they should be doing in my opinion is just run an headless browser and either proxy its traffic or install an extension inside to send messages in the real website and record its responses.

However, I have plenty of other containers that also benefit having an outbound firewall, like Immich for instance, which only needs access to the public tiles server for the map.

this post was submitted on 10 May 2026
86 points (97.8% liked)

Selfhosted

59066 readers
912 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS