mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-23 23:53:10 +08:00
agate disable ed25519, add $Date$ filter
This commit is contained in:
parent
53f24fafa5
commit
d2e3b15a63
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -3,5 +3,4 @@
|
|||||||
*.org linguist-vendored=false
|
*.org linguist-vendored=false
|
||||||
*.org linguist-detectable=true
|
*.org linguist-detectable=true
|
||||||
|
|
||||||
index.gmi ident
|
index.gmi filter=dater
|
||||||
posts.md ident
|
|
||||||
|
@ -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
23
gmi/docker/README.gmi
Normal 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
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
crond -f -d 8 &
|
crond -f -d 8 &
|
||||||
tail -f /var/log/git.log &
|
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
|
wait -n
|
||||||
echo $?
|
echo $?
|
||||||
|
@ -8,4 +8,4 @@ Hello! this is the dondigua's home on Gemini
|
|||||||
=> https://dongdigua.github.io https site mirror
|
=> https://dongdigua.github.io https site mirror
|
||||||
|
|
||||||
|
|
||||||
$Id$
|
$Date$
|
||||||
|
Loading…
Reference in New Issue
Block a user