Add new tinylog entry, tweak Makefile with tinylog
target
This commit is contained in:
parent
ee402e24d7
commit
0f9cddc62b
2 changed files with 17 additions and 6 deletions
5
Makefile
5
Makefile
|
@ -8,6 +8,11 @@ build:
|
||||||
upload: build
|
upload: build
|
||||||
scp -r public/* nathan@hitchhiker-linux.org:/srv/gemini
|
scp -r public/* nathan@hitchhiker-linux.org:/srv/gemini
|
||||||
|
|
||||||
|
tinylog:
|
||||||
|
zond tinylog
|
||||||
|
zond build
|
||||||
|
scp public/tinylog.gmi nathan@hitchhiker-linux.org:/srv/gemini/
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
echo "$(submit_url)" | eval openssl s_client -connect warmedal.se:1965 -crlf \
|
echo "$(submit_url)" | eval openssl s_client -connect warmedal.se:1965 -crlf \
|
||||||
-ign_eof -quiet
|
-ign_eof -quiet
|
||||||
|
|
|
@ -1,19 +1,25 @@
|
||||||
Meta(
|
Meta(
|
||||||
title: "JeanG3nie's Tinylog",
|
title: "JeanG3nie\'s Tinylog",
|
||||||
summary: None,
|
summary: None,
|
||||||
published: Some(Time(
|
published: Some(Time(
|
||||||
year: 2023,
|
year: 2023,
|
||||||
month: 6,
|
month: 6,
|
||||||
day: 3,
|
day: 4,
|
||||||
hour: 14,
|
hour: 22,
|
||||||
minute: 58,
|
minute: 48,
|
||||||
second: 11,
|
second: 34,
|
||||||
)),
|
)),
|
||||||
tags: [
|
tags: [
|
||||||
"tinylog",
|
"tinylog",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
---
|
---
|
||||||
|
Some shorter thoughts and updates that might not warrant a full gemlog entry. I'll probably be using this to post updates on my various projects in a much more regular fashion.
|
||||||
|
|
||||||
|
=> .. Home
|
||||||
|
|
||||||
|
## 2023-06-04 22:48 UTC
|
||||||
|
I wasn't completely happy with how I had previously setup the workflow for this log, so I did a bit more coding to automate things in a better way than before. I created a small Rust crate for working with Tinylogs and incorporated that into Zond. Now, when you type `zond tinylog` with no other arguments, an editor window will pop up for you to type your thoughts. So long as the temporary file thus created is not empty, the text is added as a new post. This also allows the log to contain a header, which was not possible before.
|
||||||
|
|
||||||
## 2023-06-03 14:58 UTC
|
## 2023-06-03 14:58 UTC
|
||||||
First tinylog post!
|
First tinylog post!
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue