💾 Archived View for jacksonchen666.com › posts › 2023-07-03 › 20-51-17 › index.gmi captured on 2024-08-31 at 11:51:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

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

Creating Blog Posts on My Phone Cause I Have No Computers Nearby

2023-07-03 20:51:17Z

I went somewhere and suddenly, now I have no computers because I didn't bring one. Except for a smartphone. It's also getting late now, so why not do a blog post now?

My smartphone is an Android phone. Termux is basically terminal on your Android phone, so I used that to get a terminal I could use.

Now the setup. I use the Unexpected keyboard, had copied my neovim config at one point, then install some stuff by running the following in the Termux terminal:

pkg install git hugo

Unexpected keyboard

Some more stuff that I had already setup is my CI, SSH keys for access and stuff, git repo online, etc.

Then, I cloned the repo:

git clone git@git.sr.ht:~jacksonchen666/jacksonchen666.com

Yes, I did type out that long command.

After that, I enter the directory with `cd`. Then, my usual blog post creating process is as follows:

hugo new content/posts/$(date -Id)-blog-post-title.md
$EDITOR content/posts/$(date -Id)-blog-post-title.md

You can substitute "$EDITOR" with any editor you wish, but I use neovim (nvim).

Then, I write.

The writing process takes some time, especially when I'm using a smartphone.

The Unexpected keyboard is quite great at packing stuff, but lacks auto correct and I found it a bit prone to typos (likely due to the fact I am tapping onto a screen that's not tactile).

Anyways, hopefully this blog post is coherent enough. Time to finish the rest of the process.

After finishing, I port my post from markdown to gemtext for Gemini.

Then, the rest follows:

hugo
git add content/posts/
git commit
git push

public inbox (comments and discussions)

public inbox archives

(mailing list etiquette for public inbox)