Support for ./blog.sh --anywhere
How to connect a blog, answers to common questions, and how to reach me.
Getting started
- Have a blog on ./blog.sh 1.10 or later on a server you can reach over SSH. To look around first, open Try the practice blog on the first screen.
- On the server, in the blog's directory, run
./blog.sh pair. It shows a code, and the same code as a line of text. - In the app choose Add a blog, then scan the code or paste the line. The code lasts ten minutes and works once.
- Write. New makes a post; it goes to the blog as a draft, and you publish it when you decide to.
Questions
My blog runs in a container. Can I use the code?
No. The keys SSH reads belong to the host, and pair inside a container cannot reach them. Choose Set up by hand: give the blog's directory and, under through, the command that enters the container. The app writes the line for the host's ~/.ssh/authorized_keys; copy it with its key, as one line.
The blog is on the same Mac as the app
Turn on Remote Login in System Settings › General › Sharing. If the blog is in Documents, on the Desktop or in iCloud Drive, also allow full disk access for remote users there. Then run ./blog.sh pair and give the address 127.0.0.1, which does not change with the network.
The app says the server does not answer
Check the address and the port in the blog's settings, and try Test the connection there. A post written meanwhile is not lost: keep it on the device, and it goes by itself when the server is back.
The app says the server's key has changed
The app remembers the key of each server it has connected to. If you moved the server, forget the key in the blog's settings. If you did not, find out why before you connect.
What happens to what I am writing if I leave the form?
It stays. Text and pictures are kept on the device and come back, even after the app is closed, and the first screen shows what is waiting.
Why did a scheduled post not go out?
Something on the server has to send the queue out. Without a scheduled run the post waits past its time; the Queue says so, and publishing it by hand works any time. Site › Check the installation says how to set the run up.
How do I take a device off a blog?
The blog's settings › Paired devices. A device can take itself off there. Each of the others shows the command that takes it off on the server.
How do I change the text size or the colours?
In the app's settings: the colours of the blog, the default ones or your own, day or night, and the size of the type.
Contact
Write to daniel@snor.cz. It helps to give the app's version (at the foot of the settings), your device, the version of ./blog.sh and what you expected to happen. I read everything and usually answer within a few days. Problems with the engine itself belong on GitHub.