init
This commit is contained in:
commit
327bf133af
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
printf "20 text/gemini\r\n"
|
||||||
|
|
||||||
|
cat <<'EOF'
|
||||||
|
```Figlet banner: "tildeverse.org"
|
||||||
|
__ _ __ __
|
||||||
|
/ /_(_) /___/ /__ _ _____ _____________ ____ _________ _
|
||||||
|
/ __/ / / __ / _ \ | / / _ \/ ___/ ___/ _ \ / __ \/ ___/ __ `/
|
||||||
|
/ /_/ / / /_/ / __/ |/ / __/ / (__ ) __// /_/ / / / /_/ /
|
||||||
|
\__/_/_/\__,_/\___/|___/\___/_/ /____/\___(_)____/_/ \__, /
|
||||||
|
/____/
|
||||||
|
|
||||||
|
```
|
||||||
|
we're a loose association of like-minded tilde communities. if you're
|
||||||
|
interested in learning about *nix (linux, unix, bsd, etc) come check out our
|
||||||
|
member tildes and sign up!
|
||||||
|
|
||||||
|
tildes are pubnixes in the spirit of tilde.club, which was created
|
||||||
|
by paul ford.
|
||||||
|
|
||||||
|
member status in the tildeverse mainly involves some level of engagement on
|
||||||
|
irc; all other systems are independent.
|
||||||
|
|
||||||
|
stop by our irc network and hang out!
|
||||||
|
EOF
|
||||||
|
|
||||||
|
python /var/gemini/tildeverse.org/members.py
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import json
|
||||||
|
import textwrap
|
||||||
|
|
||||||
|
with open("/var/www/tildeverse.org/members.json", "r") as f:
|
||||||
|
members = json.load(f)["members"]
|
||||||
|
|
||||||
|
for m in members:
|
||||||
|
link = m["link"]
|
||||||
|
if m["gemini"]:
|
||||||
|
link = link.replace("https", "gemini")
|
||||||
|
|
||||||
|
print(f"=> {link} {m['name']}")
|
||||||
|
print(textwrap.fill(m["description"]))
|
||||||
|
print()
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
root@tildeverse.org
|
Loading…
Reference in New Issue