Re: chat over gemini (or, let's play with streaming text)

On Mon, Oct 4, 2021 at 2:45 PM Omar Polo <op@omarpolo.com> wrote:
> The idea is similar to the one presented by solderpunk in "A vision for
> gemini applications"
>
> gemini://gemini.circumlunar.space/users/solderpunk/gemlog/a-vision-for-ge
mini-applications.gmi
>
> and, frankly, I'm quite disappointed nobody has built something like
> this before.  (or at least I haven't been able to find it.  I know
> kensanata has made some experiments with a mush, but I haven't played
> with it (yet))
>
> The idea is to provide two pages: one that accepts input via the
> response code 10 and appends to a file, the second is a literal `tail
> -f'.  Simple, but it works, and it's immediate.  As soon as someone
> sends something, all the clients reading from `tail -f' gets the
> message.

Looks familiar!

gemini://chat.mozz.us/

(source code) https://github.com/michael-lazar/jetforce/blob/master/examples/chatroom.py

- Michael

---

Previous in thread (1 of 12): 🗣️ Omar Polo (op (a) omarpolo.com)

Next in thread (3 of 12): 🗣️ Omar Polo (op (a) omarpolo.com)

View entire thread.