💾 Archived View for gemi.dev › gemini-mailing-list › 000523.gmi captured on 2024-05-26 at 16:06:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

[ANN] Garden Gnome Society!

1. Björn Wärmedal (bjorn.warmedal (a) gmail.com)

AstroBotany is a thing[1], and I want to make it easier for *you* to
help out in the community garden. To do so I've created a companion
service: gemini://gardengnome.ml

It's a simple thing, but fun. Every four hours it does a slow crawl
through the community garden (I don't want to DOS AstroBotany, so
there's a lot of sleep between requests) and compiles a report on the
plants in need.

Join me in caring for the more neglected plants!

Cheers,
ew0k

[1] gemini://astrobotany.mozz.us

Link to individual message.

2. Gary Johnson (lambdatronic (a) disroot.org)

Brilliant work, Bj?rn! I try to water another community garden plant
each day, but I usually have to pick a bunch of them at random before I
find one that needs watering. Thanks for making this a MUCH easier
process.

Happy AstroGardening!
  Gary

-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Link to individual message.

3. Blair Vidakovich (vidak (a) riseup.net)

Bj?rn W?rmedal <bjorn.warmedal at gmail.com> writes:

> AstroBotany is a thing[1], and I want to make it easier for *you* to
> help out in the community garden. To do so I've created a companion
> service: gemini://gardengnome.ml
>
> It's a simple thing, but fun. Every four hours it does a slow crawl
> through the community garden (I don't want to DOS AstroBotany, so
> there's a lot of sleep between requests) and compiles a report on the
> plants in need.
>
> Join me in caring for the more neglected plants!
>
> Cheers,
> ew0k
>
> [1] gemini://astrobotany.mozz.us

This is awesome! I know botany from the tildeverse, but have never used
it! I was wondering, could you, or someone else, teach me how to attach
my output from astrobotany to my index page of my gemini capsule?

My gemini capsule is here: gemini://tanelorn.city/~vidak.

I notice that some people, like Shufei, on their gmiphlog, have been
able to attach their ASCII-art picture of their astrobotany plant to
their index page--I want to as well!

Or is Shufei, and others, copying and pasting the output from
astrobotany every day? Is it automatic?

Thanks in advance!

Vidak.

Link to individual message.

4. Björn Wärmedal (bjorn.warmedal (a) gmail.com)

> Brilliant work, Bj?rn! I try to water another community garden plant
> each day, but I usually have to pick a bunch of them at random before I
> find one that needs watering. Thanks for making this a MUCH easier
> process.

Thank you, Gary! It was exactly that problem I intended to solve :)

> This is awesome! I know botany from the tildeverse, but have never used
> it! I was wondering, could you, or someone else, teach me how to attach
> my output from astrobotany to my index page of my gemini capsule?

Hey, Vidak! Good question, and I'm happy to help :)

It's surprisingly simple, actually! There are a few curl-like command
line utilities for gemini out there. When I was planning on making
this I looked at https://github.com/makeworld-the-better-one/gemget at
first. It ended up not working for me for two reasons: it doesn't
(yet) support client certificates -- which AstroBotany requires to let
you walk the community garden or visit your own plant -- and the Go
version on my Raspberry Pi was incompatible (that's probably a
solvable problem, but I would still need the client cert support).

I ended up writing my own in python3:
https://github.com/makeworld-the-better-one/gemget

Python3 is great for me, because it works on my laptop and my RPi
without needing to compile anything. This tool is *really* basic for
now. There's no error checking, it decodes everything to UTF-8 before
pushing it to stdout, and the response header line is included in the
output. And there's no server cert validation of any kind (i.e. no
known-hosts database). But it works for the purpose of fetching
AstroBotany info!

Basically: find where your browser keeps your client cert, run
"gemcall -c <path to cert> -k <path to cert key> -u
gemini://astrobotany.mozz.us/app/plant" and you'll get text output. Be
sure to not have the colour setting turned on for that client cert, as
that will ruin the experience for some people visiting your capsule.
Then you just have to figure out which lines from the output you want!
Put it in a cron job or systemd.timer if you can, and it's fully
automated.

Cheers,
ew0k

