💾 Archived View for bbs.geminispace.org › u › dimkr › 15107 captured on 2024-07-09 at 05:33:33. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-06-16)
-=-=-=-=-=-=-
Re: "Has anyone built a Gemini Fediverse server?"
@istvan Right now - no. This would require hosting the images (so tooik can serve them, instead of linking to another domain) and having some means of upload (Titan?). It can be done, but I'd like to finish other "core" things (like followers synchronization) first.
Feb 18 · 5 months ago
Doesn't the activitypub [icon] field allow specification of any URL? Don't think there is technically any prohibition on remote media. I thought it's just icon{url, type, mediaType}. Should it be same as updating your bio or display name?
@istvan Yes, it's a URL, and changing this field is a super simple query. But it would be best not to use an external URL and serve it from the same host. It takes more time to fetch an external resource (second DNS lookup + HTTP request), this URL can break or the user can use this for malicious purposes (like publishing spam and exploiting CVE-2023-4863 when users view spammy posts).
Could fetch the remote image and store locally, but I can see where that opens a new problem of serving and managing attachments that tootik doesn’t currently need to deal with.
On the other hand, profiles get cached by most servers and many like Mastodon/Pleroma/MissKey save the image to local cache for n days for their users, so the occasional remote image fetch probably is not such a hit in the grand Fediverse scheme.
@istvan I agree. I can fetch the image from a URL or implement image upload (though Titan or some other protocol) with some dimensions+size limit, then optimize+convert the image. The biggest work item is the upload thing.
For now I just manually edited the db to add the necessary fields to my user, then updated username via gemini interface to trigger a fetch among followers’ servers.
Seems to work fine.
@istvan Forgot to update here - tootik now supports avatar upload over Titan
great. do you plan to support image uploads for posts?
@norayr As usual, the answer is 'currently no' 🫶
@dimkr this looks wonderful, and I really like that you've included a detailed code architecture breakdown! what did you use to make those diagrams?
@hedy The Wikipedia page for box drawing characters, ctrl+c and ctrl+v ☺️
Has anyone built a Gemini Fediverse server? — I just discovered Gemini today, and it is a fascinating approach to the Internet. One possibility that seems interesting is to build a Fediverse server with a Gemini front-end. It would have the following properties: Identity would be a Gemini certificate. The identity would be communicated in ActivePub as a hash/fingerprint of the public key. For example as @uyzwisfenxq3ydha@gemini.social Posts would be just Gemini input (10) requests with all the...
💬 Éamonn · 22 comments · 7 likes · 2023-12-31 · 6 months ago