agate disable ed25519, add $Date$ filter

This commit is contained in:
dongdigua 2023-06-18 14:22:16 +08:00
parent 98297516bc
commit afd2e0d631
6 changed files with 26 additions and 28 deletions

3
.gitattributes vendored
View File

@ -3,5 +3,4 @@
*.org linguist-vendored=false
*.org linguist-detectable=true
index.gmi ident
posts.md ident
index.gmi filter=dater

View File

@ -1,22 +0,0 @@
# Gemtext
## Why?
* I like plaintext
* gemtext is lightweight
* no format conversion, just serve it
## Linewrap?
I usually do not use linewrap when I'm writing, because it makes me clearer
and more logical than put everything together, and I like to view text
shorter than 2/3 of the screen, and it is easier to nevigate in editor
(jump by line instead of jump by word in a long line).
When exporting org to html, I add \n:t so the export process will keep my
linebreak, so on website it is also not a mess.
But in gemini, it's recommended to write long lines[1], and such as in elpher client, it wraps line in 79 character, so I need to either write within 80 column, or write long lines and give the linewrap to "leave it up to the receiving Gemini client to wrap your lines to fit the device's screen size and the user's preference"
I will wrap line freely as I want, neither 80 column rule[2] nor long line.
=> gemini://gemini.circumlunar.space/docs/gemtext.gmi [1]: Gemini Doc
=> https://www.emacswiki.org/emacs/EightyColumnRule [2]: EmacsWiki EightyColumnRule

23
gmi/docker/README.gmi Normal file
View File

@ -0,0 +1,23 @@
# Docker & Gemini
## Server Program
=> https://github.com/mbrubeck/agate agate
alternatives:
=> https://gmid.omarpolo.com gmid
=> https://tildegit.org/solene/vger vger
## TODO
CGI script:
* inform the server to update git
* check the log
both need authentication, idea:
* 6x (CLIENT CERTIFICATE REQUIRED)
=> gemini://gemini.circumlunar.space/docs/tls-tutorial.gmi doc: TLS
=> https://adnano.co/2021/03/06/gemini-tls/ TLS recommendations for Gemini
* GPG in 1x (INPUT)
client: date -u +%Y%m%dT%H | gpg -as
server: verify time then signature

View File

@ -2,7 +2,7 @@
crond -f -d 8 &
tail -f /var/log/git.log &
agate -eC --content dongdigua.github.io --hostname $GEMINI_HOST
agate -C --content dongdigua.github.io --hostname $GEMINI_HOST
wait -n
echo $?

View File

@ -8,4 +8,4 @@ Hello! this is the dondigua's home on Gemini
=> https://dongdigua.github.io https site mirror
$Id$
$Date$

View File

@ -57,5 +57,3 @@ if you have some problem with sway, you can probably find solution here
Practice English writing skills
---
$Id$