💾 Archived View for bbs.geminispace.org › u › istvan › 14471 captured on 2024-08-18 at 20:55:51. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 💎 istvan

Re: "Has anyone built a Gemini Fediverse server?"

In: s/Fediverse

Actually I meant set a link to your own avatar. Right now it looks like something randomly generated. But your response is a great idea too!

💎 istvan

Jan 29 · 7 months ago

12 Later Comments ↓

💎 istvan · 2024-02-18 at 01:58:

Hey dimkr, just installed update and see link to users avatar and header. Great! Is there any way tootik Settings could let a user specify a link to their own avatar/header? Would be nice for when Fediverse users are viewing accounts on Tootik.

😈 dimkr · 2024-02-18 at 06:44:

@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.

💎 istvan · 2024-02-18 at 09:56:

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?

😈 dimkr · 2024-02-18 at 12:24:

@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).

💎 istvan · 2024-02-18 at 12:36:

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.

😈 dimkr · 2024-02-18 at 13:19:

@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.

💎 istvan · 2024-02-18 at 13:21:

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.

😈 dimkr · Apr 22 at 07:11:

@istvan Forgot to update here - tootik now supports avatar upload over Titan

🐙 norayr · Apr 23 at 00:52:

great. do you plan to support image uploads for posts?

😈 dimkr · Apr 23 at 08:08:

@norayr As usual, the answer is 'currently no' 🫶

🎵 hedy · Apr 24 at 12:23:

@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?

😈 dimkr · Apr 24 at 17:39:

@hedy The Wikipedia page for box drawing characters, ctrl+c and ctrl+v ☺️

Original Post

🌒 s/Fediverse

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 · 8 months ago