Follow

"Station" is a very good service ! It's a little social network application developed and hosted by Martin and dedicated to Gemini protocol. A very good evolution would be to federate several instances, not connected to the Fediverse which permits to many things not compatible with Gemini protocol. But a federation of "stations" could be very cool !

gemini://station.martinrue.com

@jk
Is there a specification which blocks Gemini input to one line ? Would it be possible to have a textarea to input several lines of text (controlling 1024 max length of generated url) on 10 header ? I think that \n is url encodable ?
For some application, like martin's station, it should be fine (or maybe it would break its application 🤔 )

@adele Hmmm, I know how to generate certificates with openssl but how do I tell #Lagrange to use one to connect?

An idea, @jk ?

@bortzmeyer @adele OpenSSL-generated certs can be imported to Lagrange using the Import Identity dialog (must be in PEM .crt/.key format), or you can just copy the PEM .crt/.key files to the ~/.config/lagrange/idents directory (or equivalent for your platform) and they'll be picked up on the next launch. After that you can use them like any Lagrange-generated cert.

There's a bit more details on the Lagrange Help page (section 1.6.3).

@bortzmeyer

Click on identity icon and import...

@jk A right click on identity list to import or create new should be cool ! ;-)

@adele @bortzmeyer v1.4 adds New/Import buttons in the bottom of the Identities list for easy access.

@adele @jk OK, I generated the certificate, then opened it simply with 'lagrange cert-and-key.pem' then discovered the Identity menu that I didn't know.

Now it works gemini://station.martinrue.com

@adele I don't think's anything in the spec prohibiting that, and in fact I've been meaning to update the text input widget to allow wrapping to multiple lines for entering long content. It just hasn't bubbled up high enough on the todo list yet...

@jk ok, so it will be possible to input an Enter (\n) character

@adele Yep that would be part of it. Probably Shift+Enter to insert a newline and plain Enter to send, so it works for single-line content as before.

@adele @jk with a newline it would be possible to put links in the input! I have no idea about the consequences of it though

@steko
that's why I ask this. Would be great to share a link without the need to copy/paste it

@jk

@jk @adele How about Enter inserts a newline, and Ctrl-Enter sends.

This is what Thunderbird uses and gets around the muscle-memory that Enter "should" (as it usually does) insert a newline. Otherwise it'd be really easy to accidentally send incomplete responses.

@gmoretti
because the majority of inputs do not need several lines
@jk

@adele It seems to reproduce big tech social media dark patterns, such as a like counter. This is sufficient to keep me out of this

@adele I am still amazed by the potential of the protocol, and the creativity of the people expanding its ecosystem :) With this POC social network, or games such as Astrobotany, for instance

@gabriel yes, it's very cool. Sometimes, constraints force people to be creative

@adele OK, now that I have an account, I have to find out how to write something...

@adele I does not appear before you explicitely tell #Lagrange to use the identity for this page :-(

@bortzmeyer
Strange, because you use your identity to create your account ??
But I think I had the same problem and had to re-eanable my identity. Maybe identites have to be activated one more time to stay enabled ?
An idea @jk ?

@adele @bortzmeyer Identities are activated based on URLs. When you joined, the identity was activated for the ".../join" URL. You need to go to the site root and activate the identity there, it'll then apply to all URLs on the site.

This UX is not the best, I'll need to work on making it a bit more user-friendly.

@jk @adele Yes, I managed to understand that, now it works.

It's great to be a stupid beginner, it helps me to better understand stupid beginners.

@bortzmeyer
Have you seen there is a page for notifications ?
gemini://station.martinrue.com
(you see only your notif even if you change the user in url...)

@jk
It is not a bad choice, inspired on cookies I suppose. Maybe a dialog when enabling an identity

☑️ for entire site

But boring user when it is not necessary 😕 ...

Do you think it is necessary to manage identity only for a page instead of a whole site ?

@bortzmeyer

@adele @bortzmeyer Identities are managed based on URL prefixes. So at the site root it applies everywhere, and at ".../join" it would automatically apply to ".../join/subdir/hello.gmi", too.

I would imagine typically a user would want it to apply either to the entire site or to a specific subdir like "astrobotany.mozz.us/app/". A dialog should be shown for making this selection.

@jk @adele @bortzmeyer Similar experience here. Manually activated it on the site.

Would it be burdonsome to have the "create cert" creation dialog have an input for an "associated URL" to associate on creation? It'd at least skip that step if you're making a new cert like I did.

@docskrzyk @adele @bortzmeyer 👍 Setting the default activation URL when creating an identity is a great idea, I'll add it to my todo list.

It's magic with you @jk we propose what we would like, and you build it ! 😘
@docskrzyk @bortzmeyer

@jk
There is something strange with identity activation.
For example, on gemini://station.martinrue.com my identity is active at the root. But If I go to a user profile page, identity is not marked as activated (in the sidebar) but it is well activated (I can follow/unfollow the user). So it is not clear to see if a certificate has been sent to the server.

@adele Not seeing similar problems here... What does it say in "Show Usage" on the identity's context menu?

@adele Now, when I type the log and click Send, Lagrange waits forever (with the indicator revolving) :-(

But apparently it was created: gemini://station.martinrue.com

@adele It's very funny, is there a public repository with the source code somewhere ?

@adele made me think of

> twtxt is a decentralised, minimalist microblogging service for hackers.

github.com/buckket/twtxt

Sign in to participate in the conversation
Mastodon Tetaneutral.net

Instance de Mastodon, réseau social de micro-blogging libre et décentralisé hébregée par l'association Tetaneutral.net.