💾 Archived View for bbs.geminispace.org › u › gritty › 17696 captured on 2024-06-16 at 14:37:07. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2024-06-20)

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

Comment by 🍀 gritty

Re: "How do you prefer to write your gemlogs?"

In: s/Gemini

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

🍀 gritty

Jun 05 · 11 days ago

7 Later Comments ↓

💀 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.

Original Post

🌒 s/Gemini

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...

💬 Dio9sys · 10 comments · 2 likes · Jun 05 · 11 days ago