💾 Archived View for gemini.susa.net › cgi-bin › gemini-irc captured on 2023-03-20 at 18:20:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
https://en.wikipedia.org/wiki/Gemini_PDA
anytwo's link to 'https://en.wikipedia.org/wiki/Gemini_PDA'
Random finds..
anytwo: i believe someone regularly writes Gopher phlog posts on a Gemini pda
speaking of other things that are "Gemini"
the stove that came with my house is a "gemini"
ohhhhh
I need to make a phlog
and pretend my name is molly
so I can be phlogging molly
maybe phlog about celtic punk
It was from Aunt Dinah's quilting party / I was phlogging Molly Brown
How can you display images(inline or not) in a post ? I am using gem.blue
gemlog.blue*
link to it
?
yeah im just dropping the image url into the post... but it comes out as raw text in Lagrange (the GUI Gemini client)
check this out https://files.catbox.moe/jl0rt8.PNG
CAP_DA_FLAG's link to 'https://files.catbox.moe/jl0rt8.PNG'
a screenshot of what i have
do i wrap it in somthin like [img] ??
im a complete noob to Gemini capsules but damn this is fun
the gemini protocol has no allowance for inline images, so people need to click on the image link to view it in their image viewer
some gemini clients have the option to view some image formats inline (not SVG as far as I've seen)
they'll just convert the URL to an image if you've set that option in the client
whenever i scroll using the "down arrow" , the linline images autoload for me
is it a paid feature ?
they autoload for me when im scrolling other capsules i mean
i just cant get it to work with mine because i dont know what the syntax is to use images
theres even a "Edit with Titan" option in the context menu when i right click on the browser window, which allows me to upload images and files
Okay im getting closer.... instead of putting the absolute path to a hosted image file on the web... I dropped the absolute path in the post and it recognized it as an image...BUT, it fails to open it
im gettin close... hmmmm, lets see here
Lagrange v1.11 and higher supports automatically displaying inline images embedded as "data:" URIs.
i mean i dropped the absolule path of the image directly from my harddrive into the post
convert images using the tool at https://dopiaza.org/tools/datauri/index.php
Strengths's link to 'https://dopiaza.org/tools/datauri/index.php'
@Strengths, yeah im gettin a bit closer here.... I just had a thought.... maybe its because it didnt recognize the inline image because it was a HTTPS hosted file instead of a GEMINI hosted file ??
okay thank you, @Strengths
an example is at gemini://skyjake.fi/gemlog/2022-02_our-old-friend-the-data-url.gmi and to see the source you can right-click -> View as plain text
Strengths's link to 'gemini://skyjake.fi/gemlog/2022-02_our-old-friend-the-data-url.gmi'
"open images in data urls" is unchecked by default in Lagrange preferences -> content
okay, i am thinking it needs to be hosted on either a gopher or gemini hosting platform for images to be displayed inline
i just took a look when i hovered over another users image in their capsule, and saw the image was linked to "gopher" protocol
i copied their link and dropped it in my post, and viola ! it works
Do you happen to know of any gopher or gemini image hosting at all? @Strength
I don't, sorry
alright, thanks alot for the resources,im gonna use em later for sure
alright, so
I have something about activity pub, but I'm not sure the right channel.
should we start a new one here for people implementing it?
or..
#fediverse probably better
can anyone recommend a HTML->gemtext Go library?
there will be some loss of data there though, right?
yes, I need something that formats short text nicely
I'm trying https://github.com/LukeEmmet/html2gemini but many links are cut gemini://hd.206267.xyz:8965/public
dimkr's link to 'https://github.com/LukeEmmet/html2gemini'
dimkr's link to 'gemini://hd.206267.xyz:8965/public'
dimkr: i found a html to gemini proxy recently, but I forgot what it was called, that rewrites the html content to show it in gemini, but I don't think that did images
I have written a mastodon to gemlog parser based on the mastodon rss feed which uses Perl and tries to parse the html text with regular expressions, maybe you can use that as a basis
the result ok but not great, gemini://alexlehm.pollux.casa/gemlog/2023-Mar-10.gmi
alexlehm's link to 'gemini://alexlehm.pollux.casa/gemlog/2023-Mar-10.gmi'
alexlehm: thanks, I'll take care of images later
i also am trying to convert links to => with a regexp, that kind of works
dimkr: your ascii logo definitely needs ant alt-text so that you can point to it and is say "Elephant"
lol
need to fix the links first :)
looks like some Mastodon posts have things like <span ...>www.</span>.something.com and the HTML->Gemini converter replaces </span> with a space
a " " is legal as a hostname
really? i thought it has to be one character at least
dimkr: mastodon uses some weird highlighting to show the url differently, i had to use some patterns with span for that
almost wrote "spam"
dimkr: if you know perl a bit, you could look at my mastodon replace thing
https://tildegit.org/alexlehm/masto2gemlog
alexlehm's link to 'https://tildegit.org/alexlehm/masto2gemlog'
shameless plug
" " is one character
ah, no i mean at least one alpha character a-z
that's not what RFC 1035 says
alexlehm: how reliable is it?
I don't mind piping every incoming post through perl, I can use a worker thread that processes incoming posts and inserts them
Good day geminauts
dimkr: i have used it on my own mastodon only and have not spend much time on it, it works for what i have tried
you could probably just rewrite the same regexp in Go, it should be about the same
also, its currently not a pipe, but you could change that easily
dimkr: Do you have some example of problematic html from mastodon? I'd like to test it with my html2gemtext converter.
rkta: <p>This Drone Will Change Everything<br />L: <a href="https://www.youtube.com/watch?v=DOWDNBu9DkU" target="_blank" rel="nofollow noopener noreferrer"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=DOWDNBu9Dk</span><span class="invisible">U</span></a><br />C: <a href="https://news.ycombinator.com/item?id=35218203" target="_blank"
dimkr's link to 'href="https://www.youtube.com/watch?v=DOWDNBu9DkU"'
dimkr's link to 'class="invisible">https://www.</span><span'
dimkr's link to 'href="https://news.ycombinator.com/item?id=35218203"'
rel="nofollow noopener noreferrer"><span class="invisible">https://</span><span class="ellipsis">news.ycombinator.com/item?id=3</span><span class="invisible">5218203</span></a><br />posted on 2023.03.19 at 08:12:37 (c=0, p=3)</p>
dimkr's link to 'class="invisible">https://</span><span'
oh, better use pastebin for that
that's the kind of HTML the various news bots generate, they wrap parts of URLs with <Span>
alexlehm: sorry :(
np, i copied it to notepad++
ah, the ... notiation for urls in mastodon sucks, i noticed that as well
I think I'll keep the current HTML->gemtext convert, but replace <span\s*[^>]*> with ""
it's probably just these tags that confuse it
i think you have to remove the whole link text and only use the url from the a tag
my perl code uses <a.*</a> and replaces that with \n=> $url\n
matching the url from the href= attribute
some posts have inline links
I have a piece of code that looks for links inside the post using RE, then adds links
yes, i changed that to a new line with =>
does not look to good but I don't think gemtext can do anything else
dimkr: Thanks.
just tried out gemlog.blue, that is very easy to use
i wonder if there is a pastebin type site on gemini already, it would be quite easy to make one
I have a script to copy files to a tmp directory
thrig: Can I find your patched w3m's sources somewhere? I'm curious what you did.
I would like a browser that has built in support for the following protocols: Gemini, gopher, spartan, xkcd and finger foods
gemini://thrig.me/tmp/mashed-up-w3m.patch
thrig's link to 'gemini://thrig.me/tmp/mashed-up-w3m.patch'
thrig: thanks
maybe I'll add a 'temporary post' concept to my social network thingy
that would be an easy way to share a short message without having to host your own capsule
mhj: lagrange can do gemini, gopher,spartan and finger, no xkcd i think
maybe we should send the author a feature request
mhj: It wouldn't be hard to hack Spartan into Lagrange
(if you have any C at all)
oh, does it have spartan already? I didn't know
Simple http wouldn't be hard either if you are only concerned with images.
What I really want, if I can collect enough tuits, is ftp, because right now nobody supports ftp browsing (as opposed to Midnight-Commander-style copying)
Lagrange supports Spartan
Ok, i have written a paste service for gemini
gemini://gemini.lehmann.cx/cgi-bin/paste.php
alexlehm's link to 'gemini://gemini.lehmann.cx/cgi-bin/paste.php'
that was easy
"This Capsule Best Viewed in Lagrange™"
hopefully there will be no dependencies on a specific client
i switch between lagrange and amfora occasionally
looks like I messed something up on my gemini when I created the letsencrypt cert https://p.lehmann.cx/n0E-.png
alexlehm's link to 'https://p.lehmann.cx/n0E-.png'
cool, i just programmed my first browser dependency on gemini
lagrange accepts a response 10\r\n, but amfora does not
alexlehm: spec has a mandatory space after the response code, even if meta is empty
ok, that was it. i have now added a real prompt message, that is better in any case
did I mention that I have created a feedback form for gemini that can be used by other users?
my current form is gemini://gemini.lehmann.cx/cgi-bin/response.php/40acd6ff3d1a1b7bf672c3fb7410c0fea91de4d9effb88ddc6b0ebd025c1989d
whoa, federation works with Pleorama, but the images are https:// links :(
so my Gemini frontend is just an aggregator of https:// links :(
to get images working you either need to copy the files or to have a proxy url
stupid question, as ever: how do i go about finding gemini content in a particular language?
i am not aware of a search engine that has that yet, each page can be tagged with a language code, but few are
thanks alexlehm
out of curiosity how is the language tagging done?
Tildebeast: in the meta portion of the response header, you get something like `20 text/gemini;charset=utf-8;lang=en-US`
thanks nytpu . think i just found it in the specs, section 5.2. guess it's up to the server to say which page is tagged which...
many servers have a feature where you can add a .meta file (or similar) where you can specify the language for file
s in that directory
oh, that's neat raek. i'll have a look at the Molly Brown docs.
Tildebeast: https://tildegit.org/solderpunk/molly-brown#molly-files
raek's link to 'https://tildegit.org/solderpunk/molly-brown#molly-files'
looks like you put a DefaultLang entry in a .molly file
looks that way. have to update my installation and will give it a try
in Lagrange you can check the meta info by clicking the padlock icon to the left of the address bar
then 'MimeOverrides' for other languages, I guess
oh, that's probably the right one yes
i'll give that a look, thanks -- i like how lagrange handles things generally.
do any servers except jetforce allow you serve dynamic content without the ugly (in my taste..) /cgi-bin/ in the path?
Lagrange is very well polished
yup
i like a good command line client too, but for 'reading without having to think about it' lagrange is hard to beat
gmid supports fastcgi in location blocks
i like the idea of regexes* for mime overrides. i could just put _fr or whatever at the end of a filename and job done.
*apologies to anyone upset by the idea of liking regexes, however briefly
I'm gonna devote a Gemini page to Capybara facts
https://hackers.town/@capibarabot@lile.cl/110045213886066419
mhj's link to 'https://hackers.town/@capibarabot@lile.cl/110045213886066419'
thrig: hmm. that sounds ince
*nice
my use case is that I want dynamic content in certain sub-trees of otherwise static content
I hope gmid doesn't go incel
ok, gmid looks really nice
it's basically openbsd's httpd but reworked for gemini
Capybara facts are good facts
oh nice, gmid has a very current package on freebsd
Gmid rocks, I used to use it before going to agate for Gemini and SpaceCookie for gopher
Mainly because on NixOS, which I use for my server, Agate you can use declaratively, same with SpaceCookie
Not like there's lots of settings you have to configure tho lol
agate took four minutes to compile, and didn't seem to have any sort of pledge support
Aww
does gmid support something like .meta or .molly files for directory-local config?
raek: no, but you can specify the language and a lot of other things for specific various paths in your gmid.conf file: https://gmid.omarpolo.com/gmid.conf.5.html#location
nytpu's link to 'https://gmid.omarpolo.com/gmid.conf.5.html#location'
pretty analogous to an Apache--Nginx comparison
nytpu: right. I just read that part. maybe I should just do that.
hmm. would this work? a path /foo/bar/baz is handled by a CGI script named /foo/bar
I guess the "cgi-bin" and file extensions of the scripts are just conventions
as long as the script is executable and has the appropriate shebang, then I could have full control of the URL "look"
maybe I should just resort to writing "classic" CGI-style scripts. the performance is not an issue for me. the interface is very simple. I like that!
embrace the traditional unix ways etc
hopefully not the full traditional "cgi-lib.sh written by Korn that has security exploits"
raek: yeah, you don't need an extension nor name the directory cgi-bin; and anything after the script will be passed as PATH_INFO
raek: i think you can configure arbitary cgi directories in molly-brown
raek: i have started writing cgi script for gemini in PHP since that is probably the language I know best, that works great
for some reason setting default language does not work for me with molly-brown
that's a pain
Where is everyone hosting their capsules from ?a home webserver of their own ?
im doing it through gemlog.blue, are there other ways to do it ?
some home system, or a virt somewhere, or
Nice, i need to learn the home webserver stuff.... im a total noob but im freakin excited about this tech... it reminds me back in the Geocities days lol
hopefully without what happened, afterwards
CAP_DA_FLAG: I have started with a gemini hosting on pollux.casa which is a free host run by someone in France in their home (I think)
and I am now also running a server on my root server which is a rack server a friend of mine owns
I prefer that to running anything at home, also my ISP has stopped IPv4 port forwards it seems
dude whoa !!! i wanna request one tbh, thx for the resource !! I was actually just learning how to access my capsule through the mozz.us portal
are you running your capsule on a dedicated PC tower type server ? or somethin like Raspberry Pi ish ?
i am not running anything at home currently
the pollux host is pretty great for a static site, i use sftp upload for that
also you can use other pubnix type accounts if you have one, e.g. i have created a single page site on rawtext.club
hek yeah, thats what i wanna use... i currently use netlify with https://www.mkdocs.org/ and it suits my needs pretty well
CAP_DA_FLAG's link to 'https://www.mkdocs.org/'
but i was always intrigued by the gopher and similar protocols, Gemini hits the sweet spot
ah, i also have normal web sites running on the root host, that is mostly PHP
I created a gopher page on the tidle I am a member of which is cosmic.voyage
i bookmarked the page yesterday xD
im looking through all the directories and trying to find intersesting capsules to save
it seriously feels like Geocities old school directories lol, super fun
yes, i noticed that as well, a lot of gemini hosting is kind of like geocities
whats pubnix ??
CAP_DA_FLAG: A multi user server usually running some version of Linux
ohhh, like a shared Linux server ? similar to a "VPS" ?
i would say it is more like a computer you would use at a computer lab where everybody has an account and its a shared system
ahhh, okay i see now
so you can run user commands but not install anything since you are not admin
i was wondering what that meant
OH so its a good way to kinda learn Linux then huh
something like public access unix system
ahhh okay
thats sick
that is a very good way to learn Linux
or BSD
CAP_DA_FLAG: go look at tildeverse.org
me and my brother are usta try n learn Linux but keep messing up our systems 🤣
@Sario, yeah ive bookmarked that, i needa take a look at it
depending on what you want to do Tilde is very good for a *nix system
and they host a lot of great tools as well, e.g. different web sites
nice yeah, ima check it out later on... rn im jus having fun customizing Lagrange and making vapid posts about nothing LOL
actually gemini has quite a few classic tools that sortof are coming back, e.g. there are at least 2 webring type sites where you can register your site url
where at ??? i wanna submit mine tbh
one is based on the search results from geminispace.info at gemini://tilde.team/~khuxkm/leo/
alexlehm's link to 'gemini://tilde.team/~khuxkm/leo/'
*bookmarks immediately*
the other one uses a request to be included at gemini://raek.se/orbits/space-elevator/
alexlehm's link to 'gemini://raek.se/orbits/space-elevator/'
*bookmarks again*
the 2nd has almost no entries yet
lets change that *sunglasses.png*
that reminds me that I wanted to check if there is a link list type of site for gemini already
when i get better at programming, i wanna create stuff specifically for the gemini protocol
i recently have started that as well and I thought it was very easy to do, you need basic CGI scripting in any language, so if you know how to do that with web already, it is easy
ok the raek.se webring has only 2 entries, one is mine, the other is the guy who runs the ring
ive honeslty never even looked into CGI scripting... although I do remember somewhat the term in the late 90s-early 2000s (that and asp.net)
okay lemme c if i can submit mine
not sure about asp.net, maybe you could put something together as well
I used php
yeah PHP & MySQL were my intros to web stuff back then
rn im learning LISP stuff like Clojure
there is a gemini server in lsip as well I think
actually there seem to be some in most languages
or you could use CGI in lisp
now u got me curious about CGI xD
I am currently using the molly-brown server on my root server and that works great with CGI in either shell and php
Would I need a *nix type server to upload & run the molly-brown files ?
i guess it would run Windows as well, but usually you would use a +nix server for a server that is actually online
OH I SEE ! I just read it
basically if i get approved for pollux.casa.... i can have my SSH access and upload moll-brown to it , right ??
no, the pollux site only supports static files I believe, she doesn't support other programs
you need a pubnix for that or a vps
okay something like a Digital Ocean "droplet ?? (ive seen that on some Youtube tutorials)
i don't know how digital ocean actually works
a lot of people seem to run their own gemini on a VPS like vulture
vultr
i just read the tildeverse.org "members" area, and it looks like some offer *nix access for creating Gemini capsules I think
7away away
i will go to bed now, it is way late
okay later ! thanks for the resources !!!
> that reminds me that I wanted to check if there is a link list type of site for gemini already
alexlehm: something like gemini://medusae.space/ ?
raek's link to 'gemini://medusae.space/'
theres also gemini://gemlog.blue/users/
CAP_DA_FLAG's link to 'gemini://gemlog.blue/users/'
thats the service i use currently to host my capsule
gemini://tilde.pink/
CAP_DA_FLAG's link to 'gemini://tilde.pink/'
geddit ? gemini://geddit.glv.one/s/620
CAP_DA_FLAG's link to 'gemini://geddit.glv.one/s/620'
this post on the capsule says "attention all GEDDITORS. this CRAPSULE is now for bad posts only. from this point forward, you can only post inflammatory TROLL BAIT, POLITICAL PROPAGANDA, and/or INCOHERENT NONSENSE. you have been warned."
:)
CAP_DA_FLAG: I'd be happy if you joined the Space Elevator orbit! I hope setting up your first capsule will be easy for you
using one of the pubnixes or gemini hosting services sounds like a smart way to get started
(I don't know the pros and cons of them because I went directly to hosting my own gemini server. but that's because I already had a linux server running and like that kind of thing)
@raek, lemme set up my gem capsules bcuz rn they are blank xD
and then ill def join
@raek, yeah im taking a look at the tildeverse website and im also lookking through the "LEO" gem capsule "webring" and i found TONS of interesting capsules already
i submitted a request to join CTRL-C
whatever makes it easy for you to to write some gemtext and getting it into gemini space is the right way :-)
heck yeah 🔥 ♊ 🔥
also, don't forget to write something about non-gemini stuff, like the usual things you are interested in. that's what makes gemini interesting
yup, i plan on posting all my occult research on my capsule
its gonna be sick, watch *sunglasses.png*
i wanna post my Chinese Mandarin journey on it too
does Lagrange or gemtext take Chinese characters ??
I like when people collect links to their favorite pages, like gemini://warmedal.se/~bjorn/recommendations/
raek's link to 'gemini://warmedal.se/~bjorn/recommendations/'
@raek, yeah i collected a BUNCH already and am organizing em in folders "directories" , " capsules" etc
CAP_DA_FLAG: yes, gemtext is UTF-8 by default and Lagrange can display whatever characters the installed fonts support
alright nice !!
(my own attempty to a links page: gemini://raek.se/links/recommendations.gmi)
raek's link to 'gemini://raek.se/links/recommendations.gmi)'
*bookmarks capsule page immediately*
I think Lagrange has a limited set of fonts installed by default, but I would expect there to be a chinese (or CJK) fontpack for Lagrange out there
OHHHH youre right !!! i remember seeing it in there
ill have to donwload it then
sometimes you see a comment at the top of peoples pages where they linkt to a suitable fontpack
have you seen the "Oracle" gemini service ?
its like Quora
@raek gemini://transjovian.org/oracle
CAP_DA_FLAG's link to 'gemini://transjovian.org/oracle'
btw, is there a way to do a search in gemini ?
there are multiple search engines. I list some here: gemini://raek.se/links/misc.gmi
raek's link to 'gemini://raek.se/links/misc.gmi'
be sure to check out Antenna too: gemini://warmedal.se/~antenna/
raek's link to 'gemini://warmedal.se/~antenna/'
hmm. I should make a script that follows all the external links from my capsule (on a weekly basis, or so) to find any dead links
or internal ones, for that matter
im using antenna rn, tinkering with it xD
not sure if you have this one yet @raek gemini://cities.yesterweb.org/
CAP_DA_FLAG's link to 'gemini://cities.yesterweb.org/'
this is actually a Gopher page but i found it on someones capsule
gopher://hngopher.com/
another gopher link i found on someones capsule gopher://magical.fish/
this weekend I found my bag of ESP8266 microcontrollers. I should follow this guide: gemini://floppy.p1x.in/micro/article/esp8266-gemini-server.gmi
raek's link to 'gemini://floppy.p1x.in/micro/article/esp8266-gemini-server.gmi'
I'll add some way to toggle a LED or something
or... write text to a display!
I have that old tiny e-ink display...
dangg
gemini://konpeito.media/
CAP_DA_FLAG's link to 'gemini://konpeito.media/'
yay, past me got stuff setup to properly stream gemini URLs that return mp3
where is gopher and gemini on the OSI model ?
CAP_DA_FLAG: that is l7 i think
ah okay ty @alexlehm
CAP_DA_FLAG: if you want to try fun but kind of silly thing, take a look at astrobotany, a flower-growing game
gemini://astrobotany.mozz.us/
alexlehm's link to 'gemini://astrobotany.mozz.us/'
i see that on some capsules but i keep scrolling over it xD... ill bookmark it n check it out in a bit
what does everyone call this "space" where Gemini, Gopher, Finger etc type protocols prevail ??
i know internet refers to "http" typically... but i feel i wouldnt say like " visit my capsule on the internet" cause it sorta implies a webSITE and not webCAPSULE
this is in the Gemini(protocol) wiki => "Gemini spans an alternative communication web"
the term smolweb is used, also small internet
lmao nice 🤣🤣 , ima start using it
hm, i still have a script error that crashes my server, strange
ok, found a bug in the mollybrown code, but it was my php script that was wrong
submitted my first patch to mollybrown (without any Go knowledge)
Good timezone all
CAP_DA_FLAG: The whole TCP/IP space, all protocols, is "the Internet". The HTTP-only space is "the Web". The Web is the largest part of the Internet, but referring to the Web as "the Internet" is like calling the UK "England" or the Netherlands "Holland".
or sed a "bash program"
there was a meme about what people called the internet over time, like in the 90s it was email, in the 2000s it is Internet explorer, in 2010 it is Facebook
thrig: or a shell script a bash program