💾 Archived View for bbs.geminispace.org › s › Gemini › 17679 captured on 2024-06-16 at 13:03:51. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2024-06-20)

-=-=-=-=-=-=-

How do you prefer to write your gemlogs?

How do you prefer to write your gemlogs?

In the past I've done it straight on my server with nano or vi, and I've also experimented with writing everything locally and then using scp to copy thew new files over. Both seem to be equally good for my purposes as long as I have my column width set appropriately in my editor.

I considered writing things and then uploading with Titan, but my current capsule software doesn't support Titan that I'm aware of and, either way, I was concerned about the slightly larger attack surface.

What do you all use and prefer?

Posted in: s/Gemini

🍭 Dio9sys

Jun 05 · 11 days ago · 👍 jsreed5, norayr

10 Comments ↓

🍵 michaelnordmeyer · Jun 05 at 16:48:

Writing locally and deployment with rsync. Eliminates the need for backups of the server.

🕹️ skyjake [mod...] · Jun 05 at 17:53:

I write locally either in a text editor or in Lagrange, and upload via Titan. The script that processes the upload also commits the new or updated content to a Git repository.

🍀 gritty · Jun 05 at 19:04:

either ssh in and use vi, or I use my titan script that I made via Lagrange.

💀 requiem · Jun 05 at 20:07:

I mounted the Gemini capsule’s folder via SSHFS over Tailscale. So I can access my home server from my phone as well and write using Textastic on iOS which can sync. But I am thinking about writing a TUI admin panel for myself, so I can SSH in and write up things that way.

For tinylogs I created an alias that adds an entry to the SSH-mounted folder. It kinda feels like “tweeting” from the terminal.

❄ freezr · Jun 06 at 13:39:

I write them with Micro and I manually copy each gemlog with MC... ^^;

🚀 jsreed5 · Jun 06 at 14:27:

I manage my capsule using git. To publish a new log, I copy a template to a new file, write what I want in it, run a script to regenerate my log index pages, commit, and push it up. This allows me to compose logs from any device by simply cloning the repository.

🍀 gritty · Jun 06 at 16:19:

@jsreed5 do you automate the pull?

🚀 jsreed5 · Jun 06 at 18:22:

@gritty I don't automate the pull from the capsule to my devices--and that has bitten me before! Technically I have a bare repository on the capsule server to push and pull from, and Jetforce serves the capsule files from a local clone of the bare repository. That clone does pull automatically.

🍀 gritty · Jun 07 at 00:46:

@jsreed5 I've not done this on the server. githooks?

🚀 jsreed5 · Jun 13 at 13:33:

@gritty That's correct. I don't use Titan so I can't post the hook as a multiline comment here, but I use the "post-update" hook in the bare repo to cd to the local clone, unset the GIT_DIR variable (which otherwise defaults to the bare repo directory), and pull.