18 lines
352 B
Python
18 lines
352 B
Python
|
#!/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()
|
||
|
|