this post was submitted on 26 Sep 2023
5 points (100.0% liked)

Fediseer

315 readers
1 users here now

Announcements, news, devlogs and general discussion about The Fediseer (API)


Show off your instances endorsements and guarantees with individualized badges:


If you appreciate what this service provides, please consider funding the Fediseer development on liberapay

founded 1 year ago
MODERATORS
 

Introducing Momiji: a Gopher interface for Fediseer!

gopher://geidontei.chaotic.ninja/1/usr/mima/momiji/

Since the official web GUI of #Fediseer requires JavaScript (seriously what's up with that, is this a Lemmy thing lol :P), I thought I'd write something that uses Fediseer's API, and the interface wouldn't need JavaScript to be loaded from the website and can be viewed by any plaintext-friendly client. So I settled with #Gopher! ​:alice_wine:​

Currently you can only lookup some basic information per instance, and see all domains which they have endorsed, censured, hesitated, and guaranteed (and vice-versa) in a pure plain text format. I might write an interface for the whitelisted, suspicious, censured, and hesitated lists of instances too, but I'm not promising anything. :P As it stands, this simple Gopher CGI fits my needs for now. ​:kokoro_yes:​

Logging in with your #API key is not supported (probably a bad idea anyway due to Gopher typically being unencrypted ​:satsuki_sadge:​), so you won't be able to see some domain lists of instances that have restricted the viewing of endorsements/censures/hesitations they give, or modify anything in Fediseer.

It's all written in #POSIX #shell script, with the dcgi currently written with #Geomyidae's gophermap format in mind. You can see the source code (which you can treat as being in the public domain) in the URL I've given. Warning: It's pure shell script cancer! ​:kyou:​

@[email protected]

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago

FYI, the GUI supports enabling server-side-rendering. You can deploy your own version with SSR enabled and then every GET request works without javascript.