summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--about/resources.md189
-rw-r--r--about/technical-books.txt1
-rw-r--r--gemfeed/2025-03-05-sharing-on-social-media-with-gos.md337
-rw-r--r--gemfeed/index.md1
-rw-r--r--gemfeed/sharing-on-social-media-with-gos/gos-screenshot.pngbin0 -> 137561 bytes
-rw-r--r--gemfeed/sharing-on-social-media-with-gos/gos.pngbin0 -> 3861 bytes
-rw-r--r--index.md3
-rw-r--r--uptime-stats.md2
8 files changed, 437 insertions, 96 deletions
diff --git a/about/resources.md b/about/resources.md
index 2bf2ecd6..d3c3a71c 100644
--- a/about/resources.md
+++ b/about/resources.md
@@ -35,101 +35,102 @@ You won't find any links on this site because, over time, the links will break.
In random order:
-* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
-* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
+* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
+* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
+* Polished Ruby Programming; Jeremy Evans; Packt Publishing
* Java ist auch eine Insel; Christian Ullenboom;
-* Effective awk programming; Arnold Robbins; O'Reilly
-* C++ Programming Language; Bjarne Stroustrup;
-* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
-* Ultimate Go Notebook; Bill Kennedy
-* The Docker Book; James Turnbull; Kindle
+* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
+* Funktionale Programmierung; Peter Pepper; Springer
+* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
+* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+* Higher Order Perl; Mark Dominus; Morgan Kaufmann
+* Effective Java; Joshua Bloch; Addison-Wesley Professional
* Perl New Features; Joshua McAdams, brian d foy; Perl School
-* Site Reliability Engineering; How Google runs production systems; O'Reilly
-* The Pragmatic Programmer; David Thomas; Addison-Wesley
+* Concurrency in Go; Katherine Cox-Buday; O'Reilly
+* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf
+* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
+* Terraform Cookbook; Mikael Krief; Packt Publishing
+* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
+* Systemprogrammierung in Go; Frank Müller; dpunkt
+* Data Science at the Command Line; Jeroen Janssens; O'Reilly
+* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
+* DNS and BIND; Cricket Liu; O'Reilly
* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress
* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly
+* C++ Programming Language; Bjarne Stroustrup;
+* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
+* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
+* Raku Fundamentals; Moritz Lenz; Apress
+* Leanring eBPF; Liz Rice; O'Reilly
+* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
+* The Pragmatic Programmer; David Thomas; Addison-Wesley
+* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt
-* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
-* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
+* Modern Perl; Chromatic ; Onyx Neon Press
* Pro Puppet; James Turnbull, Jeffrey McCune; Apress
-* Concurrency in Go; Katherine Cox-Buday; O'Reilly
+* Effective awk programming; Arnold Robbins; O'Reilly
* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook
-* Higher Order Perl; Mark Dominus; Morgan Kaufmann
-* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
-* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+* Ultimate Go Notebook; Bill Kennedy
+* The Docker Book; James Turnbull; Kindle
* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly
-* Developing Games in Java; David Brackeen and others...; New Riders
-* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
-* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
-* Raku Recipes; J.J. Merelo; Apress
-* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible
-* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
-* Effective Java; Joshua Bloch; Addison-Wesley Professional
-* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
-* Systemprogrammierung in Go; Frank Müller; dpunkt
-* Data Science at the Command Line; Jeroen Janssens; O'Reilly
-* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
-* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
-* Leanring eBPF; Liz Rice; O'Reilly
-* Raku Fundamentals; Moritz Lenz; Apress
-* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly
+* Raku Recipes; J.J. Merelo; Apress
+* Site Reliability Engineering; How Google runs production systems; O'Reilly
* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
-* DNS and BIND; Cricket Liu; O'Reilly
-* Modern Perl; Chromatic ; Onyx Neon Press
-* Terraform Cookbook; Mikael Krief; Packt Publishing
-* Funktionale Programmierung; Peter Pepper; Springer
-* Polished Ruby Programming; Jeremy Evans; Packt Publishing
+* Developing Games in Java; David Brackeen and others...; New Riders
+* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
+* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
+* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible
## Technical references
I didn't read them from the beginning to the end, but I am using them to look up things. The books are in random order:
-* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
-* BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley
* Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly
-* Relayd and Httpd Mastery; Michael W Lucas
* Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley
* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly
+* BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley
+* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
* The Linux Programming Interface; Michael Kerrisk; No Starch Press
+* Relayd and Httpd Mastery; Michael W Lucas
## Self-development and soft-skills books
In random order:
-* Staff Engineer: Leadership beyond the management track; Will Larson; Audible
-* Eat That Frog!; Brian Tracy; Hodder Paperbacks
-* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
-* Psycho-Cybernetics; Maxwell Maltz; Perigee Books
-* The Good Enough Job; Simone Stolzoff; Ebury Edge
-* Digital Minimalism; Cal Newport; Portofolio Penguin
-* The Bullet Journal Method; Ryder Carroll; Fourth Estate
-* The Joy of Missing Out; Christina Crook; New Society Publishers
-* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
-* Influence without Authority; A. Cohen, D. Bradford; Wiley
-* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
* Ultralearning; Anna Laurent; Self-published via Amazon
-* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
+* Psycho-Cybernetics; Maxwell Maltz; Perigee Books
+* Deep Work; Cal Newport; Piatkus
+* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne
+* Soft Skills; John Sommez; Manning Publications
* Slow Productivity; Cal Newport; Penguin Random House
-* Solve for Happy; Mo Gawdat
-* So Good They Can't Ignore You; Cal Newport; Business Plus
-* Getting Things Done; David Allen
+* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
+* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
+* The Off Switch; Mark Cropley; Virgin Books
+* Ultralearning; Scott Young; Thorsons
+* Eat That Frog; Brian Tracy
+* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
+* The Bullet Journal Method; Ryder Carroll; Fourth Estate
* Stop starting, start finishing; Arne Roock; Lean-Kanban University
* Atomic Habits; James Clear; Random House Business
-* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne
* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
-* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
+* Influence without Authority; A. Cohen, D. Bradford; Wiley
+* Digital Minimalism; Cal Newport; Portofolio Penguin
+* Eat That Frog!; Brian Tracy; Hodder Paperbacks
* 101 Essays that change the way you think; Brianna Wiest; Audible
-* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
-* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
-* Ultralearning; Scott Young; Thorsons
-* Eat That Frog; Brian Tracy
-* Deep Work; Cal Newport; Piatkus
-* The Power of Now; Eckhard Tolle; Yellow Kite
+* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
-* The Off Switch; Mark Cropley; Virgin Books
-* Soft Skills; John Sommez; Manning Publications
+* Staff Engineer: Leadership beyond the management track; Will Larson; Audible
+* The Joy of Missing Out; Christina Crook; New Society Publishers
+* The Good Enough Job; Simone Stolzoff; Ebury Edge
* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
+* The Power of Now; Eckhard Tolle; Yellow Kite
+* Getting Things Done; David Allen
+* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
+* So Good They Can't Ignore You; Cal Newport; Business Plus
+* Solve for Happy; Mo Gawdat
+* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
+* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
[Here are notes of mine for some of the books](../notes/index.md)
@@ -137,30 +138,30 @@ In random order:
Some of these were in-person with exams; others were online learning lectures only. In random order:
-* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon
-* Apache Tomcat Best Practises; 3-day on-site training
-* Protocol buffers; O'Reilly Online
-* MySQL Deep Dive Workshop; 2-day on-site training
-* AWS Immersion Day; Amazon; 1-day interactive online training
* Functional programming lecture; Remote University of Hagen
-* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
-* Scripting Vim; Damian Conway; O'Reilly Online
-* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online
+* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
* Ultimate Go Programming; Bill Kennedy; O'Reilly Online
+* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon
+* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online
* Structure and Interpretation of Computer Programs; Harold Abelson and more...;
+* F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
+* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
+* Protocol buffers; O'Reilly Online
* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training
+* Scripting Vim; Damian Conway; O'Reilly Online
+* MySQL Deep Dive Workshop; 2-day on-site training
* Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need)
-* F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
-* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
+* Apache Tomcat Best Practises; 3-day on-site training
* Developing IaC with Terraform (with Live Lessons); O'Reilly Online
+* AWS Immersion Day; Amazon; 1-day interactive online training
## Technical guides
These are not whole books, but guides (smaller or larger) which I found very useful. in random order:
-* How CPUs work at https://cpu.land
-* Advanced Bash-Scripting Guide
* Raku Guide at https://raku.guide
+* Advanced Bash-Scripting Guide
+* How CPUs work at https://cpu.land
## Podcasts
@@ -168,46 +169,46 @@ These are not whole books, but guides (smaller or larger) which I found very use
In random order:
+* Cup o' Go [Golang]
+* Dev Interrupted
+* Fork Around And Find Out
+* Deep Questions with Cal Newport
+* Hidden Brain
+* The Changelog Podcast(s)
* Backend Banter
* BSD Now
-* The Changelog Podcast(s)
-* The Pragmatic Engineer Podcast
* Maintainable
-* Fallthrough [Golang]
-* Deep Questions with Cal Newport
-* Hidden Brain
* The ProdCast (Google SRE Podcast)
-* Fork Around And Find Out
-* Dev Interrupted
-* Cup o' Go [Golang]
+* The Pragmatic Engineer Podcast
+* Fallthrough [Golang]
### Podcasts I liked
I liked them but am not listening to them anymore. The podcasts have either "finished" (no more episodes) or I stopped listening to them due to time constraints or a shift in my interests.
-* CRE: Chaosradio Express [german]
* Ship It (predecessor of Fork Around And Find Out)
-* Go Time (predecessor of fallthrough)
* Java Pub House
-* Modern Mentor
+* Go Time (predecessor of fallthrough)
* FLOSS weekly
+* Modern Mentor
+* CRE: Chaosradio Express [german]
## Newsletters I like
This is a mix of tech and non-tech newsletters I am subscribed to. In random order:
+* The Pragmatic Engineer
* Andreas Brandhorst Newsletter (Sci-Fi author)
-* The Imperfectionist
-* Register Spill
-* VK Newsletter
-* The Valuable Dev
-* Changelog News
* Golang Weekly
-* Ruby Weekly
+* Monospace Mentor
+* VK Newsletter
* Applied Go Weekly Newsletter
+* Ruby Weekly
+* The Imperfectionist
* byteSizeGo
-* The Pragmatic Engineer
-* Monospace Mentor
+* Changelog News
+* Register Spill
+* The Valuable Dev
# Formal education
diff --git a/about/technical-books.txt b/about/technical-books.txt
index fa7c6a8a..da745eea 100644
--- a/about/technical-books.txt
+++ b/about/technical-books.txt
@@ -25,6 +25,7 @@
* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
* Perl New Features; Joshua McAdams, brian d foy; Perl School
* Polished Ruby Programming; Jeremy Evans; Packt Publishing
+* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf
* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
* Pro Puppet; James Turnbull, Jeffrey McCune; Apress
* Raku Fundamentals; Moritz Lenz; Apress
diff --git a/gemfeed/2025-03-05-sharing-on-social-media-with-gos.md b/gemfeed/2025-03-05-sharing-on-social-media-with-gos.md
new file mode 100644
index 00000000..77a9ed19
--- /dev/null
+++ b/gemfeed/2025-03-05-sharing-on-social-media-with-gos.md
@@ -0,0 +1,337 @@
+# Sharing on Social Media with Gos v1.0.0
+
+> Published at 2025-03-04T21:22:07+02:00
+
+As you may have noticed, I like to share on Mastodon and LinkedIn all the technical things I find interesting, and this blog post is technically all about that.
+
+[![Gos logo](./sharing-on-social-media-with-gos/gos.png "Gos logo")](./sharing-on-social-media-with-gos/gos.png)
+
+## Table of Contents
+
+* [⇢ Sharing on Social Media with Gos v1.0.0](#sharing-on-social-media-with-gos-v100)
+* [⇢ ⇢ Introduction](#introduction)
+* [⇢ ⇢ Gos features](#gos-features)
+* [⇢ ⇢ Installation](#installation)
+* [⇢ ⇢ ⇢ Prequisites](#prequisites)
+* [⇢ ⇢ ⇢ Build and install](#build-and-install)
+* [⇢ ⇢ Configuration](#configuration)
+* [⇢ ⇢ ⇢ Configuration fields](#configuration-fields)
+* [⇢ ⇢ ⇢ Automatically managed fields](#automatically-managed-fields)
+* [⇢ ⇢ Invoking Gos](#invoking-gos)
+* [⇢ ⇢ ⇢ Common flags](#common-flags)
+* [⇢ ⇢ ⇢ Examples](#examples)
+* [⇢ ⇢ Composing messages to be posted](#composing-messages-to-be-posted)
+* [⇢ ⇢ ⇢ Basic structure of a message file](#basic-structure-of-a-message-file)
+* [⇢ ⇢ ⇢ Adding share tags in the filename](#adding-share-tags-in-the-filename)
+* [⇢ ⇢ ⇢ Using the `prio` tag](#using-the-prio-tag)
+* [⇢ ⇢ ⇢ More tags](#more-tags)
+* [⇢ ⇢ ⇢ The `gosc` binary](#the-gosc-binary)
+* [⇢ ⇢ How queueing works in gos](#how-queueing-works-in-gos)
+* [⇢ ⇢ ⇢ Step-by-step queueing process](#step-by-step-queueing-process)
+* [⇢ ⇢ ⇢ How message selection works in gos](#how-message-selection-works-in-gos)
+* [⇢ ⇢ Post summary as gemini gemtext](#post-summary-as-gemini-gemtext)
+* [⇢ ⇢ Conclusion](#conclusion)
+
+## Introduction
+
+Gos is a Go-based replacement (which I wrote) for Buffer.com, providing the ability to schedule and manage social media posts from the command line. It can be run, for example, every time you open a new shell or only once every N hours when you open a new shell.
+
+I used Buffer.com to schedule and post my social media messages for a long time. However, over time, there were more problems with that service, including a slow and unintuitive UI, and the free version only allows scheduling up to 10 messages. At one point, they started to integrate an AI assistant (which would seemingly randomly pop up in separate JavaScript-powered input boxes), and then I had enough and decided I had to build my own social sharing tool—and Gos was born.
+
+[https://buffer.com](https://buffer.com)
+[https://codeberg.org/snonux/gos](https://codeberg.org/snonux/gos)
+
+## Gos features
+
+* Mastodon and LinkedIn support.
+* Dry run mode for testing posts without actually publishing.
+* Configurable via flags and environment variables.
+* Easy to integrate into automated workflows.
+* OAuth2 authentication for LinkedIn.
+* Image previews for LinkedIn posts.
+
+## Installation
+
+### Prequisites
+
+The prerequisites are:
+
+* Go (version 1.24 or later)
+* Supported browsers like Firefox, Chrome, etc for oauth2.
+
+### Build and install
+
+Clone the repository:
+
+```bash
+git clone https://codeberg.org/snonux/gos.git
+cd gos
+```
+
+Build the binaries:
+
+```bash
+go build -o gos ./cmd/gos
+go build -o gosc ./cmd/gosc
+sudo mv gos ~/go/bin
+sudo mv gosc ~/go/bin
+```
+
+Or, if you want to use the `Taskfile`:
+
+```bash
+go-task install
+```
+
+## Configuration
+
+Gos requires a configuration file to store API secrets and OAuth2 credentials for each supported social media platform. The configuration is managed using a Secrets structure, which is stored as a JSON file in `~/.config/gos/gos.json`.
+
+Example Configuration File (`~/.config/gos/gos.json`):
+
+```json
+{
+ "MastodonURL": "https://mastodon.example.com",
+ "MastodonAccessToken": "your-mastodon-access-token",
+ "LinkedInClientID": "your-linkedin-client-id",
+ "LinkedInSecret": "your-linkedin-client-secret",
+ "LinkedInRedirectURL": "http://localhost:8080/callback",
+}
+```
+
+### Configuration fields
+
+* `MastodonURL`: The base URL of the Mastodon instance you are using (e.g., https://mastodon.social).
+* `MastodonAccessToken`: Your access token for the Mastodon API, which is used to authenticate your posts.
+* `LinkedInClientID`: The client ID for your LinkedIn app, which is needed for OAuth2 authentication.
+* `LinkedInSecret`: The client secret for your LinkedIn app.
+* `LinkedInRedirectURL`: The redirect URL configured for handling OAuth2 responses.
+* `LinkedInAccessToken`: Gos will automatically update this after successful OAuth2 authentication with LinkedIn.
+* `LinkedInPersonID`: Gos will automatically update this after successful OAuth2 authentication with LinkedIn.
+
+### Automatically managed fields
+
+Once you finish the OAuth2 setup (after the initial run of `gos`), some fields—like `LinkedInAccessToken` and `LinkedInPersonID` will get filled in automatically. To check if everything's working without actually posting anything, you can run the app in dry run mode with the `--dry` option. After OAuth2 is successful, the file will be updated with `LinkedInClientID` and `LinkedInAccessToken`. If the access token expires, it will go through the OAuth2 process again.
+
+## Invoking Gos
+
+Gos is a command-line tool for posting updates to multiple social media platforms. You can run it with various flags to customize its behaviour, such as posting in dry run mode, limiting posts by size, or targeting specific platforms.
+
+Flags control the tool's behavior. Below are several common ways to invoke Gos and descriptions of the available flags.
+
+### Common flags
+
+* `-dry`: Run the application in dry run mode, simulating operations without making any changes.
+* `-version`: Display the current version of the application.
+* `-compose`: Compose a new entry. Default is set by `composeEntryDefault`.
+* `-gosDir`: Specify the directory for Gos' queue and database files. The default is `~/.gosdir`.
+* `—cacheDir`: Specify the directory for Gos' cache. The default is based on the `gosDir` path.
+* `-browser`: Choose the browser for OAuth2 processes. The default is "firefox".
+* `-configPath`: Path to the configuration file. Default is `~/.config/gos/gos.json`.
+* `—platforms`: The enabled platforms and their post size limits. The default is "Mastodon:500,LinkedIn:1000."
+* `-target`: Target number of posts per week. The default is 2.
+* `-minQueued`: Minimum number of queued items before a warning message is printed. The default is 4.
+* `-maxDaysQueued`: Maximum number of days' worth of queued posts before the target increases and pauseDays decreases. The default is 365.
+* `-pauseDays`: Number of days until the next post can be submitted. The default is 3.
+* `-runInterval`: Number of hours until the next post run. The default is 12.
+* `—lookback`: The number of days to look back in time to review posting history. The default is 30.
+* `-geminiSummaryFor`: Generate a Gemini Gemtext format summary specifying months as a comma-separated string.
+* `-geminiCapsules`: Comma-separated list of Gemini capsules. Used to detect Gemtext links.
+* `-gemtexterEnable`: Add special tags for Gemtexter, the static site generator, to the Gemini Gemtext summary.
+* `-dev`: For internal development purposes only.
+
+### Examples
+
+*Dry run mode*
+
+Dry run mode lets you simulate the entire posting process without actually sending the posts. This is useful for testing configurations or seeing what would happen before making real posts.
+
+```bash
+./gos --dry
+```
+
+*Normal run*
+
+Sharing to all platforms is as simple as the following (assuming it is configured correctly):
+
+```bash
+./gos
+```
+
+:-)
+
+[![Gos Screenshot](./sharing-on-social-media-with-gos/gos-screenshot.png "Gos Screenshot")](./sharing-on-social-media-with-gos/gos-screenshot.png)
+
+However, you will notice that no messages are queued to be posted yet (not like on the screenshot yet!). Relax and read on...
+
+## Composing messages to be posted
+
+To post messages using Gos, you need to create text files containing the posts' content. These files are placed inside the directory specified by the `--gosDir` flag (the default directory is `~/.gosdir`). Each text file represents a single post and must have the .txt extension. You can also simply run `gos --compose` to compose a new entry. It will open simply a new text file in `gosDir`.
+
+### Basic structure of a message file
+
+Each text file should contain the message you want to post on the specified platforms. That's it. Example of a Basic Post File `~/.gosdir/samplepost.txt`:
+
+```
+This is a sample message to be posted on social media platforms.
+
+Maybe add a link here: https://foo.zone
+
+#foo #cool #gos #golang
+```
+
+The message is just arbitrary text, and, besides inline share tags (see later in this document) at the beginning, Gos does not parse any of the content other than ensuring the overall allowed size for the social media platform isn't exceeded. If it exceeds the limit, Gos will prompt you to edit the post using your standard text editor (as specified by the `EDITOR` environment variable). When posting, all the hyperlinks, hashtags, etc., are interpreted by the social platforms themselves (e.g., Mastodon, LinkedIn).
+
+### Adding share tags in the filename
+
+You can control which platforms a post is shared to, and manage other behaviors using tags embedded in the filename. Add tags in the format `share:platform1.-platform2` to target specific platforms within the filename. This instructs Gos to share the message only to `platform1` (e.g., Mastodon) and explicitly exclude `platform2` (e.g., LinkedIn). You can include multiple platforms by listing them after `share:`, separated by a `.`. Use the `-` symbol to exclude a platform.
+
+Currently, only `linkedin` and `mastodon` are supported, and the shortcuts `li` and `ma` also work.
+
+**Examples:**
+
+* To share only on Mastodon: `~/.gosdir/foopost.share:mastodon.txt`
+* To exclude sharing on LinkedIn: `~/.gosdir/foopost.share:-linkedin.txt`
+* To explicitly share on both LinkedIn and Mastodon: `~/.gosdir/foopost.share:linkedin:mastodon.txt`
+* To explicitly share only on LinkedIn and exclude Mastodon: `~/.gosdir/foopost.share:linkedin:-mastodon.txt`
+
+Besides encoding share tags in the filename, they can also be embedded within the `.txt` file content to be queued. For example, a file named `~/.gosdir/foopost.txt` with the following content:
+
+```
+share:mastodon The content of the post here
+```
+
+or
+
+```
+share:mastodon
+
+The content of the post is here https://some.foo/link
+
+#some #hashtags
+```
+
+Gos will parse this content, extract the tags, and queue it as `~/.gosdir/db/platforms/mastodon/foopost.share:mastodon.extracted.txt....` (see how post queueing works later in this document).
+
+### Using the `prio` tag
+
+Gos randomly picks any queued message without any specific order or priority. However, you can assign a higher priority to a message. The priority determines the order in which posts are processed, with messages without a priority tag being posted last and those with priority tags being posted first. If multiple messages have the priority tag, then a random message will be selected from them.
+
+*Examples using the Priority tag:*
+
+* To share only on Mastodon: `~/.gosdir/foopost.prio.share:mastodon.txt`
+* To not share on LinkedIn: `~/.gosdir/foopost.prio.share:-linkedin.txt`
+* To explicitly share on both: `~/.gosdir/foopost.prio.share:linkedin:mastodon.txt`
+* To explicitly share on only linkedin: `~/.gosdir/foopost.prio.share:linkedin:-mastodon.txt`
+
+There is more: you can also use the `soon` tag. It is almost the same as the `prio` tag, just with one lower priority.
+
+### More tags
+
+* A `.ask.` in the filename will prompt you to choose whether to queue, edit, or delete a file before queuing it.
+* A `.now.` in the filename will schedule a post immediately, regardless of the target status.
+
+So you could also have filenames like those:
+
+* `~/.gosdir/foopost.ask.txt`
+* `~/.gosdir/foopost.now.txt`
+* `~/.gosdir/foopost.ask.share:mastodon.txt`
+* `~/.gosdir/foopost.ask.prio.share:mastodon.txt`
+* `~/.gosdir/foopost.ask.now.share:-mastodon.txt`
+* `~/.gosdir/foopost.now.share:-linkedin.txt`
+
+etc...
+
+All of the above also works with embedded tags. E.g.:
+
+```
+share:mastodon,ask,prio Hello wold :-)
+```
+
+or
+
+```
+share:mastodon,ask,prio
+
+Hello World :-)
+```
+
+### The `gosc` binary
+
+`gosc` stands for Gos Composer and will simply launch your `$EDITOR` on a new text file in the `gosDir`. It's the same as running `gos --compose`, really. It is a quick way of composing new posts. Once composed, it will ask for your confirmation on whether the message should be queued or not.
+
+## How queueing works in gos
+
+When you place a message file in the `gosDir`, Gos processes it by moving the message through a queueing system before posting it to the target social media platforms. A message's lifecycle includes several key stages, from creation to posting, all managed through the `./db/platforms/PLATFORM` directories.
+
+### Step-by-step queueing process
+
+1. Inserting a Message into `gosDir`: You start by creating a text file that represents your post (e.g., `foo.txt`) and placing it in the `gosDir`. When Gos runs, this file is processed. The easiest way is to use `gosc` here.
+
+2. Moving to the Queue: Upon running Gos, the tool identifies the message in the `gosDir` and places it into the queue for the specified platform. The message is moved into the appropriate directory for each platform in `./db/platforms/PLATFORM`. During this stage, the message file is renamed to include a timestamp indicating when it was queued and given a `.queued` extension.
+
+*Example: If a message is queued for LinkedIn, the filename might look like this:*
+
+```
+~/.gosdir/db/platforms/linkedin/foo.share:-mastodon.txt.20241022-102343.queued
+```
+
+3. Posting the Message: Once a message is placed in the queue, Gos posts it to the specified social media platforms.
+
+4. Renaming to `.posted`: After a message is successfully posted to a platform, the corresponding `.queued` file is renamed to have a `.posted` extension, and the filename timestamp is also updated. This signals that the post has been processed and published.
+
+*Example - After a successful post to LinkedIn, the message file might look like this:*
+
+```
+./db/platforms/linkedin/foo.share:-mastodon.txt.20241112-121323.posted
+```
+
+### How message selection works in gos
+
+Gos decides which messages to post using a combination of priority, platform-specific tags, and timing rules. The message selection process ensures that messages are posted according to your configured cadence and targets while respecting pauses between posts and previously met goals.
+
+The key factors in message selection are:
+
+* Target Number of Posts Per Week: The `-target` flag defines how many posts per week should be made to a specific platform. This target helps Gos manage the posting rate, ensuring that the right number of posts are made without exceeding the desired frequency.
+* Post History Lookback: The `-lookback` flag tells Gos how many days back to look in the post history to calculate whether the weekly post target has already been met. It ensures that previously posted content is considered before deciding to queue up another message.
+* Message Priority: Messages with no priority value are processed after those with priority. If two messages have the same priority, one is selected randomly.
+* Pause Between Posts: The `-pauseDays` flag allows you to specify a minimum number of days to wait between posts for the same platform. This prevents oversaturation of content and ensures that posts are spread out over time.
+
+## Post summary as gemini gemtext
+
+For my blog, I want to post a summary of all the social messages posted over the last couple of months. For an example, have a look here:
+
+[https://foo.zone/gemfeed/2025-01-01-posts-from-october-to-december-2024.html](https://foo.zone/gemfeed/2025-01-01-posts-from-october-to-december-2024.html)
+
+To accomplish this, run:
+
+```sh
+gos --geminiSummaryFor 202410,202411,202412
+```
+
+This outputs the summary for the three specified months, as shown in the example. The summary includes posts from all social media networks but removes duplicates.
+
+Also, add the `--gemtexterEnable` flag, if you are using Gemtexter:
+
+
+```sh
+gos --gemtexterEnable --geminiSummaryFor 202410,202411,202412
+```
+
+[Gemtexter](https://codeberg.org/snonux/gemtexter)
+
+In case there are HTTP links that translate directly to the Geminispace for certain capsules, specify the Gemini capsules as a comma-separated list as follows:
+
+```sh
+gos --gemtexterEnable --geminiSummaryFor 202410,202411,202412 --geminiCapsules "foo.zone,paul.buetow.org"
+```
+
+It will then also generate Gemini Gemtext links in the summary page and flag them with `(Gemini)`.
+
+## Conclusion
+
+Overall, this was a fun little Go project with practical use for me personally. I hope you also had fun reading this, and maybe you will use it as well.
+
+E-Mail your comments to `paul@nospam.buetow.org` :-)
+
+[Back to the main site](../)
diff --git a/gemfeed/index.md b/gemfeed/index.md
index 81c3326c..bae26bbb 100644
--- a/gemfeed/index.md
+++ b/gemfeed/index.md
@@ -2,6 +2,7 @@
## To be in the .zone!
+[2025-03-05 - Sharing on Social Media with Gos v1.0.0](./2025-03-05-sharing-on-social-media-with-gos.md)
[2025-02-08 - Random Weird Things - Part Ⅱ](./2025-02-08-random-weird-things-ii.md)
[2025-02-01 - f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./2025-02-01-f3s-kubernetes-with-freebsd-part-3.md)
[2025-01-15 - Working with an SRE Interview](./2025-01-15-working-with-an-sre-interview.md)
diff --git a/gemfeed/sharing-on-social-media-with-gos/gos-screenshot.png b/gemfeed/sharing-on-social-media-with-gos/gos-screenshot.png
new file mode 100644
index 00000000..cc873df3
--- /dev/null
+++ b/gemfeed/sharing-on-social-media-with-gos/gos-screenshot.png
Binary files differ
diff --git a/gemfeed/sharing-on-social-media-with-gos/gos.png b/gemfeed/sharing-on-social-media-with-gos/gos.png
new file mode 100644
index 00000000..dc2808ce
--- /dev/null
+++ b/gemfeed/sharing-on-social-media-with-gos/gos.png
Binary files differ
diff --git a/index.md b/index.md
index e28b114f..2faffa54 100644
--- a/index.md
+++ b/index.md
@@ -1,6 +1,6 @@
# Hello!
-> This site was generated at 2025-02-23T21:49:52+02:00 by `Gemtexter`
+> This site was generated at 2025-03-04T21:22:08+02:00 by `Gemtexter`
Welcome to the ...
@@ -38,6 +38,7 @@ Everything you read on this site is my personal opinion and experience. You can
### Posts
+[2025-03-05 - Sharing on Social Media with Gos v1.0.0](./gemfeed/2025-03-05-sharing-on-social-media-with-gos.md)
[2025-02-08 - Random Weird Things - Part Ⅱ](./gemfeed/2025-02-08-random-weird-things-ii.md)
[2025-02-01 - f3s: Kubernetes with FreeBSD - Part 3: Protecting from power cuts](./gemfeed/2025-02-01-f3s-kubernetes-with-freebsd-part-3.md)
[2025-01-15 - Working with an SRE Interview](./gemfeed/2025-01-15-working-with-an-sre-interview.md)
diff --git a/uptime-stats.md b/uptime-stats.md
index 1f1e9ef8..491cef15 100644
--- a/uptime-stats.md
+++ b/uptime-stats.md
@@ -1,6 +1,6 @@
# My machine uptime stats
-> This site was last updated at 2025-02-23T21:49:51+02:00
+> This site was last updated at 2025-03-04T21:22:08+02:00
The following stats were collected via `uptimed` on all of my personal computers over many years and the output was generated by `guprecords`, the global uptime records stats analyser of mine.