diff options
Diffstat (limited to 'blog')
| -rw-r--r-- | blog/content/gemini.gmi | 30 | ||||
| -rwxr-xr-x | blog/post-receive | 10 |
2 files changed, 36 insertions, 4 deletions
diff --git a/blog/content/gemini.gmi b/blog/content/gemini.gmi new file mode 100644 index 00000000..b79340d9 --- /dev/null +++ b/blog/content/gemini.gmi @@ -0,0 +1,30 @@ +# Gemini + +This is my Gemini start page. I was unhappy with not having synchronized bookmarks in my Gemini clients, until I realized I could just publish a start page. + +The links below are Gemini links. You need a Gemini client to open them. + +## Aggregators + +=> gemini://cosmos.skyjake.fi/ Cosmos +=> gemini://caracolito.mooo.com/deriva/ bot en deriva +=> gemini://planet-gemini.fr Planet Gemini Francophonie - Agrégateur de capsules francophone + +## Search engines + +=> gemini://kennedy.gemi.dev/ Kennedy: Search Gemini Space +=> gemini://tlgs.one/ TLGS - "Totally Legit" Gemini Search +=> gemini://cdg.thegonz.net/ Collaborative Directory of Geminispace + +## Other stuff of interest + +The links below are web links, for those who do not have a Gemini client yet. + +### Clients + +=> https://gmi.skyjake.fi/lagrange/ Lagrange +=> https://github.com/makew0rld/amfora Amfora + +### Other software + +=> https://ñix.es/cgit/alex/coppewebite.git/about/ Coppewebite is what I use to generate and serve this capsule diff --git a/blog/post-receive b/blog/post-receive index 0721ce3b..f69abaf6 100755 --- a/blog/post-receive +++ b/blog/post-receive @@ -27,7 +27,9 @@ with tempfile.TemporaryDirectory() as tempdir: tempdir = pathlib.Path(tempdir) repo = tempdir / "repo" subprocess.run(["git", "worktree", "add", repo, pushed_commit], check=True) - blog = repo / "blog" - os.chdir(blog) - os.environ["PATH"] = "/home/alex/.local/bin:" + os.environ["PATH"] - subprocess.run(["./build.sh", dest], check=True) + try: + blog = repo / "blog" + os.environ["PATH"] = "/home/alex/.local/bin:" + os.environ["PATH"] + subprocess.run(["./build.sh", dest], check=True, cwd=blog) + finally: + subprocess.run(["git", "worktree", "remove", repo], check=True) |
