Great news 😄
As a side effect of the Ghost-based blog, I was lucky enough to find a backup of the website data in Dropbox today. (I even forgot about it) Then the blog was successfully converted into an MD file through the ghost-export tool found in npm. Blogs from previous years have been resurrected. yeah~
Update: 2021-02-18
I tried to move from Bitcron to WordPress half a year ago, but the performance of Bricklayer’s server was poor and I couldn’t run it at all. I could only seek alternatives to static blogs, and chose the latter among Hexo and Hugo. One is because the go environment configuration is simple, and the other is that hugo performance is better than hexo.
At the beginning, nginx is configured on the vps, and then static files are generated locally and uploaded. But the trouble is, a lot of writing now needs to be synchronized to the computer and then uploaded every time it is done on the iPad.
The final solution is as follows:
-
First use 1writer on iPad to write the MD file. The picture bed directly uses the browser to open tinypng (compressed) and sm.ms (uploaded) pictures. Save backups of documents and images with Dropbox (sync).
-
Then install rclone and hugo on the vps.
-
Use Termius (iOS) or terminal (Mac) to connect to vps, use scripts to synchronize blog files to vps and generate releases.
This makes it easy to edit on a computer or iPad (iphone). After editing is completed, publishing can be completed with just one command.