Omar Polo op at omarpolo.com
Mon Oct 4 21:50:56 BST 2021
- - - - - - - - - - - - - - - - - - -
Michael Lazar <lazar.michael22 at gmail.com> writes:
On Mon, Oct 4, 2021 at 2:45 PM Omar Polo <op at 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-gemini-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
Oooouch sorry, I haven't seen that!
The idea of a infinite loop of redirects for providing input is reallyclever, and of course the implementation is way, way better!
Thanks for sharing! ;)