Re: [Discussion][Workflow] What do you use to write and upload to your capsules?

Hello,

Andrew Singleton <singletona082@gmail.com> writes:

> What do you guys use?

Interesting collection of answers, thank you all.

Me:

I use emacs to write .gmi files. I use fundamental mode, not
gemini-mode.

Then I create the new indices using make and shell scripts. I
start a local (very old!) instance of agate (v1.2.2) to serve
the new stuff on localhost, I use emacs/elpher to view the newly
created content.

Once content I call make again. This will create html files (by
shell script as well), recreate indices, checksum and signature
files and the atom feed. I check this state into git.

Then I push this state to sourcehut and let the CI create the
new state of gemini/html pages.

I also serve the gemlog from a local machine behind a onion
site. The content ist one "git pull" away.

And I have a clone of the git repo on another small machine in
my house. so another git push.

Once the new content appears on sourcehut, I call "make ping",
which calls Antenna to indicate new entries.


The Makefile and all scripts are available here:
https://git.sr.ht/~ew/ew.srht.site/tree

tl;dr:
emacs, elpher, make, shell, gnupg, signify-openbsd, git,
sourcehut-ci, sourcehut.sites.


Cheers,
~ew

-- 
Keep it simple!

---

Previous in thread (12 of 18): 🗣️ Sigrid Solveig Haflínudóttir (ftrvxmtrx (a) gmail.com)

Next in thread (14 of 18): 🗣️ Anna “CyberTailor” (cyber (a) sysrq.in)

View entire thread.