More scripts on the weekend, take a few photos

Original link: https://fangyuanxiaozhan.com/p/2022-07-10-18-01-24-%E5%91%A8%E6%9C%AB%E6%9B%B4%E4%B8%80% E6%B3%A2%E8%84%9A%E6%9C%AC-%E6%89%8B%E6%9C%BA%E6%8B%8D%E5%87%A0%E5%BC%A0%E7 %85%A7%E7%89%87/

More scripts for the weekend

The Internet is a decentralized communication tool, but with the staking of Internet giants, the living space of individual webmasters is constantly squeezed, and independent websites are becoming less and less.

It is difficult to be an independent webmaster. On the one hand, there is no income. On the other hand, it is lazy. It takes time to publish articles and update articles. Therefore, static blogs such as Hexo came into being. The feature is that the webmaster only needs to write Markdown text files. , you can publish a single command to the Internet, but there is no independent database for static websites, and even the comment system has to rely on third-party services. Once the domain name is lost, the precious historical comments will also disappear.

Last year, I wrote a script, mainly for users who are WordPress webmasters and bloggers. The biggest advantage of static blogs such as Hexo is that it is easy to manage, write text in Markdown, and then publish and update the blog with one line of commands.

The script is open-sourced on Github, and when Github Action is running, it uses Github space to back up all articles, and automatically generates a site-wide article directory in the Github repository README.md to attract traffic to personal websites.

Although this script is aimed at niche groups such as webmasters and bloggers, it has also won 153 Stars. The open source address is https://ift.tt/9AkDCuS

Recently, I received feedback from many webmasters asking to support Chinese file names. Then I made an update today. The file name supports Chinese, and the URL supports Chinese (some pre-escaped logic has been added, and it is compatible with old files)

Support Chinese

URL supports Chinese

But WordPress imposes a limit on the length of the URL. I tested it, and there will be no problem if it does not exceed 20 Chinese characters. Later, if Star can exceed 200, then I will continue to work on a plan to exceed 20 Chinese characters.

took a few pictures

Qianhai 001

Qianhai 002

Wutong Mountain 001

(The first two pictures were taken with a OnePlus 8 mobile phone, and the last picture was taken with a full-frame camera Canon R. The picture quality of mobile phone photography is not bad. After a wave of brushes, the display effect has been greatly improved.)

This article is permanently updated at the address:

https://fangyuanxiaozhan.com/p/2022-07-10-18-01-24-%e5%91%a8%e6%9c%ab%e6%9b%b4%e4%b8%80%e6%b3 %a2%e8%84%9a%e6%9c%ac-%e6%89%8b%e6%9c%ba%e6%8b%8d%e5%87%a0%e5%bc%a0%e7%85% a7%e7%89%87/

This article is reproduced from: https://fangyuanxiaozhan.com/p/2022-07-10-18-01-24-%E5%91%A8%E6%9C%AB%E6%9B%B4%E4%B8%80% E6%B3%A2%E8%84%9A%E6%9C%AC-%E6%89%8B%E6%9C%BA%E6%8B%8D%E5%87%A0%E5%BC%A0%E7 %85%A7%E7%89%87/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment