site
scripts to generate personal blog and git repositories
git clone https://9o.is/git/site.git
commit 3bf60bda691eaa16b5ce0cd7b240a4553ffcb330 parent 0eb5df85e83a93f98d313e386dab1548b08fb94f Author: Jul <jul@9o.is> Date: Tue, 12 May 2026 14:22:02 +0800 update the website for 9o.is Diffstat:
| M | Makefile | | | 10 | ++++++---- |
| M | assets/android-chrome-192x192.png | | | 0 | |
| M | assets/android-chrome-512x512.png | | | 0 | |
| M | assets/apple-touch-icon.png | | | 0 | |
| M | assets/favicon-16x16.png | | | 0 | |
| M | assets/favicon-32x32.png | | | 0 | |
| M | assets/favicon.ico | | | 0 | |
| M | config.cfg | | | 6 | +++--- |
8 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile @@ -7,6 +7,7 @@ STAGIT_INDEX = stagit-index LOWDOWN = lowdown RCLONE = rclone OUTDIR = output +RCLONE_PATH = sftp:9o.is/htdocs RCLONE_ARGS = -v --size-only --stats 5s --stats-one-line REPOS != find stagit -type f -name '*.git' @@ -55,17 +56,18 @@ sync-git-repo: @printf " %-8s %s\n" "SYNC" "$(REPO).git" @source stagit/$(REPO).git; \ cd $$path && git update-server-info; \ - $(RCLONE) $(RCLONE_ARGS) sync $$path sftp:htdocs/git/$(REPO).git + $(RCLONE) $(RCLONE_ARGS) sync $$path $(RCLONE_PATH)/git/$(REPO).git sync-stagit: stagit sync-git-repo @printf " %-8s %s\n" "SYNC" "$(REPO)" @$(RCLONE) $(RCLONE_ARGS) sync \ --include '/index.html' --include '/$(REPO)/**' \ - output/git sftp:htdocs/git + output/git $(RCLONE_PATH)/git sync-blog: $(OUTDIR)/index.html @printf " %-8s %s\n" "SYNC" "blog" - @$(RCLONE) $(RCLONE_ARGS) sync --max-depth 1 output sftp:htdocs + @$(RCLONE) $(RCLONE_ARGS) sync --max-depth 1 output $(RCLONE_PATH) + @$(RCLONE) $(RCLONE_ARGS) sync output/images $(RCLONE_PATH)/images clean: @rm -rf $(OUTDIR) @@ -88,7 +90,7 @@ clean: @printf " %-8s %s\n" "GEN" "$<" @source $<; \ printf "$$description" > $$path/description; \ - printf "https://qh.is/git/%s.git" "$$name" > $$path/url; \ + printf "https://9o.is/git/%s.git" "$$name" > $$path/url; \ touch $@ .PHONY: all stagit stagit-all stagit-sync-all sync-stagit sync-blog clean diff --git a/assets/android-chrome-192x192.png b/assets/android-chrome-192x192.png Binary files differ. diff --git a/assets/android-chrome-512x512.png b/assets/android-chrome-512x512.png Binary files differ. diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png Binary files differ. diff --git a/assets/favicon-16x16.png b/assets/favicon-16x16.png Binary files differ. diff --git a/assets/favicon-32x32.png b/assets/favicon-32x32.png Binary files differ. diff --git a/assets/favicon.ico b/assets/favicon.ico Binary files differ. diff --git a/config.cfg b/config.cfg @@ -1,6 +1,6 @@ -siteupdated = 2017-11-23 -sitetitle = qhis -siteurl = https://qh.is +siteupdated = 2026-05-12 +sitetitle = 9o +siteurl = https://9o.is sitegenerator = saait (https://git.codemadness.org/saait/file/README.html) lang = en author = Jul