From 781111ae9629cb0807fabd5abf44c20ca29e4462 Mon Sep 17 00:00:00 2001 From: James Tomasino Date: Thu, 7 Oct 2021 01:26:48 +0000 Subject: [PATCH] cosmic voyage update --- atom.xml | 9 ++++++++- index.gmi | 4 ++-- journal/20211008-cosmic-voyage-update.gmi | 24 +++++++++++++++++++++++ journal/index.gmi | 3 ++- 4 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 journal/20211008-cosmic-voyage-update.gmi diff --git a/atom.xml b/atom.xml index ee7f4b1..0e6ae66 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ tomasino@tilde.team - 2021-03-13T00:00:00Z + 2021-10-07T01:26:00Z gemini://tilde.team/~tomasino/ @@ -12,6 +12,13 @@ gemini://tilde.team/~tomasino/about.txt + + Cosmic Voyage Update + + gemini://tilde.team/~tomasino/journal/20211007-cosmic-voyage-update.gmi + 2021-10-07T01:26:00Z + + SSHFP and the TOFU issue diff --git a/index.gmi b/index.gmi index 67208a2..a93105c 100644 --- a/index.gmi +++ b/index.gmi @@ -15,10 +15,10 @@ ## Recent Journal Entries => /~tomasino/journal/ All Entries -=> /~tomasino/journal/20200813-keyboard-layouts.gmi 2020-08-13 Keyboard Layouts (Re: Cadey) => /~tomasino/journal/20200816-gnome-workspaces.gmi 2020-08-16 Gnome Workspaces => /~tomasino/journal/20210227-alt-text.gmi 2021-02-27 Alt Text -=> /~tomasino/journal/20210331-sshfp-and-the-tofu-issue.gmi SSHFP and the TOFU issue +=> /~tomasino/journal/20210331-sshfp-and-the-tofu-issue.gmi 2021-03-31 SSHFP and the TOFU issue +=> /~tomasino/journal/20211007-cosmic-voyage-update.gmi 2021-10-07 Cosmic Voyage Update ## Role Playing Games diff --git a/journal/20211008-cosmic-voyage-update.gmi b/journal/20211008-cosmic-voyage-update.gmi new file mode 100644 index 0000000..0b67dcf --- /dev/null +++ b/journal/20211008-cosmic-voyage-update.gmi @@ -0,0 +1,24 @@ +# Cosmic Voyage Update + +Thanks to a cosmic user, khuxkm, the Cosmic Voyage gemini server is now running directly off of the authored content. This is new, trust me. + +Cosmic was originally built as a system on gopher and as such its content is primarily authored in text files designed to be served on that platform. This is one of the reasons we have hard-breaking preformatted lines. + +Shortly after launch I was asked to add a web version of the site. I wrote a cron-job that ran through the gemini content and transformed it into HTML with some wrappers for styling. This is how things worked for the first two years. Eventually Gemini was established and I did the same thing for that platform. Voyagers would author the content which would immediately publish to gopher. Then a cron-job would fire every hour or so and completely rebuild the web and gemini versions. Oh, and RSS and Atom feeds too! It ... wasn't great. + +A few months ago I scrapped the web script. It had become unreasonably complex and took serious time to compute. There was also a bit of downtime as the site rebuilt. I did some caching nonsense to patch it, but it was all just delaying the eventually rebuild. The web version is now a proxy that pulls content from the gopher folder and recreates the indexes and such on the fly. It's done in node and it works quite well. + +> A quick aside: The web version of the site has a tiny bit of javascript in the header to allow for manual dark-mode. Not all systems support prefers-color-scheme, so this was a fix I added to help in the interim. Now that the site is dynamically built, however, I can remove that client-side code and implement the changes on the back-end. SCORE! + +Tonight marks the change-over for Gemini. khuxkm wrote a python app that sits atop jetforce and does for gemini what my node app does for the web. We're now serving cosmic content in real-time for you geminauts. + +In the days ahead please notify me if you encounter any issues. We ran through it pretty thoroughly and things were looking good, but there's always something that sneaks by. + +> Oh, and RSS and Atom feeds are still updated hourly. If you're fetching more often than that, you can cool it. ;) + + +Originally Published 2021-10-07 at: +gemini://tilde.team/~tomasino/journal/20211007-cosmic-voyage-update.gmi + +If you have questions or thoughts to add please send me a link to your response. +=> /~tomasino/about.txt Contact Information diff --git a/journal/index.gmi b/journal/index.gmi index 4c45659..522e119 100644 --- a/journal/index.gmi +++ b/journal/index.gmi @@ -13,5 +13,6 @@ => /~tomasino/journal/20200813-keyboard-layouts.gmi 2020-08-13 Keyboard Layouts (Re: Cadey) => /~tomasino/journal/20200816-gnome-workspaces.gmi 2020-08-16 Gnome Workspaces => /~tomasino/journal/20210227-alt-text.gmi 2021-02-27 Alt Text -=> /~tomasino/journal/20210331-sshfp-and-the-tofu-issue.gmi SSHFP and the TOFU issue +=> /~tomasino/journal/20210331-sshfp-and-the-tofu-issue.gmi 2021-03-31 SSHFP and the TOFU issue +=> /~tomasino/journal/20211007-cosmic-voyage-update.gmi 2021-10-07 Cosmic Voyage Update