πΎ Archived View for gemini.quietplace.xyz βΊ ~razzlom βΊ gemlog βΊ 2022-04-03-MY008.gmi captured on 2024-03-21 at 14:58:53. Gemini links have been rewritten to link to archived content
β¬ οΈ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Π Gemini ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎ Π²Π΅ΡΡΠΈ ΡΠ²ΠΎΠΉ Π±Π»ΠΎΠ³. ΠΡΠ΄ΠΈ ΠΏΠΈΡΡΡ ΠΎΠ±ΡΡΠΌΠ½ΡΠ΅ ΠΏΠΎΡΡΡ Π³Π΄Π΅ Π²ΡΡΠΊΠ°Π·ΡΠ²Π°ΡΡ ΡΠ²ΠΎΠΈ ΠΌΡΡΠ»ΠΈ, ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°Π½ΠΈΡ ΠΈΠ»ΠΈ Π΄Π΅Π»ΡΡΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΌΠΈ Π½Π°Ρ ΠΎΠ΄ΠΊΠ°ΠΌΠΈ. ΠΠΈΡΠ°ΡΡ Π»Π΅Π³ΠΊΠΎ ΠΈ ΠΏΡΠΈΡΡΠ½ΠΎ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ gemtext ΡΠ°Π·ΠΌΠ΅ΡΠΊΠ΅.
ΠΠΎ ΡΡΠΎ Π΄Π΅Π»Π°ΡΡ Π΅ΡΠ»ΠΈ Π²Ρ Ρ ΠΎΡΠΈΡΠ΅ ΠΏΠΎΠ΄Π΅Π»ΠΈΡΡΡΡ ΠΊΠΎΡΠΎΡΠΊΠΎΠΉ Π·Π°ΠΌΠ΅ΡΠΊΠΎΠΉ, ΡΠ°Π»ΡΠ½ΠΎΠΉ ΠΌΡΡΠ»ΡΡ ΠΈΠ»ΠΈ ΡΡΡΠ»ΠΊΠΎΠΉ? Π‘ΠΎΠ·Π΄Π°Π²Π°ΡΡ ΠΏΠΎΡΡ Π΄Π»Ρ ΡΡΠΎΠ³ΠΎ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠΊΠ°Π·Π°ΡΡΡΡ ΡΠ°ΡΡΠΎΡΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎΠΌ. ΠΡΠΎΠΉ ΠΊΠΎΡΠΎΡΠΊΠΎΠΉ Π·Π°ΠΌΠ΅ΡΠΊΠΎΠΉ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄Π΅Π»ΠΈΡΡΡΡ Π½Π° ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΡΡ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ°Ρ Π΄Π»Ρ ΠΌΠΈΠΊΡΠΎΠ±Π»ΠΎΠ³ΠΈΠ½Π³Π°, ΡΠ°ΠΊΠΈΡ ΠΊΠ°ΠΊ Fediverse (Mastodon, Pleroma, Misskey) ΠΈΠ»ΠΈ Twitter. ΠΠΎ ΡΡΠΎ Π½Π΅ Π½Π°Ρ Π²Π°ΡΠΈΠ°Π½Ρ, Π½Π΅ ΡΠ°ΠΊ Π»ΠΈ? Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎ Π΄Π»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ Π½Π΅ Ρ ΠΎΡΠ΅Ρ ΠΏΠΎΠΊΠΈΠ΄Π°ΡΡ Gemini Π»ΡΠ΄ΠΈ ΠΏΡΠΈΠ΄ΡΠΌΠ°Π»ΠΈ tinylog [1]!
[1] https://codeberg.org/bacardi55/gemini-tinylog-rfc
Tinylog ΡΡΠΎ ΠΎΠΏΡΠ΅Π΄Π΅Π»ΡΠ½Π½ΡΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ ΠΎΡΡΠΎΡΠΌΠ°ΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ gemtext ΡΠ°ΠΉΠ» Ρ ΠΊΠΎΡΠΎΡΠΊΠΈΠΌΠΈ Π·Π°ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ.
ΠΠ΄Π΅Ρ tinylog ΠΏΡΠΈΡΠ»Π° ΠΊ Drew/uoou/Friendo [2], ΠΎΠ½ ΠΆΠ΅ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΈΠ» Π±ΠΎΠ»ΡΡΠΈΠ½ΡΡΠ²ΠΎ ΠΏΡΠ°Π²ΠΈΠ». Π‘ΠΎΠ±ΡΠ°ΡΡ ΠΆΠ΅ ΡΡΠΎ Π²ΡΡ Π² ΡΡΠ°Π½Π΄Π°ΡΡ ΠΏΠΎΡΡΠ°ΡΠ°Π»ΡΡ bacardi55 [3]. Π₯ΠΎΡΡ Π²ΡΡΠ°Π·ΠΈΡΡ ΠΈΠΌ ΠΌΠΎΡ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΠ½ΠΎΡΡΡ.
[2] gemini://friendo.monster/log/lace.gmi
[3] gemini://gmi.bacardi55.io/
Π€Π°ΠΉΠ» Ρ Π·Π°ΠΌΠ΅ΡΠΊΠ°ΠΌΠΈ ΡΠΎΡΠΌΠ°ΡΠΈΡΡΡΡΡΡ ΡΠ»Π΅Π΄ΡΡΡΠΈΠΌ ΡΠΏΠΎΡΠΎΠ±ΠΎΠΌ:
## 2021-06-20 20:40 +0200 A small thought to share. ## 2021-06-20 20:30 CEST A first tinylog entry
ΠΠΎΠ²ΡΠ΅ Π·Π°ΠΌΠ΅ΡΠΊΠΈ Π΄ΠΎΠ±Π°Π²Π»ΡΡΡΡΡ Π² Π½Π°ΡΠ°Π»ΠΎ ΡΠ°ΠΉΠ»Π°.
Π’Π°ΠΊ ΠΆΠ΅ tinylog ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°Π΅Ρ ΠΎΡΠ²Π΅ΡΡ Π½Π° ΡΡΠΆΠΈΠ΅ Π·Π°ΠΌΠ΅ΡΠΊΠΈ. ΠΠ»Ρ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΠΎΡΠΌΠ°ΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΠ±ΡΠ°ΡΡ ΠΎΠ΄ΠΈΠ½ ΠΈΠ· ΡΠ»Π΅Π΄ΡΡΡΠΈΡ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ²:
## 2021-06-20 22:30 CEST => gemini://capsule.tld/tinylog.gmi Re: @user 2021-06-20 22:30 CEST A response to @user: hello, cool post! ## 2021-06-20 22:30 CEST => gemini://capsule.tld/tinylog.gmi Re: @user@capsule.tld 2021-06-20 22:30 CEST A response to @user: hello, cool post! ## 2021-06-20 22:30 CEST Re: @user 2021-06-20 22:30 CEST A response to @user: hello, cool post! ## 2021-06-20 22:30 CEST Re: @user@capsule.tld 2021-06-20 22:30 CEST A response to @user: hello, cool post!
ΠΡΡ Π΅ΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ (Π½ΠΈΠΊΠ½Π΅ΠΉΠΌ, Π°Π²Π°ΡΠ°Ρ), Π½ΠΎ Π΄Π»Ρ ΡΡΠΎΠ³ΠΎ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΠΈΡΠ΅ Tinylog RFC [1] ΠΎΡ Π½Π°ΡΠ°Π»Π° ΠΈ Π΄ΠΎ ΠΊΠΎΠ½ΡΠ°.
ΠΠΎ ΡΠΎΠ³Π»Π°ΡΠΈΡΠ΅ΡΡ, ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠ°Π· ΠΏΠΈΡΠ°ΡΡ Π΄Π°ΡΡ, Π²ΡΠ΅ΠΌΡ, ΡΠ°ΡΠΎΠ²ΠΎΠΉ ΠΏΠΎΡΡ ΠΈ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΠΎΡΠΎΠΌ ΡΠΎ ΡΡΠΎ Π²Ρ Ρ ΠΎΡΠ΅Π»ΠΈ ΡΠΊΠ°Π·Π°ΡΡ Π²Π΅ΡΡΠΌΠ° ΠΌΡΡΠΎΡΠ½ΠΎ. ΠΠΎΡ Π΄Π»Ρ ΡΠ°ΠΊΠΈΡ Π»Π΅Π½ΡΡΠ΅Π² ΠΊΠ°ΠΊ Ρ Π³ΠΎΡΠΏΠΎΠ΄ΠΈΠ½ bacardi55 [3] ΡΠΎΠ·Π΄Π°Π» gtl.
GTL [4] ΡΡΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ Π΄Π»Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠ³ΠΎ ΡΡΠ΅Π½ΠΈΡ, Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΡ ΠΈ ΠΎΡΠ²Π΅ΡΠ° Π½Π° tinylog Π·Π°ΠΌΠ΅ΡΠΊΠΈ.
[4] https://github.com/bacardi55/gtl/
Π‘Π±ΠΎΡΠΊΠ° ΠΈ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ° GTL ΠΎΡΠ΅Π½Ρ ΠΏΡΠΎΡΡΠ°. ΠΠ°ΠΌ Π½ΡΠΆΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ git ΠΈ go Π²Π΅ΡΡΠΈΠΈ >= 1.16.
git clone https://github.com/bacardi55/gtl.git cd gtl make dependencies make build
ΠΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΎΠ·Π΄Π°ΡΡ ΡΡΡΠ»ΠΊΡ Π΄Π»Ρ Π±ΡΡΡΡΠΎΠ³ΠΎ Π²ΡΠ·ΠΎΠ²Π° gtl. ΠΠ°ΠΏΡΠΈΠΌΠ΅Ρ:
ln -s ~/gtl/bin/gtl ~/.local/bin/gtl
ΠΠΎΡΠ»Π΅ ΠΏΠ΅ΡΠ²ΠΎΠ³ΠΎ Π·Π°ΠΏΡΡΠΊΠ° gtl Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΏΠΎΠ΄ΠΏΠΈΡΠ΅ΡΡΡ Π½Π° "Π³Π»ΠΎΠ±Π°Π»ΡΠ½ΡΡ Π»Π΅Π½ΡΡ" [5].
[5] gemini://tinylogs.gmi.bacardi55.io/index.gmi
Π§ΡΠΎΠ±Ρ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄ΠΏΠΈΡΠ°ΡΡΡΡ Π½Π° ΡΠ΅ΠΉ-Π½ΠΈΠ±ΡΠ΄Ρ tinylog Π²ΡΠΏΠΎΠ»Π½ΠΈΡΠ΅:
add --url url --title title
gtl ΠΌΠΎΠΆΠ΅Ρ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π² ΡΡΡΡ ΡΠ΅ΠΆΠΈΠΌΠ°Ρ : TUI, CLI ΠΈ Gemini.
TUI ΡΠ΅ΠΆΠΈΠΌ. ΠΠ²Π΅Π΄ΠΈΡΠ΅:
gtl
ΠΈΠ»ΠΈ
gtl --mode tui
ΠΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ Π²Ρ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ Ρ Π΄Π²ΡΠΌΡ ΠΊΠΎΠ»ΠΎΠ½ΠΊΠ°ΠΌΠΈ. Π‘Π»Π΅Π²Π° ΡΠΏΠΈΡΠΎΠΊ Π²Π°ΡΠΈΡ ΠΏΠΎΠ΄ΠΏΠΈΡΠΎΠΊ, Π° ΡΠΏΡΠ°Π²Π° Π·Π°ΠΌΠ΅ΡΠΊΠΈ. ΠΡΠΎΠΊΡΡΡΠΈΠ²Π°ΡΡ Π·Π°ΠΌΠ΅ΡΠΊΠΈ ΠΌΠΎΠΆΠ½ΠΎ ΡΡΡΠ΅Π»ΠΎΡΠΊΠ°ΠΌΠΈ Π½Π° ΠΊΠ»Π°Π²ΠΈΠ°ΡΡΡΠ΅ ΠΈΠ»ΠΈ ΠΊΠ»Π°Π²ΠΈΡΠ°ΠΌΠΈ j/k. Π§ΡΠΎΠ±Ρ Π½Π°ΠΏΠΈΡΠ°ΡΡ Π½ΠΎΠ²ΡΡ Π·Π°ΠΌΠ΅ΡΠΊΡ Π½Π°ΠΆΠΌΠΈΡΠ΅ N. ΠΠ»Ρ ΠΎΡΠ²Π΅ΡΠ° Π²Π°ΠΌ ΡΠ½Π°ΡΠ°Π»Π° Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎ Π²ΡΠ±ΡΠ°ΡΡ Π·Π°ΠΌΠ΅ΡΠΊΡ Π½Π° ΠΊΠΎΡΠΎΡΡΡ Π²Ρ Π±ΡΠ΄Π΅ΡΠ΅ ΠΎΡΠ²Π΅ΡΠ°ΡΡ ΠΊΠ»Π°Π²ΠΈΡΠ°ΠΌΠΈ J/K, Π° Π·Π°ΡΠ΅ΠΌ Π½Π°ΠΆΠ°ΡΡ R. ΠΡΠΉΡΠΈ ΠΈΠ· ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΆΠ°Π² ΠΊΠ»Π°Π²ΠΈΡΡ q. ΠΠ»Ρ ΡΠΎΠ³ΠΎ ΡΡΠΎΠ±Ρ ΡΠ·Π½Π°ΡΡ ΠΎΠ±ΠΎ Π²ΡΠ΅Ρ Π³ΠΎΡΡΡΠΈΡ ΠΊΠ»Π°Π²ΠΈΡΠ°Ρ Π½Π°ΠΆΠΌΠΈΡΠ΅ ?.
CLI ΡΠ΅ΠΆΠΈΠΌ. ΠΠ»Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ CLI ΡΠ΅ΠΆΠΈΠΌΠ° Π²Π²Π΅Π΄ΠΈΡΠ΅:
gtl --mode cli --limit 10
ΠΡΠΎ Π²ΡΠ²Π΅Π΄Π΅Ρ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠ΅ 10 Π·Π°ΠΌΠ΅ΡΠΎΠΊ ΠΈΠ· Π²Π°ΡΠΈΡ ΠΏΠΎΠ΄ΠΏΠΈΡΠΎΠΊ.
Gemini ΡΠ΅ΠΆΠΈΠΌ. gtl ΠΌΠΎΠΆΠ΅Ρ ΡΠΎΠ·Π΄Π°ΡΡ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ Π²Π°Π»ΠΈΠ΄Π½ΡΠΉ gemtext ΡΠ°ΠΉΠ», ΠΊΠΎΡΠΎΡΡΠΉ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΡ Π»ΡΠ±ΡΠΌ gemini Π±ΡΠ°ΡΠ·Π΅ΡΠΎΠΌ. ΠΠ°ΠΏΡΠΈΠΌΠ΅Ρ:
gtl --mode gemini --limit 10 > timeline.gmi
Π€Π°ΠΉΠ» Ρ Π½Π°ΡΡΡΠΎΠΉΠΊΠ°ΠΌΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΡΠΎΠ·Π΄Π°ΡΡΡΡ ΠΏΡΠΈ ΠΏΠ΅ΡΠ²ΠΎΠΌ Π·Π°ΠΏΡΡΠΊΠ΅ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ ~/.config/gtl/gtl.toml ΠΠ°Π²Π°ΠΉΡΠ΅ ΠΏΠΎΡΠΌΠΎΡΡΠΈΠΌ ΡΡΠΎ ΠΌΡ ΠΌΠΎΠΆΠ΅ΠΌ Π² Π½ΡΠΌ Π½Π°ΡΡΡΠΎΠΈΡΡ ΠΈ ΡΡΠΎ ΠΈΠ·ΠΌΠ΅Π½ΠΈΠ» Π² Π½ΡΠΌ Ρ.
Π ΡΠ΅ΠΏΠ΅ΡΡ ΡΠ°ΠΌΠΎΠ΅ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎΠ΅! ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΡΠ΅ΠΌΡ. ΠΠ»Ρ ΡΡΠΎΠ³ΠΎ Π² ΠΊΠΎΠ½Π΅Ρ ΡΠ°ΠΉΠ»Π° Ρ Π½Π°ΡΡΡΠΎΠΉΠΊΠ°ΠΌΠΈ Π΄ΠΎΠ±Π°Π²ΡΡΠ΅:
# Default (dark) theme: tui_color_background = "000000" tui_color_box = "FFFFFF" tui_color_focus_box = "008000" tui_color_author_name = "FF0000" tui_color_links = "87CEEB" tui_color_elapsed_time = "87CEEB" tui_color_text = "FFFFFF" tui_color_selected_background = "FFFFFF" tui_color_selected_foreground = "000000" tui_color_highlight = "FF0000" tui_color_quote = "808080"
Π ΠΈΠ·ΠΌΠ΅Π½ΡΠΉΡΠ΅ Π½Π° ΡΠ²ΠΎΠΉ Π²ΠΊΡΡ!
Π Π΄Π»Ρ Π²Π°Ρ, ΠΌΠΎΠΈ ΡΠΈΡΠ°ΡΠ΅Π»ΠΈ, Ρ ΠΏΡΠΈΠ³ΠΎΡΠΎΠ²ΠΈΠ» ΠΏΠΎΠ΄Π°ΡΠΎΠΊ. ΠΠ²Π΅ Π³ΠΎΡΠΎΠ²ΡΠ΅ ΡΠ΅ΠΌΡ, gruvbox dark ΠΈ gruvbox light. ΠΠ΅ΡΠ΅Π΄ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΎΠΉ ΡΠ΅ΠΌΡ Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΠ»ΡΠ±ΠΎΠ²Π°ΡΡΡΡ Π½Π° Π½Π΅Ρ ΠΏΠΎ ΡΠ»Π΅Π΄ΡΡΡΠΈΠΌ ΡΡΡΠ»ΠΊΠ°ΠΌ:
gemini://gemini.quietplace.xyz/~razzlom/gemlog/img/gtl_gruvbox_dark.png
gemini://gemini.quietplace.xyz/~razzlom/gemlog/img/gtl_gruvbox_light.png
# gruvbox dark theme: tui_color_background = "282828" tui_color_box = "ebdbb2" tui_color_focus_box = "b8bb26" tui_color_author_name = "fb4934" tui_color_links = "d3869b" tui_color_elapsed_time = "b8bb26" tui_color_text = "ebdbb2" tui_color_selected_background = "ebdbb2" tui_color_selected_foreground = "282828" tui_color_highlight = "fb4934" tui_color_quote = "928374" # gruvbox light theme: tui_color_background = "fbf1c7" tui_color_box = "3c3836" tui_color_focus_box = "79740e" tui_color_author_name = "9d0006" tui_color_links = "8f3f71" tui_color_elapsed_time = "79740e" tui_color_text = "3c3836" tui_color_selected_background = "3c3836" tui_color_selected_foreground = "fbf1c7" tui_color_highlight = "9d0006" tui_color_quote = "7c6f64"
Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ Π·Π° Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅! ΠΠ°Π΄Π΅ΡΡΡ ΡΡΠ° Π·Π°ΠΌΠ΅ΡΠΊΠ° Π±ΡΠ»Π° ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½Π° ΠΈ/ΠΈΠ»ΠΈ ΠΏΠΎΠ»Π΅Π·Π½Π° Π΄Π»Ρ Π²Π°Ρ.
Blogging is popular in Gemini. People write lengthy posts where they express their thoughts, experiences, or share interesting findings. Writing is nice and easy thanks to the gemtext markup.
But what if you want to share a short note, a stray thought, or a link? Creating a post for that might seem like a waste. That short note can be shared on dedicated microblogging platforms like Fediverse (Mastodon, Pleroma, Misskey) or Twitter. But that's not our option, is it? Especially for those who don't want to leave Gemini people came up with tinylog [1]!
[1] https://codeberg.org/bacardi55/gemini-tinylog-rfc
A tinylog is a formatted gemtext file with short notes.
Drew/uoou/Friendo [2] came up with the idea for tinylog and wrote most of the rules. It was bacardi55 [3] who compiled it all into a standard. I want to express my gratitude to them.
[2] gemini://friendo.monster/log/lace.gmi
[3] gemini://gmi.bacardi55.io/
The notes file is formatted as follows:
## 2021-06-20 20:40 +0200 A small thought to share. ## 2021-06-20 20:30 CEST. A first tinylog entry
New notes are added to the beginning of the file.
Tinylog also supports replying to other people's notes. For proper formatting you can choose one of the following options:
## 2021-06-20 22:30 CEST => gemini://capsule.tld/tinylog.gmi Re: @user 2021-06-20 22:30 CEST A response to @user: hello, cool post! ## 2021-06-20 22:30 CEST => gemini://capsule.tld/tinylog.gmi Re: @user@capsule.tld 2021-06-20 22:30 CEST A response to @user: hello, cool post! ## 2021-06-20 22:30 CEST Re: @user 2021-06-20 22:30 PM CEST A response to @user: hello, cool post! ## 2021-06-20 22:30 CEST Re: @user@capsule.tld 2021-06-20 22:30 CEST A response to @user: hello, cool post!
It's also possible to add additional information (nickname, avatar), but to do so, be sure to read Tinylog RFC [1] from beginning to end.
But agree, every time you write the date, time, time zone and only then what you want to say is quite lazy. For lazy people like me sir bacardi55 [3] created gtl.
GTL [4] is a tool for easy reading, writing and responding to tinylog notes.
[4] https://github.com/bacardi55/gtl/
Building and installing the GTL is very easy. You need to have git and go version >= 1.16.
git clone https://github.com/bacardi55/gtl.git cd gtl make dependencies make build
After that you can create a link to call gtl quickly. For example:
ln -s ~/gtl/bin/gtl ~/.local/bin/gtl
After the first run, gtl will automatically subscribe to the "global timeline" [5].
[5] gemini://tinylogs.gmi.bacardi55.io/index.gmi
To subscribe to someone's tinylog yourself, do
add --url url --title title
The gtl has three modes: TUI, CLI and Gemini.
TUI mode. Type:
gtl
or
gtl --mode tui
After that you will see an interface with two columns. On the left is a list of your subscriptions, and on the right are your notes. You can scroll through the notes with the keyboard arrows or with the j/k keys. To write a new note, press N. To reply, you first need to select the note you are going to reply to with the J/K keys and then press R. You can exit the program by pressing q. Press ? to see all hotkeys.
CLI mode. To use CLI mode, type:
gtl --mode cli --limit 10
This will display the last 10 notes from your subscriptions.
Gemini mode. gtl can create a fully valid gemtext file that can be read by any gemini browser. For example:
gtl --mode gemini --limit 10 > timeline.gmi
The file with the program's settings is created at the first startup at ~/.config/gtl/gtl.toml Let's see what we can set up in it and what I can change.
And now the best part! You can change the theme. To do this, add at the end of the settings file:
# Default (dark) theme: tui_color_background = "000000" tui_color_box = "FFFFFFF" tui_color_focus_box = "008000" tui_color_author_name = "FF0000" tui_color_links = "87CEEB" tui_color_elapsed_time = "87CEEB" tui_color_text = "FFFFFFF" tui_color_selected_background = "FFFFFFFF" tui_color_selected_foreground = "00000000" tui_color_highlight = "FF0000" tui_color_quote = "808080"
And change it to your liking!
And for you, my readers, I've prepared a gift. Two ready-to-use themes, gruvbox dark and gruvbox light. Before installing the theme you can admire it at the following links:
gemini://gemini.quietplace.xyz/~razzlom/gemlog/img/gtl_gruvbox_dark.png
gemini://gemini.quietplace.xyz/~razzlom/gemlog/img/gtl_gruvbox_light.png
# gruvbox dark theme: tui_color_background = "282828" tui_color_box = "ebdbb2" tui_color_focus_box = "b8bb26" tui_color_author_name = "fb4934" tui_color_links = "d3869b" tui_color_elapsed_time = "b8bb26" tui_color_text = "ebdbb2" tui_color_selected_background = "ebdbb2" tui_color_selected_foreground = "282828" tui_color_highlight = "fb4934" tui_color_quote = "928374" # gruvbox light theme: tui_color_background = "fbf1c7" tui_color_box = "3c3836" tui_color_focus_box = "79740e" tui_color_author_name = "9d0006" tui_color_links = "8f3f71" tui_color_elapsed_time = "79740e" tui_color_text = "3c3836" tui_color_selected_background = "3c3836" tui_color_selected_foreground = "fbf1c7" tui_color_highlight = "9d0006" tui_color_quote = "7c6f64"
Thank you for your attention! I hope this post was interesting and/or useful to you.