Link to individual message.

5. Lokesh Krishna (lokesh (a) low-key.me)


On 4 December 2020 12:40:07 pm IST, "Bj?rn W?rmedal" <bjorn.warmedal at gmail.com> wrote:
>> Brilliant work, Bj?rn! I try to water another community garden plant
>> each day, but I usually have to pick a bunch of them at random before I
>> find one that needs watering. Thanks for making this a MUCH easier
>> process.
>
>Thank you, Gary! It was exactly that problem I intended to solve :)
>
>> This is awesome! I know botany from the tildeverse, but have never used
>> it! I was wondering, could you, or someone else, teach me how to attach
>> my output from astrobotany to my index page of my gemini capsule?
>
>Hey, Vidak! Good question, and I'm happy to help :)
>
>It's surprisingly simple, actually! There are a few curl-like command
>line utilities for gemini out there. When I was planning on making
>this I looked at https://github.com/makeworld-the-better-one/gemget at
>first. It ended up not working for me for two reasons: it doesn't
>(yet) support client certificates -- which AstroBotany requires to let
>you walk the community garden or visit your own plant -- and the Go
>version on my Raspberry Pi was incompatible (that's probably a
>solvable problem, but I would still need the client cert support).
>
>I ended up writing my own in python3:
>https://github.com/makeworld-the-better-one/gemget
>
>Python3 is great for me, because it works on my laptop and my RPi
>without needing to compile anything. This tool is *really* basic for
>now. There's no error checking, it decodes everything to UTF-8 before
>pushing it to stdout, and the response header line is included in the
>output. And there's no server cert validation of any kind (i.e. no
>known-hosts database). But it works for the purpose of fetching
>AstroBotany info!
>
>Basically: find where your browser keeps your client cert, run
>"gemcall -c <path to cert> -k <path to cert key> -u
>gemini://astrobotany.mozz.us/app/plant" and you'll get text output. Be
>sure to not have the colour setting turned on for that client cert, as
>that will ruin the experience for some people visiting your capsule.
>Then you just have to figure out which lines from the output you want!
>Put it in a cron job or systemd.timer if you can, and it's fully
>automated.
>
>Cheers,
>ew0k

Hello,


>I ended up writing my own in python3:
>https://github.com/makeworld-the-better-one/gemget

Um, it looks like you linked to gemget again. Could you please link to the 
one you created because I too would love to be able to do this.

Thanks!
? Lokesh Krishna

Link to individual message.

6. colecmac (a) protonmail.com (colecmac (a) protonmail.com)

> It's surprisingly simple, actually! There are a few curl-like command
> line utilities for gemini out there. When I was planning on making
> this I looked at https://github.com/makeworld-the-better-one/gemget at
> first. It ended up not working for me for two reasons: it doesn't
> (yet) support client certificates -- which AstroBotany requires to let
> you walk the community garden or visit your own plant -- and the Go
> version on my Raspberry Pi was incompatible (that's probably a
> solvable problem, but I would still need the client cert support).

Happy to hear you looked at gemget first, but it's too bad you moved on!
gemget should be able to do everything you want. It *does* have client cert
support, using the --cert and --key flags. And while it might require a
higher version of Go (1.12 maybe? 1.13?) to build it yourself, you can
download an ARM binary easily from the releases page.

Hope this helps!
makeworld

Link to individual message.

7. Björn Wärmedal (bjorn.warmedal (a) gmail.com)


I did indeed link to gemget twice (it?s *that* good! ;) )

This is my tool:
https://notabug.org/tinyrabbit/gemcall

makeworld: Sorry, there was a bit of confusion on my part. I scrolled way 
down the README on gemget and saw ?Support client certificates? under 
?Features to add? ? I didn?t notice that the checkbox in front of it is actually checked.

I highly recommend gemget above my own gemcall; gemget does a lot more and 
is less likely to fail arbitrarily. As mentioned I haven?t even 
implemented any form of error handling yet :)

Cheers,
ew0k

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201205/80c8
b196/attachment.htm>

Link to individual message.

---

Previous Thread: [ANN] chess puzzles on gemini

Next Thread: IDN with Gemini?