summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--about/showcase.gmi.tpl1127
-rw-r--r--about/showcase/debroid/image-1.png124
-rw-r--r--gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi38
-rw-r--r--gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi.tpl37
-rw-r--r--gemfeed/f3s-kubernetes-with-freebsd-part-6/drives.jpgbin0 -> 114358 bytes
-rw-r--r--gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpgbin0 -> 301121 bytes
-rw-r--r--gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpgbin0 -> 356228 bytes
7 files changed, 672 insertions, 654 deletions
diff --git a/about/showcase.gmi.tpl b/about/showcase.gmi.tpl
index 15891610..7e1bb251 100644
--- a/about/showcase.gmi.tpl
+++ b/about/showcase.gmi.tpl
@@ -1,6 +1,6 @@
# Project Showcase
-Generated on: 2025-07-09
+Generated on: 2025-07-12
This page showcases my side projects, providing an overview of what each project does, its technical implementation, and key metrics. Each project summary includes information about the programming languages used, development activity, and licensing. The projects are ordered by recent activity, with the most actively maintained projects listed first.
@@ -9,13 +9,13 @@ This page showcases my side projects, providing an overview of what each project
## Overall Statistics
* πŸ“¦ Total Projects: 55
-* πŸ“Š Total Commits: 10,405
-* πŸ“ˆ Total Lines of Code: 231,007
-* πŸ“„ Total Lines of Documentation: 24,381
-* πŸ’» Languages: Java (23.7%), Go (19.2%), C++ (16.1%), C/C++ (8.9%), C (8.3%), Perl (7.3%), Shell (6.4%), Config (2.0%), HTML (2.0%), Ruby (1.2%), HCL (1.2%), Make (0.8%), Python (0.7%), CSS (0.6%), Raku (0.4%), JSON (0.3%), XML (0.3%), Haskell (0.3%), YAML (0.2%), TOML (0.1%)
-* πŸ“š Documentation: Text (46.3%), Markdown (39.6%), LaTeX (14.1%)
-* πŸ€– AI-Assisted Projects: 6 out of 55 (10.9% AI-assisted, 89.1% human-only)
-* πŸš€ Release Status: 31 released, 24 experimental (56.4% with releases, 43.6% experimental)
+* πŸ“Š Total Commits: 10,425
+* πŸ“ˆ Total Lines of Code: 156,358
+* πŸ“„ Total Lines of Documentation: 21,300
+* πŸ’» Languages: Go (30.3%), Java (25.9%), Perl (9.9%), C (9.0%), C/C++ (5.1%), Shell (4.1%), C++ (3.3%), HTML (1.9%), Config (1.9%), Ruby (1.8%), HCL (1.8%), Python (1.0%), Make (0.9%), Raku (0.8%), JSON (0.5%), CSS (0.5%), XML (0.4%), Haskell (0.4%), YAML (0.3%), TOML (0.2%)
+* πŸ“š Documentation: Text (51.2%), Markdown (46.1%), LaTeX (2.7%)
+* πŸ€– AI-Assisted Projects: 8 out of 55 (14.5% AI-assisted, 85.5% human-only)
+* πŸš€ Release Status: 32 released, 23 experimental (58.2% with releases, 41.8% experimental)
## Projects
@@ -27,7 +27,7 @@ This page showcases my side projects, providing an overview of what each project
* πŸ“ˆ Lines of Code: 6548
* πŸ“„ Lines of Documentation: 2338
* πŸ“… Development Period: 2025-06-23 to 2025-07-09
-* πŸ”₯ Recent Activity: 3.4 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 6.1 days (avg. age of last 42 commits)
* βš–οΈ License: BSD-2-Clause
* 🏷️ Latest Release: v0.5.0 (2025-07-09)
* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
@@ -40,19 +40,23 @@ The tool is implemented in Go with a clean architecture that supports both indiv
=> https://codeberg.org/snonux/gitsyncer View on Codeberg
=> https://github.com/snonux/gitsyncer View on GitHub
-Go from `internal/cli/handlers.go`:
+Go from `internal/sync/branch_filter.go`:
```AUTO
-func LoadConfig(configPath string) (*config.Config, error) {
- if configPath == "" {
- configPath = findDefaultConfigPath()
- if configPath == "" {
- return nil, fmt.Errorf("no configuration file found")
+func NewBranchFilter(excludePatterns []string) (*BranchFilter, error) {
+ filter := &BranchFilter{
+ excludePatterns: make([]*regexp.Regexp, 0, len(excludePatterns)),
+ }
+
+ for _, pattern := range excludePatterns {
+ re, err := regexp.Compile(pattern)
+ if err != nil {
+ return nil, fmt.Errorf("invalid regex pattern '%s': %w", pattern, err)
}
+ filter.excludePatterns = append(filter.excludePatterns, re)
}
-
- fmt.Printf("Loaded configuration from: %s\n", configPath)
- return config.Load(configPath)
+
+ return filter, nil
}
```
@@ -66,7 +70,7 @@ func LoadConfig(configPath string) (*config.Config, error) {
* πŸ“ˆ Lines of Code: 873
* πŸ“„ Lines of Documentation: 135
* πŸ“… Development Period: 2025-06-25 to 2025-06-29
-* πŸ”₯ Recent Activity: 12.9 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 15.6 days (avg. age of last 42 commits)
* βš–οΈ License: BSD-2-Clause
* πŸ§ͺ Status: Experimental (no releases yet)
* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
@@ -79,10 +83,14 @@ The project is implemented using a clean modular architecture with the CLI entry
=> https://codeberg.org/snonux/timr View on Codeberg
=> https://github.com/snonux/timr View on GitHub
-Go from `internal/version.go`:
+Go from `internal/live/live.go`:
```AUTO
-const Version = "v0.0.0"
+func tick() tea.Cmd {
+ return tea.Tick(time.Second, func(t time.Time) tea.Msg {
+ return tickMsg(t)
+ })
+}
```
---
@@ -95,7 +103,7 @@ const Version = "v0.0.0"
* πŸ“ˆ Lines of Code: 6160
* πŸ“„ Lines of Documentation: 162
* πŸ“… Development Period: 2025-06-19 to 2025-07-08
-* πŸ”₯ Recent Activity: 13.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 16.0 days (avg. age of last 42 commits)
* βš–οΈ License: BSD-2-Clause
* 🏷️ Latest Release: v0.9.2 (2025-07-02)
* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
@@ -112,38 +120,27 @@ The implementation follows a clean architecture with clear separation of concern
=> https://codeberg.org/snonux/tasksamurai View on Codeberg
=> https://github.com/snonux/tasksamurai View on GitHub
-Go from `internal/ui/table.go`:
+Go from `internal/task/task.go`:
```AUTO
-func editDescriptionCmd(description string) tea.Cmd {
- return func() tea.Msg {
- tmpFile, err := os.CreateTemp("", "tasksamurai-desc-*.txt")
- if err != nil {
- return descEditDoneMsg{err: err, tempFile: ""}
- }
- tmpPath := tmpFile.Name()
-
- _, err = tmpFile.WriteString(description)
- tmpFile.Close()
- if err != nil {
- os.Remove(tmpPath)
- return descEditDoneMsg{err: err, tempFile: ""}
- }
-
- editor := os.Getenv("EDITOR")
- if editor == "" {
- editor = "vi"
- }
-
- c := exec.Command(editor, tmpPath)
- c.Stdin = os.Stdin
- c.Stdout = os.Stdout
- c.Stderr = os.Stderr
-
- return tea.ExecProcess(c, func(err error) tea.Msg {
- return descEditDoneMsg{err: err, tempFile: tmpPath}
- })()
+func SetDebugLog(path string) error {
+ if debugFile != nil {
+ debugFile.Close()
+ debugFile = nil
+ debugWriter = nil
+ }
+
+ if path == "" {
+ return nil
+ }
+
+ f, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o644)
+ if err != nil {
+ return err
}
+ debugFile = f
+ debugWriter = f
+ return nil
}
```
@@ -151,13 +148,13 @@ func editDescriptionCmd(description string) tea.Cmd {
### rexfiles
-* πŸ’» Languages: Shell (34.7%), Perl (32.8%), Config (8.4%), CSS (8.2%), TOML (7.3%), Ruby (6.0%), Lua (1.8%), JSON (0.7%), INI (0.2%)
+* πŸ’» Languages: Perl (38.2%), Shell (30.6%), Config (8.0%), CSS (7.9%), TOML (7.0%), Ruby (5.7%), Lua (1.7%), JSON (0.7%), INI (0.1%)
* πŸ“š Documentation: Text (97.3%), Markdown (2.7%)
-* πŸ“Š Commits: 875
-* πŸ“ˆ Lines of Code: 3956
+* πŸ“Š Commits: 876
+* πŸ“ˆ Lines of Code: 4123
* πŸ“„ Lines of Documentation: 854
-* πŸ“… Development Period: 2021-12-28 to 2025-07-09
-* πŸ”₯ Recent Activity: 16.4 days (avg. age of last 42 commits)
+* πŸ“… Development Period: 2021-12-28 to 2025-07-12
+* πŸ”₯ Recent Activity: 18.2 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -169,12 +166,19 @@ The project consists of three main components: **dotfiles** management for perso
=> https://codeberg.org/snonux/rexfiles View on Codeberg
=> https://github.com/snonux/rexfiles View on GitHub
-Shell from `frontends/scripts/sitestats.sh`:
+Perl from `frontends/scripts/foostats.pl`:
```AUTO
-STATSFILE=/tmp/sitestats.csv
-BOTSFILE=/tmp/sitebots.txt
-TOP=20
+sub write ( $path, $content ) {
+ open my $fh, '>', "$path.tmp"
+ or die "\nCannot open file: $!";
+ print $fh $content;
+ close $fh;
+
+ rename
+ "$path.tmp",
+ $path;
+}
```
---
@@ -187,7 +191,7 @@ TOP=20
* πŸ“ˆ Lines of Code: 20091
* πŸ“„ Lines of Documentation: 5674
* πŸ“… Development Period: 2020-01-09 to 2025-06-20
-* πŸ”₯ Recent Activity: 52.4 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 55.1 days (avg. age of last 42 commits)
* βš–οΈ License: Apache-2.0
* 🏷️ Latest Release: v4.2.0 (2023-06-21)
* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
@@ -204,37 +208,58 @@ The system uses a client-server architecture where dtail servers run on target m
=> https://codeberg.org/snonux/dtail View on Codeberg
=> https://github.com/snonux/dtail View on GitHub
-Go from `internal/io/signal/signal.go`:
+Go from `internal/mapr/groupset.go`:
```AUTO
-func InterruptCh(ctx context.Context) <-chan string {
- sigIntCh := make(chan os.Signal, 10)
- gosignal.Notify(sigIntCh, os.Interrupt)
- sigOtherCh := make(chan os.Signal, 10)
- gosignal.Notify(sigOtherCh, syscall.SIGHUP, syscall.SIGTERM, syscall.SIGQUIT)
- statsCh := make(chan string)
-
- go func() {
- for {
- select {
- case <-sigIntCh:
- select {
- case statsCh <- "Hint: Hit Ctrl+C again to exit":
- select {
- case <-sigIntCh:
- os.Exit(0)
- case <-time.After(time.Second * time.Duration(config.InterruptTimeoutS)):
- }
- default:
- }
- case <-sigOtherCh:
- os.Exit(0)
- case <-ctx.Done():
- return
- }
- }
- }()
- return statsCh
+func NewGroupSet() *GroupSet {
+ g := GroupSet{}
+ g.InitSet()
+ return &g
+}
+```
+
+---
+
+### ior
+
+* πŸ’» Languages: Go (81.0%), Raku (11.5%), C (4.4%), Make (1.7%), C/C++ (1.5%)
+* πŸ“š Documentation: Text (63.6%), Markdown (36.4%)
+* πŸ“Š Commits: 330
+* πŸ“ˆ Lines of Code: 7911
+* πŸ“„ Lines of Documentation: 742
+* πŸ“… Development Period: 2024-01-18 to 2025-07-12
+* πŸ”₯ Recent Activity: 55.8 days (avg. age of last 42 commits)
+* βš–οΈ License: No license found
+* πŸ§ͺ Status: Experimental (no releases yet)
+* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
+
+
+=> showcase/ior/image-1.png ior screenshot
+
+Based on my analysis of the codebase, here's a comprehensive summary of the I/O Riot NG (ior) project:
+
+=> showcase/ior/image-2.svg ior screenshot
+
+**I/O Riot NG** is a Linux-based performance monitoring tool that uses eBPF (extended Berkeley Packet Filter) to trace synchronous I/O system calls and analyze their execution times. This tool is particularly valuable for system performance analysis, allowing developers and system administrators to visualize I/O bottlenecks through detailed flamegraphs. It serves as a modern successor to the original I/O Riot project, migrating from SystemTap/C to a Go/C/BPF implementation for better performance and maintainability.
+
+The architecture combines kernel-level tracing with user-space analysis: eBPF programs (`internal/c/ior.bpf.c`) attach to kernel tracepoints to capture syscall entry/exit events, which are then processed by a Go-based event loop (`internal/eventloop.go`) that correlates enter/exit pairs, tracks file descriptors, and measures timing. The tool can operate in real-time mode for live monitoring or post-processing mode to generate flamegraphs from previously collected data using the Inferno flamegraph library. Key features include filtering capabilities for specific processes or file patterns, comprehensive statistics collection, and support for various I/O syscalls like open, read, write, close, and dup operations.
+
+=> https://codeberg.org/snonux/ior View on Codeberg
+=> https://github.com/snonux/ior View on GitHub
+
+Go from `internal/file/file.go`:
+
+```AUTO
+func NewFd(fd int32, name []byte, flags int32) FdFile {
+ f := FdFile{
+ fd: fd,
+ name: types.StringValue(name),
+ flags: Flags(flags),
+ }
+ if f.flags == -1 {
+ panic(fmt.Sprintf("DEBUG with -1 flags: %v", f))
+ }
+ return f
}
```
@@ -248,7 +273,7 @@ func InterruptCh(ctx context.Context) <-chan string {
* πŸ“ˆ Lines of Code: 396
* πŸ“„ Lines of Documentation: 24
* πŸ“… Development Period: 2025-04-18 to 2025-05-11
-* πŸ”₯ Recent Activity: 71.7 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 74.4 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2025-05-11)
@@ -273,50 +298,6 @@ def initialize(myself)
---
-### ior
-
-* πŸ’» Languages: C (54.7%), Go (37.4%), Raku (5.4%), Make (1.4%), C/C++ (1.1%)
-* πŸ“š Documentation: Text (84.1%), Markdown (15.9%)
-* πŸ“Š Commits: 316
-* πŸ“ˆ Lines of Code: 9835
-* πŸ“„ Lines of Documentation: 559
-* πŸ“… Development Period: 2024-01-18 to 2025-06-14
-* πŸ”₯ Recent Activity: 83.7 days (avg. age of last 42 commits)
-* βš–οΈ License: No license found
-* πŸ§ͺ Status: Experimental (no releases yet)
-
-
-=> showcase/ior/image-1.png ior screenshot
-
-Based on my analysis of the codebase, here's a comprehensive summary of the I/O Riot NG (ior) project:
-
-=> showcase/ior/image-2.svg ior screenshot
-
-**I/O Riot NG** is a Linux-based performance monitoring tool that uses eBPF (extended Berkeley Packet Filter) to trace synchronous I/O system calls and analyze their execution times. This tool is particularly valuable for system performance analysis, allowing developers and system administrators to visualize I/O bottlenecks through detailed flamegraphs. It serves as a modern successor to the original I/O Riot project, migrating from SystemTap/C to a Go/C/BPF implementation for better performance and maintainability.
-
-The architecture combines kernel-level tracing with user-space analysis: eBPF programs (`internal/c/ior.bpf.c`) attach to kernel tracepoints to capture syscall entry/exit events, which are then processed by a Go-based event loop (`internal/eventloop.go`) that correlates enter/exit pairs, tracks file descriptors, and measures timing. The tool can operate in real-time mode for live monitoring or post-processing mode to generate flamegraphs from previously collected data using the Inferno flamegraph library. Key features include filtering capabilities for specific processes or file patterns, comprehensive statistics collection, and support for various I/O syscalls like open, read, write, close, and dup operations.
-
-=> https://codeberg.org/snonux/ior View on Codeberg
-=> https://github.com/snonux/ior View on GitHub
-
-C from `tools/forktest.c`:
-
-```AUTO
-int main() {
- int fd = open("testfile", O_WRONLY| O_CREAT, 0644);
- if (fd < 0) {
- perror("open");
- return 1;
- }
- int flags = fcntl(fd, F_GETFL);
- printf("Parent: File access mode is O_RDWR|O_CREAT (%d %d %d)\n", flags,
- O_RDWR|O_CREAT, O_WRONLY|O_CREAT);
-
- pid_t pid = fork();
-```
-
----
-
### ds-sim
* πŸ’» Languages: Java (98.9%), Shell (0.6%), CSS (0.5%)
@@ -325,7 +306,7 @@ int main() {
* πŸ“ˆ Lines of Code: 25762
* πŸ“„ Lines of Documentation: 3101
* πŸ“… Development Period: 2008-05-15 to 2025-06-27
-* πŸ”₯ Recent Activity: 85.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 87.8 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
@@ -340,28 +321,12 @@ The project is built on an event-driven architecture with clear component separa
=> https://codeberg.org/snonux/ds-sim View on Codeberg
=> https://github.com/snonux/ds-sim View on GitHub
-Java from `src/main/java/simulator/VSCreateTask.java`:
+Java from `src/main/java/testing/HeadlessLoader.java`:
```AUTO
-private String eventClassname;
-
-private String menuText;
-
-private String protocolClassname;
-
-private String shortname;
-
-private boolean isProtocolActivation;
-
-private boolean isProtocolDeactivation;
-
-private boolean isClientProtocol;
-
-private boolean isRequest;
-
-public VSCreateTask(String menuText, String eventClassname) {
- this.menuText = menuText;
- this.eventClassname = eventClassname;
+static {
+ System.setProperty("java.awt.headless", "true");
+ System.setProperty("ds.sim.headless", "true");
}
```
@@ -375,7 +340,7 @@ public VSCreateTask(String menuText, String eventClassname) {
* πŸ“ˆ Lines of Code: 33
* πŸ“„ Lines of Documentation: 3
* πŸ“… Development Period: 2025-04-03 to 2025-04-03
-* πŸ”₯ Recent Activity: 97.6 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 100.3 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -405,7 +370,7 @@ func main() {
* πŸ“ˆ Lines of Code: 3967
* πŸ“„ Lines of Documentation: 411
* πŸ“… Development Period: 2024-05-04 to 2025-06-12
-* πŸ”₯ Recent Activity: 114.5 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 117.3 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2025-03-04)
* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
@@ -422,16 +387,27 @@ The tool is architected around a file-based queueing system where posts progress
=> https://codeberg.org/snonux/gos View on Codeberg
=> https://github.com/snonux/gos View on GitHub
-Go from `internal/platforms/linkedin/linkedin.go`:
+Go from `internal/summary/summary.go`:
```AUTO
-func postImageToLinkedInAPI(ctx context.Context, personURN, accessToken,
- imagePath string) (string, error) {
- uploadURL, imageURN, err := initializeImageUpload(ctx, personURN, accessToken)
+func Run(ctx context.Context, args config.Args) error {
+ entries, err := deduppedEntries(args)
if err != nil {
- return imageURN, err
+ return err
}
- return imageURN, performImageUpload(ctx, imagePath, uploadURL, accessToken)
+
+ sort.Slice(entries, func(i, j int) bool {
+ return entries[i].Time.Before(entries[j].Time)
+ })
+
+ title := fmt.Sprintf("Posts for %s", strings.Join(args.GeminiSummaryFor, " "))
+ gemtext, err := fmt.Print(generateGemtext(args, entries, title))
+ if err != nil {
+ return err
+ }
+ fmt.Println(gemtext)
+
+ return nil
}
```
@@ -441,13 +417,13 @@ func postImageToLinkedInAPI(ctx context.Context, personURN, accessToken,
* πŸ’» Languages: Perl (100.0%)
* πŸ“š Documentation: Markdown (85.1%), Text (14.9%)
-* πŸ“Š Commits: 68
-* πŸ“ˆ Lines of Code: 1556
+* πŸ“Š Commits: 70
+* πŸ“ˆ Lines of Code: 1586
* πŸ“„ Lines of Documentation: 154
-* πŸ“… Development Period: 2023-01-02 to 2025-07-09
-* πŸ”₯ Recent Activity: 128.9 days (avg. age of last 42 commits)
+* πŸ“… Development Period: 2023-01-02 to 2025-07-12
+* πŸ”₯ Recent Activity: 121.3 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
-* πŸ§ͺ Status: Experimental (no releases yet)
+* 🏷️ Latest Release: v0.1.0 (2025-07-12)
Based on the README and project structure, **foostats** is a privacy-respecting web analytics tool written in Perl specifically designed for OpenBSD systems. It processes both traditional HTTP/HTTPS logs and Gemini protocol logs to generate comprehensive traffic statistics while maintaining visitor privacy through SHA3-512 IP hashing. The tool is built for the foo.zone ecosystem and similar sites that need analytics without compromising user privacy.
@@ -482,7 +458,7 @@ sub write ( $path, $content ) {
* πŸ“ˆ Lines of Code: 1373
* πŸ“„ Lines of Documentation: 48
* πŸ“… Development Period: 2024-12-05 to 2025-02-28
-* πŸ”₯ Recent Activity: 138.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 141.1 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -494,52 +470,44 @@ The system is implemented with a modular architecture centered around a DSL clas
=> https://codeberg.org/snonux/rcm View on Codeberg
=> https://github.com/snonux/rcm View on GitHub
-Ruby from `lib/dslkeywords/package.rb`:
-
-```AUTO
-def package(name, &block)
- return unless @conds_met
-
- f = Package.new(name)
- f.packages(f.instance_eval(&block))
- self << f
- f
-```
-
----
-
-### gemtexter
-
-* πŸ’» Languages: Shell (68.1%), CSS (28.7%), Config (1.9%), HTML (1.3%)
-* πŸ“š Documentation: Text (76.1%), Markdown (23.9%)
-* πŸ“Š Commits: 465
-* πŸ“ˆ Lines of Code: 2268
-* πŸ“„ Lines of Documentation: 1180
-* πŸ“… Development Period: 2021-05-21 to 2025-07-09
-* πŸ”₯ Recent Activity: 200.7 days (avg. age of last 42 commits)
-* βš–οΈ License: GPL-3.0
-* 🏷️ Latest Release: 3.0.0 (2024-10-01)
-
-
-**Gemtexter** is a static site generator and blog engine that transforms content written in Gemini Gemtext format into multiple output formats. It's a comprehensive Bash-based tool designed to support the Gemini protocol (a simpler alternative to HTTP) while maintaining compatibility with traditional web technologies. The project converts a single source of Gemtext content into HTML (XHTML 1.0 Transitional), Markdown, and native Gemtext formats, enabling authors to write once and publish across multiple platforms including Gemini capsules, traditional websites, and GitHub/Codeberg pages.
-
-The implementation is built entirely in Bash (version 5.x+) using a modular library approach with separate source files for different functionality (atomfeed, gemfeed, HTML generation, Markdown conversion, templating, etc.). Key features include automatic blog post indexing, Atom feed generation, customizable HTML themes, source code highlighting, Bash-based templating system, and integrated Git workflow management. The architecture separates content directories by format (gemtext/, html/, md/) and includes comprehensive theming support, font embedding, and publishing workflows that can automatically sync content to multiple Git repositories for deployment on various platforms.
-
-=> https://codeberg.org/snonux/gemtexter View on Codeberg
-=> https://github.com/snonux/gemtexter View on GitHub
-
-Shell from `lib/generate.source.sh`:
+Ruby from `lib/dslkeywords/file.rb`:
```AUTO
-done < <(find "$CONTENT_BASE_DIR/gemtext" -type f -name \*.gmi)
-
-wait
-log INFO "Converted $num_gmi_files Gemtext files"
-
-log VERBOSE "Adding other docs to $*"
-
-while read -r src; do
- num_doc_files=$(( num_doc_files + 1 ))
+def mode(what) = @mode = what
+def owner(what) = @owner = what
+def group(what) = @group = what
+
+def evaluate!
+ unless super
+ @mode = nil
+ return false
+ end
+ true
+end
+
+def content(text = nil)
+ if text.nil?
+ text = @from == :sourcefile ? ::File.read(@content) : @content
+ return @from == :template ? ERB.new(text).result : text
+ end
+ @content = text.instance_of?(Array) ? text.join("\n") : text
+end
+
+protected
+
+def permissions!(file_path = path)
+ return unless ::File.exist?(file_path)
+
+ stat = ::File.stat(file_path)
+ set_mode!(stat)
+ set_owner!(stat)
+end
+
+def validate(method, what, *valids)
+ return what if valids.include?(what)
+
+ raise UnsupportedOperation,
+ "Unsupported '#{method}' operation #{what} (#{what.class})"
```
---
@@ -552,7 +520,7 @@ while read -r src; do
* πŸ“ˆ Lines of Code: 917
* πŸ“„ Lines of Documentation: 33
* πŸ“… Development Period: 2024-01-20 to 2025-07-06
-* πŸ”₯ Recent Activity: 448.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 451.0 days (avg. age of last 42 commits)
* βš–οΈ License: MIT
* 🏷️ Latest Release: v0.0.3 (2025-07-06)
@@ -623,7 +591,7 @@ func createPreferenceWindow(a fyne.App) fyne.Window {
* πŸ“ˆ Lines of Code: 12
* πŸ“„ Lines of Documentation: 3
* πŸ“… Development Period: 2024-03-24 to 2024-03-24
-* πŸ”₯ Recent Activity: 472.1 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 474.9 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -660,7 +628,7 @@ aws: build
* πŸ“ˆ Lines of Code: 2850
* πŸ“„ Lines of Documentation: 52
* πŸ“… Development Period: 2023-08-27 to 2025-04-05
-* πŸ”₯ Recent Activity: 502.1 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 504.9 days (avg. age of last 42 commits)
* βš–οΈ License: MIT
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -672,17 +640,89 @@ The system is designed to host multiple personal services including Anki sync se
=> https://codeberg.org/snonux/terraform View on Codeberg
=> https://github.com/snonux/terraform View on GitHub
-HCL from `s3-org-buetow-tfstate/main.tf`:
+HCL from `org-buetow-eks/remotestates.tf`:
```AUTO
-terraform {
- backend "s3" {
+data "terraform_remote_state" "base" {
+ backend = "s3"
+ config = {
bucket = "org-buetow-tfstate"
- key = "s3-org-buetow-tfstate/terraform.tfstate"
+ key = "org-buetow-base/terraform.tfstate"
region = "eu-central-1"
- encrypt = true
}
}
+
+data "terraform_remote_state" "elb" {
+```
+
+---
+
+### gogios
+
+* πŸ’» Languages: Go (94.4%), YAML (3.4%), JSON (2.2%)
+* πŸ“š Documentation: Markdown (100.0%)
+* πŸ“Š Commits: 77
+* πŸ“ˆ Lines of Code: 1096
+* πŸ“„ Lines of Documentation: 287
+* πŸ“… Development Period: 2023-04-17 to 2025-06-12
+* πŸ”₯ Recent Activity: 517.7 days (avg. age of last 42 commits)
+* βš–οΈ License: Custom License
+* 🏷️ Latest Release: v1.1.0 (2024-05-03)
+* πŸ€– AI-Assisted: This project was partially created with the help of generative AI
+
+
+=> showcase/gogios/image-1.png gogios screenshot
+
+Gogios is a lightweight, minimalistic monitoring tool written in Go designed for small-scale server monitoring. It executes standard Nagios-compatible check plugins and sends email notifications only when service states change, making it ideal for personal infrastructure or small environments with limited resources. The tool emphasizes simplicity over complexity, avoiding the bloat of enterprise monitoring solutions like Nagios, Icinga, or Prometheus by eliminating features like web UIs, databases, contact groups, and clustering.
+
+The implementation follows a clean architecture with concurrent check execution, dependency management, and persistent state tracking. Key features include state-based notifications (only alerts on status changes), configurable retry logic, federation support for distributed monitoring, and stale detection for checks that haven't run recently. The tool is configured via JSON and requires only a local mail transfer agent for notifications. It's designed to run via cron jobs and supports high-availability setups through simple dual-server configurations, making it perfect for users who want effective monitoring without operational overhead.
+
+=> https://codeberg.org/snonux/gogios View on Codeberg
+=> https://github.com/snonux/gogios View on GitHub
+
+Go from `internal/state.go`:
+
+```AUTO
+func newState(conf config) (state, error) {
+ s := state{
+ stateFile: fmt.Sprintf("%s/state.json", conf.StateDir),
+ checks: make(map[string]checkState),
+ staleEpoch: time.Now().Unix() - int64(conf.StaleThreshold),
+ }
+
+ if _, err := os.Stat(s.stateFile); err != nil {
+ return s, nil
+ }
+
+ file, err := os.Open(s.stateFile)
+ if err != nil {
+ return s, err
+ }
+ defer file.Close()
+
+ bytes, err := io.ReadAll(file)
+ if err != nil {
+ return s, err
+ }
+
+ if err := json.Unmarshal(bytes, &s.checks); err != nil {
+ return s, err
+ }
+
+ var obsolete []string
+ for name := range s.checks {
+ if _, ok := conf.Checks[name]; !ok {
+ obsolete = append(obsolete, name)
+ }
+ }
+
+ for _, name := range obsolete {
+ delete(s.checks, name)
+ log.Printf("State of %s is obsolete (removed)", name)
+ }
+
+ return s, nil
+}
```
---
@@ -695,7 +735,7 @@ terraform {
* πŸ“ˆ Lines of Code: 32
* πŸ“„ Lines of Documentation: 3
* πŸ“… Development Period: 2023-12-31 to 2023-12-31
-* πŸ”₯ Recent Activity: 555.7 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 558.4 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -732,7 +772,7 @@ run: build
* πŸ“ˆ Lines of Code: 29
* πŸ“„ Lines of Documentation: 3
* πŸ“… Development Period: 2023-08-13 to 2024-01-01
-* πŸ”₯ Recent Activity: 648.9 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 651.6 days (avg. age of last 42 commits)
* βš–οΈ License: MIT
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -770,7 +810,7 @@ aws:
* πŸ“ˆ Lines of Code: 1525
* πŸ“„ Lines of Documentation: 15
* πŸ“… Development Period: 2023-04-17 to 2023-11-19
-* πŸ”₯ Recent Activity: 701.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 703.8 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -782,15 +822,33 @@ The architecture consists of several key components: a quorum manager that handl
=> https://codeberg.org/snonux/gorum View on Codeberg
=> https://github.com/snonux/gorum View on GitHub
-Go from `internal/utils/string.go`:
+Go from `internal/notifier/email.go`:
```AUTO
- "strings"
-)
+func (em email) send(conf config.Config) error {
+ if !conf.EmailNotifycationEnabled() {
+ return nil
+ }
+ log.Println("notify:", em.subject, em.body)
+
+ headers := map[string]string{
+ "From": conf.EmailFrom,
+ "To": conf.EmailTo,
+ "Subject": em.subject,
+ "MIME-Version": "1.0",
+ "Content-Type": "text/plain; charset=\"utf-8\"",
+ }
+
+ header := ""
+ for k, v := range headers {
+ header += fmt.Sprintf("%s: %s\r\n", k, v)
+ }
+
+ message := header + "\r\n" + em.body
+ log.Println("Using SMTP server", conf.SMTPServer)
-func StripPort(addr string) string {
- parts := strings.Split(addr, ":")
- return parts[0]
+ return smtp.SendMail(conf.SMTPServer, nil, conf.EmailFrom,
+ []string{conf.EmailTo}, []byte(message))
}
```
@@ -804,7 +862,7 @@ func StripPort(addr string) string {
* πŸ“ˆ Lines of Code: 312
* πŸ“„ Lines of Documentation: 416
* πŸ“… Development Period: 2013-03-22 to 2025-05-18
-* πŸ”₯ Recent Activity: 751.1 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 753.8 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: v1.0.0 (2023-04-29)
@@ -839,75 +897,6 @@ method output-trim(Str \str, UInt \line-limit --> Str) {
---
-### gogios
-
-* πŸ’» Languages: Go (90.8%), YAML (5.6%), JSON (3.6%)
-* πŸ“š Documentation: Markdown (100.0%)
-* πŸ“Š Commits: 77
-* πŸ“ˆ Lines of Code: 662
-* πŸ“„ Lines of Documentation: 195
-* πŸ“… Development Period: 2023-04-17 to 2024-05-03
-* πŸ”₯ Recent Activity: 762.0 days (avg. age of last 42 commits)
-* βš–οΈ License: Custom License
-* 🏷️ Latest Release: v1.1.0 (2024-05-03)
-
-⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
-
-=> showcase/gogios/image-1.png gogios screenshot
-
-Gogios is a lightweight, minimalistic monitoring tool written in Go designed for small-scale server monitoring. It executes standard Nagios-compatible check plugins and sends email notifications only when service states change, making it ideal for personal infrastructure or small environments with limited resources. The tool emphasizes simplicity over complexity, avoiding the bloat of enterprise monitoring solutions like Nagios, Icinga, or Prometheus by eliminating features like web UIs, databases, contact groups, and clustering.
-
-The implementation follows a clean architecture with concurrent check execution, dependency management, and persistent state tracking. Key features include state-based notifications (only alerts on status changes), configurable retry logic, federation support for distributed monitoring, and stale detection for checks that haven't run recently. The tool is configured via JSON and requires only a local mail transfer agent for notifications. It's designed to run via cron jobs and supports high-availability setups through simple dual-server configurations, making it perfect for users who want effective monitoring without operational overhead.
-
-=> https://codeberg.org/snonux/gogios View on Codeberg
-=> https://github.com/snonux/gogios View on GitHub
-
-Go from `internal/state.go`:
-
-```AUTO
-func readState(conf config) (state, error) {
- s := state{
- stateFile: fmt.Sprintf("%s/state.json", conf.StateDir),
- checks: make(map[string]checkState),
- }
-
- if _, err := os.Stat(s.stateFile); err != nil {
- return s, nil
- }
-
- file, err := os.Open(s.stateFile)
- if err != nil {
- return s, err
- }
- defer file.Close()
-
- bytes, err := io.ReadAll(file)
- if err != nil {
- return s, err
- }
-
- if err := json.Unmarshal(bytes, &s.checks); err != nil {
- return s, err
- }
-
- var obsolete []string
- for name := range s.checks {
- if _, ok := conf.Checks[name]; !ok {
- obsolete = append(obsolete, name)
- }
- }
-
- for _, name := range obsolete {
- delete(s.checks, name)
- log.Printf("State of %s is obsolete (removed)", name)
- }
-
- return s, nil
-}
-```
-
----
-
### randomjournalpage
* πŸ’» Languages: Shell (94.1%), Make (5.9%)
@@ -916,7 +905,7 @@ func readState(conf config) (state, error) {
* πŸ“ˆ Lines of Code: 51
* πŸ“„ Lines of Documentation: 26
* πŸ“… Development Period: 2022-06-02 to 2024-04-20
-* πŸ”₯ Recent Activity: 765.8 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 768.5 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -941,6 +930,44 @@ declare -i NUM_PAGES_TO_EXTRACT=42 # This is the answear!
---
+### gemtexter
+
+* πŸ’» Languages: Shell (85.6%), CSS (9.0%), Config (3.3%), HTML (2.1%)
+* πŸ“š Documentation: Text (71.7%), Markdown (28.3%)
+* πŸ“Š Commits: 465
+* πŸ“ˆ Lines of Code: 1451
+* πŸ“„ Lines of Documentation: 738
+* πŸ“… Development Period: 2021-05-21 to 2023-03-31
+* πŸ”₯ Recent Activity: 853.0 days (avg. age of last 42 commits)
+* βš–οΈ License: Custom License
+* 🏷️ Latest Release: 3.0.0 (2024-10-01)
+
+⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
+
+**Gemtexter** is a static site generator and blog engine that transforms content written in Gemini Gemtext format into multiple output formats. It's a comprehensive Bash-based tool designed to support the Gemini protocol (a simpler alternative to HTTP) while maintaining compatibility with traditional web technologies. The project converts a single source of Gemtext content into HTML (XHTML 1.0 Transitional), Markdown, and native Gemtext formats, enabling authors to write once and publish across multiple platforms including Gemini capsules, traditional websites, and GitHub/Codeberg pages.
+
+The implementation is built entirely in Bash (version 5.x+) using a modular library approach with separate source files for different functionality (atomfeed, gemfeed, HTML generation, Markdown conversion, templating, etc.). Key features include automatic blog post indexing, Atom feed generation, customizable HTML themes, source code highlighting, Bash-based templating system, and integrated Git workflow management. The architecture separates content directories by format (gemtext/, html/, md/) and includes comprehensive theming support, font embedding, and publishing workflows that can automatically sync content to multiple Git repositories for deployment on various platforms.
+
+=> https://codeberg.org/snonux/gemtexter View on Codeberg
+=> https://github.com/snonux/gemtexter View on GitHub
+
+Shell from `lib/html.source.sh`:
+
+```AUTO
+ done < <(find "$html_base_dir" -mindepth 1 -maxdepth 1 -type d | $GREP -E
+ -v '(\.git)')
+ cp "$HTML_WEBFONT_TEXT" "$html_base_dir/text.ttf"
+ cp "$HTML_WEBFONT_CODE" "$html_base_dir/code.ttf"
+ cp "$HTML_WEBFONT_HANDNOTES" "$html_base_dir/handnotes.ttf"
+ cp "$HTML_WEBFONT_TYPEWRITER" "$html_base_dir/typewriter.ttf"
+}
+
+html::fromgmi () {
+ local is_list=no
+```
+
+---
+
### sway-autorotate
* πŸ’» Languages: Shell (100.0%)
@@ -949,7 +976,7 @@ declare -i NUM_PAGES_TO_EXTRACT=42 # This is the answear!
* πŸ“ˆ Lines of Code: 41
* πŸ“„ Lines of Documentation: 17
* πŸ“… Development Period: 2020-01-30 to 2025-04-30
-* πŸ”₯ Recent Activity: 1059.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 1062.1 days (avg. age of last 42 commits)
* βš–οΈ License: GPL-3.0
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -975,48 +1002,6 @@ declare -r SCREEN=eDP-1
---
-### photoalbum
-
-* πŸ’» Languages: Shell (80.1%), Make (12.3%), Config (7.6%)
-* πŸ“š Documentation: Markdown (100.0%)
-* πŸ“Š Commits: 153
-* πŸ“ˆ Lines of Code: 342
-* πŸ“„ Lines of Documentation: 39
-* πŸ“… Development Period: 2011-11-19 to 2022-04-02
-* πŸ”₯ Recent Activity: 1278.9 days (avg. age of last 42 commits)
-* βš–οΈ License: No license found
-* 🏷️ Latest Release: 0.5.0 (2022-02-21)
-
-⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
-
-PhotoAlbum is a minimal Bash script for Unix-like systems that generates static web photo albums from directories of images. It creates pure HTML+CSS galleries without JavaScript, making them lightweight and universally compatible. The tool is designed for simplicity and portability - users point it at a directory of photos, configure basic settings like thumbnail size and gallery title, and it automatically generates a complete static website with image previews, navigation, and optional download archives.
-
-The implementation centers around a single Bash script (`photoalbum.sh`) that uses ImageMagick's `convert` command to generate thumbnails and resized images, then applies customizable HTML templates to create the gallery structure. The architecture separates configuration (via `photoalbumrc` files), templating (modular `.tmpl` files for different page components), and processing logic, allowing users to customize the appearance while maintaining the core functionality. The generated output is a self-contained `dist` directory that can be deployed to any static web server.
-
-=> https://codeberg.org/snonux/photoalbum View on Codeberg
-=> https://github.com/snonux/photoalbum View on GitHub
-
-Shell from `src/photoalbum.sh`:
-
-```AUTO
- for sub in thumbs blurs photos; do
- if [ -f "$DIST_DIR/$sub/$basename" ]; then
- rm -v "$DIST_DIR/$sub/$basename"
- fi
- done
- done
-}
-
-scalephotos () {
- cd "$INCOMING_DIR" && find ./ -maxdepth 1 -type f | sort |
- while read -r photo; do
- declare photo="$(sed 's#^\./##' <<< "$photo")"
- declare destphoto="$DIST_DIR/photos/$photo"
- declare destphoto_nospace="${destphoto// /_}"
-```
-
----
-
### algorithms
* πŸ’» Languages: Go (99.2%), Make (0.8%)
@@ -1025,7 +1010,7 @@ scalephotos () {
* πŸ“ˆ Lines of Code: 1728
* πŸ“„ Lines of Documentation: 18
* πŸ“… Development Period: 2020-07-12 to 2023-04-09
-* πŸ”₯ Recent Activity: 1430.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 1432.8 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1038,21 +1023,22 @@ The project leverages Go's generics system to provide type-safe implementations
=> https://codeberg.org/snonux/algorithms View on Codeberg
=> https://github.com/snonux/algorithms View on GitHub
-Go from `queue/elementarypriority.go`:
+Go from `search/bst.go`:
```AUTO
-func (q *ElementaryPriority[T]) DeleteMax() T {
- if q.Empty() {
- return 0
- }
-
- ind, max := q.max()
- for i := ind + 1; i < q.Size(); i++ {
- q.a[i-1] = q.a[i]
+func (n *node[K,V]) String() string {
+ recurse := func(n *node[K,V]) string {
+ if n == nil {
+ return ""
+ }
+ return n.String()
}
- q.a = q.a[0 : len(q.a)-1]
- return max
+ return fmt.Sprintf("node[K,V]{%v:%v,%s,%s}",
+ n.key,
+ n.val,
+ recurse(n.left),
+ recurse(n.right))
}
```
@@ -1066,7 +1052,7 @@ func (q *ElementaryPriority[T]) DeleteMax() T {
* πŸ“ˆ Lines of Code: 671
* πŸ“„ Lines of Documentation: 19
* πŸ“… Development Period: 2018-05-26 to 2025-01-21
-* πŸ”₯ Recent Activity: 1431.8 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 1434.6 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1095,11 +1081,11 @@ def out(message, prefix, flag = :none)
### foo.zone
* πŸ“š Documentation: Markdown (100.0%)
-* πŸ“Š Commits: 2905
+* πŸ“Š Commits: 2908
* πŸ“ˆ Lines of Code: 0
* πŸ“„ Lines of Documentation: 23
* πŸ“… Development Period: 2021-05-21 to 2022-04-02
-* πŸ”₯ Recent Activity: 1445.6 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 1448.4 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1122,7 +1108,7 @@ The site is built using **Gemtexter**, a static site generator that creates both
* πŸ“ˆ Lines of Code: 51
* πŸ“„ Lines of Documentation: 69
* πŸ“… Development Period: 2014-03-24 to 2022-04-23
-* πŸ”₯ Recent Activity: 1911.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 1913.7 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1156,7 +1142,7 @@ sub hello() {
* πŸ“ˆ Lines of Code: 12420
* πŸ“„ Lines of Documentation: 610
* πŸ“… Development Period: 2018-03-01 to 2020-01-22
-* πŸ”₯ Recent Activity: 2452.5 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 2455.3 days (avg. age of last 42 commits)
* βš–οΈ License: Apache-2.0
* 🏷️ Latest Release: 0.5.1 (2019-01-04)
@@ -1173,6 +1159,44 @@ The tool is implemented in C for minimal overhead and uses SystemTap for efficie
---
+### photoalbum
+
+* πŸ’» Languages: Shell (78.1%), Make (13.5%), Config (8.4%)
+* πŸ“š Documentation: Text (100.0%)
+* πŸ“Š Commits: 153
+* πŸ“ˆ Lines of Code: 311
+* πŸ“„ Lines of Documentation: 45
+* πŸ“… Development Period: 2011-11-19 to 2022-02-20
+* πŸ”₯ Recent Activity: 2879.8 days (avg. age of last 42 commits)
+* βš–οΈ License: No license found
+* 🏷️ Latest Release: 0.5.0 (2022-02-21)
+
+⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
+
+PhotoAlbum is a minimal Bash script for Unix-like systems that generates static web photo albums from directories of images. It creates pure HTML+CSS galleries without JavaScript, making them lightweight and universally compatible. The tool is designed for simplicity and portability - users point it at a directory of photos, configure basic settings like thumbnail size and gallery title, and it automatically generates a complete static website with image previews, navigation, and optional download archives.
+
+The implementation centers around a single Bash script (`photoalbum.sh`) that uses ImageMagick's `convert` command to generate thumbnails and resized images, then applies customizable HTML templates to create the gallery structure. The architecture separates configuration (via `photoalbumrc` files), templating (modular `.tmpl` files for different page components), and processing logic, allowing users to customize the appearance while maintaining the core functionality. The generated output is a self-contained `dist` directory that can be deployed to any static web server.
+
+=> https://codeberg.org/snonux/photoalbum View on Codeberg
+=> https://github.com/snonux/photoalbum View on GitHub
+
+Shell from `src/photoalbum.sh`:
+
+```AUTO
+ find "$DIST_DIR" -maxdepth 1 -type f -name \*.tar -delete
+ declare base="$(basename "$INCOMING_DIR")"
+
+ echo "Creating tarball $DIST_DIR/$tarball_name from $INCOMING_DIR"
+ cd "$(dirname "$INCOMING_DIR")"
+ tar "$TAR_OPTS" -f "$DIST_DIR/$tarball_name" "$base"
+ cd - &>/dev/null
+}
+
+template () {
+```
+
+---
+
### staticfarm-apache-handlers
* πŸ’» Languages: Perl (96.4%), Make (3.6%)
@@ -1181,7 +1205,7 @@ The tool is implemented in C for minimal overhead and uses SystemTap for efficie
* πŸ“ˆ Lines of Code: 919
* πŸ“„ Lines of Documentation: 12
* πŸ“… Development Period: 2015-01-02 to 2021-11-04
-* πŸ”₯ Recent Activity: 2961.2 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 2964.0 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 1.1.3 (2015-01-02)
@@ -1194,51 +1218,13 @@ The system is particularly useful for distributed static content delivery where
=> https://codeberg.org/snonux/staticfarm-apache-handlers View on Codeberg
=> https://github.com/snonux/staticfarm-apache-handlers View on GitHub
-Perl from `src/StaticFarm/API.pm`:
+Perl from `debian/staticfarm-apache-handlers/usr/share/staticfarm/apache/handlers/StaticFarm/CacheControl.pm`:
```AUTO
-sub handler {
- my $r = shift;
- $r->content_type('application/json');
-
- my $method = $r->method();
-
- my $d = {
- method => $method,
- uri => $r->uri(),
- args => $r->args(),
- out => { message => "" },
- };
-
- ($d->{path}) = $r->uri() =~ /^$URI_PREFIX(.*)/;
- $d->{fullpath} = "$CONTENT_DIR$d->{path}";
-
- my %params = map {
- s/\.\.//g;
- my ($k, $v) = split '=', $_;
- $v
- $k => $v;
- } split '&', $r->args();
-
- $d->{params} = \%params;
-
- if ($method eq 'GET') {
- handler_get($r, $d);
+sub my_warn {
+ my $msg = shift;
- } elsif ($method eq 'DELETE') {
- handler_delete($r, $d);
-
- } elsif ($method eq 'POST') {
- handler_post($r, $d);
-
- } elsif ($method eq 'PUT') {
- handler_put($r, $d);
-
- } else {
- handler_unknown($r, $d);
- }
-
- return Apache2::Const::DONE;
+ Apache2::ServerRec::warn("CacheControl: $msg");
}
```
@@ -1252,7 +1238,7 @@ sub handler {
* πŸ“ˆ Lines of Code: 18
* πŸ“„ Lines of Documentation: 49
* πŸ“… Development Period: 2014-03-24 to 2021-11-05
-* πŸ”₯ Recent Activity: 3197.1 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3199.8 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1275,7 +1261,7 @@ The implementation consists of a shell script (`update-dyndns`) that accepts hos
* πŸ“ˆ Lines of Code: 5360
* πŸ“„ Lines of Documentation: 789
* πŸ“… Development Period: 2015-01-02 to 2021-11-05
-* πŸ”₯ Recent Activity: 3463.8 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3466.5 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 1.0.1 (2015-01-02)
@@ -1288,18 +1274,33 @@ The tool is particularly useful for system administrators and DevOps engineers w
=> https://codeberg.org/snonux/mon View on Codeberg
=> https://github.com/snonux/mon View on GitHub
-Perl from `debian/mon/usr/share/mon/lib/MAPI/RESTlos.pm`:
+Perl from `debian/mon/usr/share/mon/lib/MAPI/Config.pm`:
```AUTO
sub new {
my ( $class, %opts ) = @_;
my $self = bless \%opts, $class;
+ my $options = $self->{options};
- $self->init();
+ $options->store_first($self);
- return $self;
-}
+ $self->SUPER::init(%opts);
+
+ for ( @{ $options->{unknown} } ) {
+ $self->error("Unknown option: $_");
+ }
+
+ if ( $self->{'config'} ne '' ) {
+ $self->read_config( $self->{'config'} );
+
+ }
+ elsif ( exists $ENV{MON_CONFIG} ) {
+ $self->read_config( $ENV{MON_CONFIG} );
+
+ }
+ else {
+ $self->read_config('/etc/mon.conf');
```
---
@@ -1312,7 +1313,7 @@ sub new {
* πŸ“ˆ Lines of Code: 273
* πŸ“„ Lines of Documentation: 32
* πŸ“… Development Period: 2015-09-29 to 2021-11-05
-* πŸ”₯ Recent Activity: 3468.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3470.7 days (avg. age of last 42 commits)
* βš–οΈ License: Apache-2.0
* 🏷️ Latest Release: 0 (2015-10-26)
@@ -1348,7 +1349,7 @@ def initialize
* πŸ“ˆ Lines of Code: 1839
* πŸ“„ Lines of Documentation: 412
* πŸ“… Development Period: 2015-01-02 to 2021-11-05
-* πŸ”₯ Recent Activity: 3547.6 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3550.3 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 1.0.2 (2015-01-02)
@@ -1361,33 +1362,14 @@ The project is implemented as a modular Perl application with a clean architectu
=> https://codeberg.org/snonux/pingdomfetch View on Codeberg
=> https://github.com/snonux/pingdomfetch View on GitHub
-Perl from `lib/PINGDOMFETCH/Pingdom.pm`:
+Perl from `lib/PINGDOMFETCH/TLS.pm`:
```AUTO
sub new {
- my ( $class, $config ) = @_;
-
- my $app_key = $config->get('pingdom.api.app.key');
- my $host = $config->get('pingdom.api.host');
- my $port = $config->get('pingdom.api.port');
- my $protocol = $config->get('pingdom.api.protocol');
-
- my $json = JSON->new()->allow_nonref();
-
+ my ( $class, %vals ) = @_;
- my $headers = {
- 'App-key' => $app_key,
- 'User-Agent' => 'pingdomfetch',
- };
-
- my $url_base = "$protocol://$host:$port";
-
- my $self = bless {
- config => $config,
- json => $json,
- url_base => $url_base,
- headers => $headers,
- }, $class;
+ my $self = bless \%vals, $class;
+ $self->{is_critical} = 0;
return $self;
}
@@ -1398,12 +1380,12 @@ sub new {
### gotop
* πŸ’» Languages: Go (98.0%), Make (2.0%)
-* πŸ“š Documentation: Markdown (50.0%), Text (50.0%)
+* πŸ“š Documentation: Text (50.0%), Markdown (50.0%)
* πŸ“Š Commits: 57
* πŸ“ˆ Lines of Code: 499
* πŸ“„ Lines of Documentation: 8
* πŸ“… Development Period: 2015-05-24 to 2021-11-03
-* πŸ”₯ Recent Activity: 3558.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3561.1 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.1 (2015-06-01)
@@ -1444,7 +1426,7 @@ func Slurp(what *string, path string) error {
* πŸ“Š Commits: 670
* πŸ“ˆ Lines of Code: 1675
* πŸ“… Development Period: 2011-03-06 to 2018-12-22
-* πŸ”₯ Recent Activity: 3614.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3616.7 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2018-12-22)
@@ -1459,19 +1441,31 @@ The system works through a template-driven architecture where content is written
=> https://codeberg.org/snonux/xerl View on Codeberg
=> https://github.com/snonux/xerl View on GitHub
-Perl from `Xerl/XML/Element.pm`:
+Perl from `Xerl/Page/Menu.pm`:
```AUTO
-sub starttag {
- my $self = $_[0];
- my ( $name, $temp ) = ( $_[1], undef );
+sub generate {
+ my $self = $_[0];
+ my $config = $self->get_config();
+
+ my @site = split /\//, $config->get_site();
+ my @compare = @site;
+ my $site = pop @site;
- return $self if $self->get_name() eq $name;
- return undef if ref $self->get_array() ne 'ARRAY';
+ my ( $content, $siteadd ) = ( 'content/', '' );
- for ( @{ $self->get_array() } ) {
- $temp = $_->starttag($name);
- return $temp if defined $temp;
+ my $menuelem = $self->get_menu( $content, $siteadd, shift @compare );
+
+ $self->push_array($menuelem)
+ if $menuelem->first_array()->array_length() > 1;
+
+ for my $s (@site) {
+ $content .= "$s.sub/";
+ $siteadd .= "$s/";
+
+ $menuelem = $self->get_menu( $content, $siteadd, shift @compare );
+ $self->push_array($menuelem)
+ if $menuelem->first_array()->array_length() > 1;
}
return undef;
@@ -1488,7 +1482,7 @@ sub starttag {
* πŸ“ˆ Lines of Code: 88
* πŸ“„ Lines of Documentation: 148
* πŸ“… Development Period: 2015-06-18 to 2015-12-05
-* πŸ”₯ Recent Activity: 3662.1 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3664.8 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1503,26 +1497,17 @@ The implementation works by creating a Debian filesystem image using debootstrap
=> https://codeberg.org/snonux/debroid View on Codeberg
=> https://github.com/snonux/debroid View on GitHub
-Shell from `storage/sdcard1/Linux/jessie.sh`:
+Shell from `data/local/userinit.sh`:
```AUTO
-function mount_chroot {
- mountpoint $ROOT
- if [ $? -ne 0 ]; then
- losetup $LOOP_DEVICE $ROOT.img
- busybox mount -t ext4 $LOOP_DEVICE $ROOT
- fi
- for mountpoint in proc dev sys dev/pts; do
- mountpoint $ROOT/$mountpoint
- if [ $? -ne 0 ]; then
- busybox mount --bind /$mountpoint $ROOT/$mountpoint
- fi
- done
- mountpoint $ROOT/storage/sdcard1
- if [ $? -ne 0 ]; then
- busybox mount --bind /storage/sdcard1 $ROOT/storage/sdcard1
+while : ; do
+ if [ -d /storage/sdcard1/Linux/jessie ]; then
+ cd /storage/sdcard1/Linux && /system/bin/sh jessie.sh start_services
+ /system/bin/date
+ exit 0
fi
-}
+ /system/bin/sleep 1
+done
```
---
@@ -1535,7 +1520,7 @@ function mount_chroot {
* πŸ“ˆ Lines of Code: 1681
* πŸ“„ Lines of Documentation: 539
* πŸ“… Development Period: 2014-03-10 to 2021-11-03
-* πŸ”₯ Recent Activity: 3940.1 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3942.8 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 1.0.2 (2014-11-17)
@@ -1548,21 +1533,15 @@ The implementation is written in Python and built on top of the bigsuds library,
=> https://codeberg.org/snonux/fapi View on Codeberg
=> https://github.com/snonux/fapi View on GitHub
-Python from `contrib/bigsuds-1.0/bigsuds.py`:
+Python from `contrib/bigsuds-1.0/setup.py`:
```AUTO
-class ArgumentError(OperationFailed):
- are passed to an iControl method."""
-
-
-class BIGIP(object):
-
- Example usage:
- >>> b = BIGIP('bigip-hostname')
- >>> print b.LocalLB.Pool.get_list()
- ['/Common/test_pool']
- >>> b.LocalLB.Pool.add_member(['/Common/test_pool'], \
- [[{'address': '10.10.10.10', 'port': 20030}]])
+def extract_version(filename):
+ contents = open(filename).read()
+ match = re.search('^__version__\s+=\s+[\'"](.*)[\'"]\s*$', contents,
+ re.MULTILINE)
+ if match is not None:
+ return match.group(1)
```
---
@@ -1575,7 +1554,7 @@ class BIGIP(object):
* πŸ“ˆ Lines of Code: 65
* πŸ“„ Lines of Documentation: 228
* πŸ“… Development Period: 2013-03-22 to 2021-11-04
-* πŸ”₯ Recent Activity: 3994.5 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 3997.2 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.0.0.0 (2013-03-22)
@@ -1610,7 +1589,7 @@ build:
* πŸ“ˆ Lines of Code: 136
* πŸ“„ Lines of Documentation: 96
* πŸ“… Development Period: 2013-03-22 to 2021-11-05
-* πŸ”₯ Recent Activity: 4007.5 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4010.2 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.2.0 (2014-07-05)
@@ -1645,7 +1624,7 @@ build:
* πŸ“ˆ Lines of Code: 134
* πŸ“„ Lines of Documentation: 106
* πŸ“… Development Period: 2013-03-22 to 2021-11-05
-* πŸ”₯ Recent Activity: 4015.0 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4017.7 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.1.5 (2014-06-22)
@@ -1668,7 +1647,7 @@ The tool works by having both hosts run the same command simultaneously - one ac
* πŸ“ˆ Lines of Code: 493
* πŸ“„ Lines of Documentation: 26
* πŸ“… Development Period: 2009-09-27 to 2021-11-02
-* πŸ”₯ Recent Activity: 4058.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4061.0 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.9.3 (2014-06-14)
@@ -1708,7 +1687,7 @@ function findbin () {
* πŸ“ˆ Lines of Code: 286
* πŸ“„ Lines of Documentation: 144
* πŸ“… Development Period: 2013-03-22 to 2021-11-05
-* πŸ”₯ Recent Activity: 4063.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4066.0 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.4.3 (2014-06-16)
@@ -1731,7 +1710,7 @@ The implementation uses modern Perl with the Moo object system and consists of t
* πŸ“ˆ Lines of Code: 191
* πŸ“„ Lines of Documentation: 8
* πŸ“… Development Period: 2014-03-24 to 2014-03-24
-* πŸ”₯ Recent Activity: 4124.6 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4127.3 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1744,18 +1723,19 @@ Each script explores different themes - Christmas celebrations, mathematical stu
=> https://codeberg.org/snonux/perl-poetry View on Codeberg
=> https://github.com/snonux/perl-poetry View on GitHub
-Perl from `math.pl`:
+Perl from `travel.pl`:
```AUTO
-do { int'egrate'; sub trade; };
-do { exp'onentize' and abs'olutize' };
-study and study and study and study;
+do { sub travel { to => stop,off } }; foreach (@location) {};
-foreach $topic ({of, math}) {
-you, m/ay /go, to, limits }
+far_away: { is => our $destiny } foreach @personality;
+for $the (@souls) { its => our $path };
-do { not qw/erk / unless $success
-and m/ove /o;$n and study };
+do { study and s/eek// for @wisdom };
+do { require strict; import { of, tied $power } };
+
+local $robber, do kill unless tied $power;
+no warnings; do { alarm $us };
```
---
@@ -1766,7 +1746,7 @@ and m/ove /o;$n and study };
* πŸ“Š Commits: 7
* πŸ“ˆ Lines of Code: 80
* πŸ“… Development Period: 2011-07-09 to 2015-01-13
-* πŸ”₯ Recent Activity: 4204.6 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4207.4 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -1819,7 +1799,7 @@ if ($ENV{SERVER_NAME} eq 'ipv6.buetow.org') {
* πŸ“ˆ Lines of Code: 124
* πŸ“„ Lines of Documentation: 75
* πŸ“… Development Period: 2010-11-05 to 2021-11-05
-* πŸ”₯ Recent Activity: 4245.3 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4248.0 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 1.0.2 (2014-06-22)
@@ -1842,7 +1822,7 @@ The implementation is remarkably simple - a single shell script that uses GNU AW
* πŸ“ˆ Lines of Code: 1828
* πŸ“„ Lines of Documentation: 100
* πŸ“… Development Period: 2010-11-05 to 2015-05-23
-* πŸ”₯ Recent Activity: 4275.4 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4278.1 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: 0.7.5 (2014-06-22)
@@ -1855,16 +1835,19 @@ The application is implemented using a multi-threaded architecture where each mo
=> https://codeberg.org/snonux/loadbars View on Codeberg
=> https://github.com/snonux/loadbars View on GitHub
-Perl from `lib/Loadbars/HelpDispatch.pm`:
+Perl from `lib/Loadbars/Constants.pm`:
```AUTO
-sub create () {
- my $hosts = '';
+use strict;
+use warnings;
- my $textdesc = <<END;
-For more help please consult the manual page or press the 'h' hotkey during
- program execution and watch this terminal window.
-END
+use SDL::Color;
+
+use constant {
+ COPYRIGHT => '2010-2013 (c) Paul Buetow <loadbars@mx.buetow.org>',
+ CONFFILE => $ENV{HOME} . '/.loadbarsrc',
+ CSSH_CONFFILE => '/etc/clusters',
+ CSSH_MAX_RECURSION => 10,
```
---
@@ -1875,7 +1858,7 @@ END
* πŸ“Š Commits: 110
* πŸ“ˆ Lines of Code: 614
* πŸ“… Development Period: 2011-02-05 to 2022-04-21
-* πŸ”₯ Recent Activity: 4324.8 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4327.6 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* 🏷️ Latest Release: v1.4 (2022-04-29)
@@ -1888,21 +1871,17 @@ The architecture centers around a modular plugin system where custom functionali
=> https://codeberg.org/snonux/perldaemon View on Codeberg
=> https://github.com/snonux/perldaemon View on GitHub
-Perl from `lib/PerlDaemon/RunModules.pm`:
+Perl from `lib/PerlDaemonModules/ExampleModule.pm`:
```AUTO
-sub new ($$) {
+sub new ($$$) {
my ($class, $conf) = @_;
my $self = bless { conf => $conf }, $class;
+ $self->{counter} = 0;
- my $modulesdir = $conf->{'daemon.modules.dir'};
- my $logger = $conf->{logger};
- my %loadedmodules;
- my %scheduler;
-
- if (-d $modulesdir) {
- $logger->logmsg("Loading modules from $modulesdir");
+ return $self;
+}
```
---
@@ -1915,7 +1894,7 @@ sub new ($$) {
* πŸ“ˆ Lines of Code: 122
* πŸ“„ Lines of Documentation: 10
* πŸ“… Development Period: 2011-01-27 to 2014-06-22
-* πŸ”₯ Recent Activity: 4655.8 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4658.6 days (avg. age of last 42 commits)
* βš–οΈ License: No license found
* 🏷️ Latest Release: v0.2 (2011-01-27)
@@ -1960,7 +1939,7 @@ function read_config_values(config_file) {
* πŸ“ˆ Lines of Code: 720
* πŸ“„ Lines of Documentation: 6
* πŸ“… Development Period: 2008-06-21 to 2021-11-03
-* πŸ”₯ Recent Activity: 4718.5 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 4721.2 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* 🏷️ Latest Release: v0.3 (2009-02-08)
@@ -2014,7 +1993,7 @@ public SPrefs(Component parent, HashMap<String,String> options) {
* πŸ“ˆ Lines of Code: 17380
* πŸ“„ Lines of Documentation: 947
* πŸ“… Development Period: 2009-02-07 to 2021-05-01
-* πŸ”₯ Recent Activity: 5349.2 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 5351.9 days (avg. age of last 42 commits)
* βš–οΈ License: GPL-2.0
* 🏷️ Latest Release: v0.1 (2009-02-08)
@@ -2031,17 +2010,20 @@ The implementation uses a clean separation of concerns with dedicated packages f
=> https://codeberg.org/snonux/netcalendar View on Codeberg
=> https://github.com/snonux/netcalendar View on GitHub
-Java from `sources/client/helper/DateSpinner.java`:
+Java from `sources/client/JCalendarDatePicker.java`:
```AUTO
-private void initComponents() {
- setLayout(new FlowLayout(FlowLayout.LEFT, 4, 4));
+private JCalendar jcalendar;
+private Calendar calendar;
+private CalendarEvent calendarEvent;
- spinnerDateModel = new SpinnerDateModel(date, null, null, Calendar.MONTH);
- JSpinner jSpinner = new JSpinner(spinnerDateModel);
- new JSpinner.DateEditor(jSpinner, "MM/yy");
+public JCalendarDatePicker(NetCalendarClient netCalendarClient) {
+ super("Calendar", netCalendarClient);
- add(jSpinner);
+ initComponents();
+ setResizable(false);
+ pack();
+ setVisible(true);
}
```
@@ -2049,13 +2031,13 @@ private void initComponents() {
### ychat
-* πŸ’» Languages: C++ (54.9%), C/C++ (23.0%), Shell (13.8%), Perl (2.5%), HTML (2.5%), Config (2.3%), Make (0.8%), CSS (0.2%)
+* πŸ’» Languages: C++ (51.1%), C/C++ (29.9%), Shell (15.9%), HTML (1.4%), Perl (1.2%), Make (0.4%), CSS (0.1%)
* πŸ“š Documentation: Text (100.0%)
* πŸ“Š Commits: 67
-* πŸ“ˆ Lines of Code: 67884
-* πŸ“„ Lines of Documentation: 127
-* πŸ“… Development Period: 2008-05-15 to 2014-06-30
-* πŸ”₯ Recent Activity: 5369.5 days (avg. age of last 42 commits)
+* πŸ“ˆ Lines of Code: 9958
+* πŸ“„ Lines of Documentation: 103
+* πŸ“… Development Period: 2008-05-15 to 2014-07-01
+* πŸ”₯ Recent Activity: 5381.5 days (avg. age of last 42 commits)
* βš–οΈ License: GPL-2.0
* 🏷️ Latest Release: yhttpd-0.7.2 (2013-04-06)
@@ -2070,37 +2052,16 @@ The architecture is built around several key managers: a socket manager for hand
=> https://codeberg.org/snonux/ychat View on Codeberg
=> https://github.com/snonux/ychat View on GitHub
----
-
-### vs-sim
-
-* πŸ’» Languages: Java (98.6%), Shell (0.8%), XML (0.4%)
-* πŸ“š Documentation: LaTeX (98.4%), Text (1.4%), Markdown (0.2%)
-* πŸ“Š Commits: 411
-* πŸ“ˆ Lines of Code: 14582
-* πŸ“„ Lines of Documentation: 2903
-* πŸ“… Development Period: 2008-05-15 to 2022-04-03
-* πŸ”₯ Recent Activity: 5385.5 days (avg. age of last 42 commits)
-* βš–οΈ License: Custom License
-* 🏷️ Latest Release: v1.0 (2008-08-24)
+C++ from `room.cpp`:
-⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
-
-=> showcase/vs-sim/image-1.jpg vs-sim screenshot
-
-VS-Sim is an open-source distributed systems simulator written in Java, developed as a diploma thesis at Aachen University of Applied Sciences. It provides a visual environment for simulating and understanding distributed system algorithms including consensus protocols (one-phase/two-phase commit), time synchronization (Berkeley, Lamport, vector clocks), and communication patterns (multicast, broadcast, reliable messaging). The simulator is useful for educational purposes, allowing students and researchers to visualize complex distributed system concepts through interactive simulations.
-
-The implementation features a modular architecture with separate packages for core processes, events, protocols, and visualization. It includes pre-built protocol implementations, a GUI-based simulator with start/pause/reset controls, serialization support for saving simulations, and comprehensive time modeling systems. The codebase demonstrates clean separation of concerns with abstract base classes for extensibility and a plugin-like protocol system for easy addition of new distributed algorithms.
+```AUTO
+#define ROOM_CXX
-=> https://codeberg.org/snonux/vs-sim View on Codeberg
-=> https://github.com/snonux/vs-sim View on GitHub
+#include "room.h"
-Java from `sources/exceptions/VSNegativeNumberException.java`:
+using namespace std;
-```AUTO
-public class VSNegativeNumberException extends Exception {
- private static final long serialVersionUID = 1L;
-}
+room::room( string s_name ) : name( s_name )
```
---
@@ -2111,7 +2072,7 @@ public class VSNegativeNumberException extends Exception {
* πŸ“Š Commits: 80
* πŸ“ˆ Lines of Code: 601
* πŸ“… Development Period: 2009-11-22 to 2011-10-17
-* πŸ”₯ Recent Activity: 5444.8 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 5447.6 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -2124,23 +2085,45 @@ The implementation uses a clean separation of concerns with modules for IRC conn
=> https://codeberg.org/snonux/hsbot View on Codeberg
=> https://github.com/snonux/hsbot View on GitHub
-Haskell from `HsBot/Plugins/MessageCounter.hs`:
+Haskell from `HsBot/Base/Cmd.hs`:
```AUTO
-module HsBot.Plugins.MessageCounter (makeMessageCounter) where
-
-import HsBot.Plugins.Base
+module HsBot.Base.Cmd where
-import HsBot.Base.Env
import HsBot.Base.State
-import HsBot.IRC.User
+data Cmd = Cmd String String (State -> IO ())
+
+instance Show Cmd where
+ show (Cmd a b _) = a ++ " - " ++ b
-update user = user { userMessages = 1 + userMessages user }
+cmdGet :: String -> [Cmd] -> Maybe Cmd
```
---
+### vs-sim
+
+* πŸ“š Documentation: Markdown (100.0%)
+* πŸ“Š Commits: 411
+* πŸ“ˆ Lines of Code: 0
+* πŸ“„ Lines of Documentation: 7
+* πŸ“… Development Period: 2008-05-15 to 2015-05-23
+* πŸ”₯ Recent Activity: 5808.5 days (avg. age of last 42 commits)
+* βš–οΈ License: No license found
+* 🏷️ Latest Release: v1.0 (2008-08-24)
+
+⚠️ **Notice**: This project appears to be finished, obsolete, or no longer maintained. Last meaningful activity was over 2 years ago. Use at your own risk.
+
+VS-Sim is an open-source distributed systems simulator written in Java, developed as a diploma thesis at Aachen University of Applied Sciences. It provides a visual environment for simulating and understanding distributed system algorithms including consensus protocols (one-phase/two-phase commit), time synchronization (Berkeley, Lamport, vector clocks), and communication patterns (multicast, broadcast, reliable messaging). The simulator is useful for educational purposes, allowing students and researchers to visualize complex distributed system concepts through interactive simulations.
+
+The implementation features a modular architecture with separate packages for core processes, events, protocols, and visualization. It includes pre-built protocol implementations, a GUI-based simulator with start/pause/reset controls, serialization support for saving simulations, and comprehensive time modeling systems. The codebase demonstrates clean separation of concerns with abstract base classes for extensibility and a plugin-like protocol system for easy addition of new distributed algorithms.
+
+=> https://codeberg.org/snonux/vs-sim View on Codeberg
+=> https://github.com/snonux/vs-sim View on GitHub
+
+---
+
### fype
* πŸ’» Languages: C (71.2%), C/C++ (20.7%), HTML (6.6%), Make (1.5%)
@@ -2149,7 +2132,7 @@ update user = user { userMessages = 1 + userMessages user }
* πŸ“ˆ Lines of Code: 8954
* πŸ“„ Lines of Documentation: 1432
* πŸ“… Development Period: 2008-05-15 to 2014-06-30
-* πŸ”₯ Recent Activity: 5831.5 days (avg. age of last 42 commits)
+* πŸ”₯ Recent Activity: 5834.2 days (avg. age of last 42 commits)
* βš–οΈ License: Custom License
* πŸ§ͺ Status: Experimental (no releases yet)
@@ -2162,16 +2145,12 @@ The implementation is built using a straightforward top-down parser with a maxim
=> https://codeberg.org/snonux/fype View on Codeberg
=> https://github.com/snonux/fype View on GitHub
-C from `src/core/scanner.h`:
+C from `src/data/queue.h`:
```AUTO
typedef struct {
- int i_current_line_nr;
- int i_current_pos_nr;
- int i_num_tokenends;
- char *c_filename;
- char *c_codestring;
- FILE *fp;
- List *p_list_token;
- TokenType tt_last;
+ unsigned i_left;
+ Queue *p_queue;
+ QueueElem *p_current;
+ QueueElem *p_next;
```
diff --git a/about/showcase/debroid/image-1.png b/about/showcase/debroid/image-1.png
index a10f334f..ca6100d2 100644
--- a/about/showcase/debroid/image-1.png
+++ b/about/showcase/debroid/image-1.png
@@ -17,7 +17,6 @@
-
<head>
<meta charset="utf-8">
<link rel="dns-prefetch" href="https://github.githubassets.com">
@@ -32,49 +31,48 @@
<link rel="preload" href="https://github.githubassets.com/assets/mona-sans-d1bf285e9b9b.woff2" as="font" type="font/woff2" crossorigin>
- <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-d1334f2b22bf.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light_high_contrast-f695a361c6b2.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-f73a069fd33e.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark_high_contrast-3a0d87f72ad4.css" /><link data-color-theme="light" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light-d1334f2b22bf.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-f695a361c6b2.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-367eb9a4565a.css" /><link data-color-theme="light_colorblind_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind_high_contrast-34780c9e589c.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-2ddc677c041d.css" /><link data-color-theme="light_tritanopia_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia_high_contrast-b479ee0af6fe.css" /><link data-color-theme="dark" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark-f73a069fd33e.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-3a0d87f72ad4.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-b17a8392e6c4.css" /><link data-color-theme="dark_colorblind_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind_high_contrast-03758f901c24.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-a1cc7dba9f73.css" /><link data-color-theme="dark_tritanopia_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia_high_contrast-55c33b3b3010.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-55459b36aa6d.css" /><link data-color-theme="dark_dimmed_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed_high_contrast-b615f369440d.css" />
+ <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-d1334f2b22bf.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light_high_contrast-f695a361c6b2.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-f73a069fd33e.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark_high_contrast-3a0d87f72ad4.css" /><link data-color-theme="light" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light-d1334f2b22bf.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-f695a361c6b2.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-367eb9a4565a.css" /><link data-color-theme="light_colorblind_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind_high_contrast-183adc0db479.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-2ddc677c041d.css" /><link data-color-theme="light_tritanopia_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia_high_contrast-649962a5702a.css" /><link data-color-theme="dark" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark-f73a069fd33e.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-3a0d87f72ad4.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-b17a8392e6c4.css" /><link data-color-theme="dark_colorblind_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind_high_contrast-e9ff47cedc2b.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-a1cc7dba9f73.css" /><link data-color-theme="dark_tritanopia_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia_high_contrast-6c4dd39e2b0f.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-55459b36aa6d.css" /><link data-color-theme="dark_dimmed_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed_high_contrast-9a0ef6e40ed3.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-primitives-dc7ca6859caf.css" />
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-03a65c451725.css" />
- <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-e412fefa47ed.css" />
- <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-2df5583d9df3.css" />
+ <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-8adefe036d43.css" />
+ <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-ddc22c40adec.css" />
- <script type="application/json" id="client-env">{"locale":"en","featureFlags":["alternate_user_config_repo","api_insights_show_missing_data_banner","appearance_settings","attestations_filtering","attestations_sorting","client_version_header","codespaces_prebuild_region_target_update","contact_requests_implicit_opt_in","contentful_lp_copilot_extensions","contentful_lp_flex_features","contentful_lp_footnotes","copilot_agents_view_v2","copilot_chat_attach_multiple_images","copilot_chat_vision_in_claude","copilot_chat_vision_skip_thread_create","copilot_chat_wholearea_dd","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_free_to_paid_telem","copilot_ftp_settings_upgrade","copilot_ftp_upgrade_to_pro_from_models","copilot_ftp_your_copilot_settings","copilot_immersive_agent_sessions_direct_creation","copilot_immersive_structured_model_picker","copilot_new_immersive_references_ui","copilot_no_floating_button","copilot_read_shared_conversation","copilot_spaces_support_forks","copilot_spark_allow_empty_commit","copilot_spark_single_user_iteration","copilot_spark_use_streaming","copilot_task_oriented_assistive_prompts","copilot_workbench_connection_reload_banner","copilot_workbench_iterate_panel","copilot_workbench_preview_analytics","copilot_workbench_refresh_on_wsod","custom_copilots_128k_window","custom_copilots_capi_mode","custom_copilots_issues_prs","direct_to_salesforce","dotcom_chat_client_side_skills","failbot_report_error_react_apps_on_page","ghost_pilot_confidence_truncation_25","ghost_pilot_confidence_truncation_40","insert_before_patch","issues_catch_non_json_graphql_response","issues_label_search_url","issues_preserve_tokens_in_urls","issues_react_blur_item_picker_on_close","issues_react_bots_timeline_pagination","issues_react_create_milestone","issues_react_prohibit_title_fallback","issues_react_remove_placeholders","issues_react_set_height_in_markdown","issues_template_picker_redirect","lifecycle_label_name_updates","link_contact_sales_swp_marketo","marketing_pages_search_explore_provider","memex_mwl_filter_field_delimiter","nonreporting_relay_graphql_status_codes","primer_primitives_experimental","primer_react_select_panel_with_modern_action_list","remove_child_patch","sample_network_conn_type","scheduled_reminders_updated_limits","site_homepage_contentful","site_msbuild_hide_integrations","site_msbuild_launch","site_msbuild_webgl_hero","spark_commit_on_default_branch","spark_sync_repository_after_iteration","swp_enterprise_contact_form","use_paginated_repo_picker_cost_center_form","viewscreen_sandbox","workbench_store_readonly"]}</script>
+ <script type="application/json" id="client-env">{"locale":"en","featureFlags":["alternate_user_config_repo","api_insights_show_missing_data_banner","attestations_filtering","attestations_sorting","client_version_header","code_scanning_security_configuration_ternary_state","codespaces_prebuild_region_target_update","contact_requests_implicit_opt_in","contentful_lp_copilot_extensions","contentful_lp_flex_features","contentful_lp_footnotes","copilot_agents_view_v2","copilot_chat_attach_multiple_images","copilot_chat_vision_in_claude","copilot_chat_vision_skip_thread_create","copilot_chat_wholearea_dd","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_free_to_paid_telem","copilot_ftp_hyperspace_upgrade_prompt","copilot_ftp_settings_upgrade","copilot_ftp_upgrade_to_pro_from_models","copilot_ftp_your_copilot_settings","copilot_immersive_structured_model_picker","copilot_new_immersive_references_ui","copilot_no_floating_button","copilot_read_shared_conversation","copilot_spaces_image_download_links","copilot_spaces_input_menu_select","copilot_spark_allow_empty_commit","copilot_spark_single_user_iteration","copilot_spark_use_streaming","copilot_task_oriented_assistive_prompts","copilot_workbench_connection_reload_banner","copilot_workbench_iterate_panel","copilot_workbench_preview_analytics","copilot_workbench_refresh_on_wsod","custom_copilots_128k_window","custom_copilots_capi_mode","direct_to_salesforce","dotcom_chat_client_side_skills","failbot_report_error_react_apps_on_page","ghost_pilot_confidence_truncation_25","ghost_pilot_confidence_truncation_40","insert_before_patch","issues_catch_non_json_graphql_response","issues_label_search_url","issues_preserve_tokens_in_urls","issues_react_blur_item_picker_on_close","issues_react_bots_timeline_pagination","issues_react_create_milestone","issues_react_prohibit_title_fallback","issues_react_remove_placeholders","issues_template_picker_redirect","lifecycle_label_name_updates","link_contact_sales_swp_marketo","marketing_pages_search_explore_provider","memex_mwl_filter_field_delimiter","nonreporting_relay_graphql_status_codes","primer_react_select_panel_with_modern_action_list","remove_child_patch","sample_network_conn_type","scheduled_reminders_updated_limits","site_homepage_contentful","site_msbuild_hide_integrations","site_msbuild_launch","site_msbuild_webgl_hero","spark_commit_on_default_branch","spark_sync_repository_after_iteration","swp_enterprise_contact_form","use_paginated_repo_picker_cost_center_form","viewscreen_sandbox","workbench_store_readonly"]}</script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/high-contrast-cookie-a58297b2ebf8.js"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/wp-runtime-0d0188f30faa.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/wp-runtime-45cc8019d7a8.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-a8c266e5f126.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1d3d52-babac9434833.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_failbot_failbot_ts-f3dd72be4f2c.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/environment-89128d48c6ff.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_failbot_failbot_ts-d6735ae08a7b.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/environment-37836f8ad297.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_primer_behaviors_dist_esm_index_mjs-c44edfed7f0d.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-cdf2757bd188.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_relative-time-element_dist_index_js-5913bc24f35d.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-8e9f78-c1e2fb329866.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_text-expander-element_dist_index_js-e50fb7a5fe8c.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-8e9f78-c1e2fb329866.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7-514a92c925f0.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_markdown-toolbar-element_dist_index_js-6a8c7d9a08fe.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_primer_view-co-f03a40-9317f8a0aace.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/github-elements-0de5779022a2.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/element-registry-65797218adf2.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_primer_view-co-f03a40-c631b99b0f08.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/github-elements-41297914fb58.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/element-registry-9b0d03437a30.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-bb80ec-34c4b68b1dd3.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_lit-html_lit-html_js-b93a87060d31.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_morphdom_dist_morphdom-esm_js-300e8e4e0414.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-595819d3686f.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f-1bcf38e06f01.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_color-convert_index_js-1a149db8dc99.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-b02a44-783afe9ce3cd.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_updatable-content_updatable-content_ts-a5daa16ae903.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f-5f044d8dcee3.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-c39857-54c022ad5a68.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_updatable-content_updatable-content_ts-7b14b8aa0beb.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde-f953ddf42948.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_sticky-scroll-into-view_ts-e45aabc67d13.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6-a7da4270c5f4.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-567e0f340e27.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-dff0082443af.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-ea8eaa-eefe25567449.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-0f23806a0696.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-ea8eaa-0416579acb39.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/notifications-global-40e14cc64ab7.js" defer="defer"></script>
@@ -85,13 +83,13 @@
<meta name="route-pattern" content="/:user_id/:repository/blob/*name(/*path)" data-turbo-transient>
<meta name="route-controller" content="blob" data-turbo-transient>
<meta name="route-action" content="show" data-turbo-transient>
- <meta name="fetch-nonce" content="v2:a9ba2bd0-990c-9864-d438-12ea6cbede41">
+ <meta name="fetch-nonce" content="v2:b4cb7db7-8b7e-2041-ea1b-4f520ff2d5c4">
<meta name="current-catalog-service-hash" content="f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb">
- <meta name="request-id" content="C3D2:34DE8F:42668B8:4437740:686E5AEF" data-pjax-transient="true"/><meta name="html-safe-nonce" content="26a687ba2f2a04331a6bbb4a7846febc4eaf93ecad5f0c55563f2d2496a55b91" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0QyOjM0REU4Rjo0MjY2OEI4OjQ0Mzc3NDA6Njg2RTVBRUYiLCJ2aXNpdG9yX2lkIjoiMTEzOTUwMzMyNDE1MTU2OTEzNSIsInJlZ2lvbl9lZGdlIjoiZnJhIiwicmVnaW9uX3JlbmRlciI6ImZyYSJ9" data-pjax-transient="true"/><meta name="visitor-hmac" content="b0f67ce8c5fd4171151b098994b9d4e4f7b795266498f8447ffea24eb20a5b05" data-pjax-transient="true"/>
+ <meta name="request-id" content="EC08:80B35:24EA3F6:2651DF7:6871F7A4" data-pjax-transient="true"/><meta name="html-safe-nonce" content="5db1004ab9904461875bbc0e439163135d3e5ec4dc598ab5dde9463256596620" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzA4OjgwQjM1OjI0RUEzRjY6MjY1MURGNzo2ODcxRjdBNCIsInZpc2l0b3JfaWQiOiIxNzU4NDQ1NjYyNDA0NDc0Nzg4IiwicmVnaW9uX2VkZ2UiOiJmcmEiLCJyZWdpb25fcmVuZGVyIjoiZnJhIn0=" data-pjax-transient="true"/><meta name="visitor-hmac" content="a38559c1a922e444e5bea821fde4b7b098aff7684d240484a570f291b81659e6" data-pjax-transient="true"/>
@@ -167,10 +165,10 @@
<meta name="expected-hostname" content="github.com">
- <meta http-equiv="x-pjax-version" content="14455dab9b93949bd6315110ae2ed2e61d85c6be37ab3cce3b716644b1162a97" data-turbo-track="reload">
+ <meta http-equiv="x-pjax-version" content="036ab50d815bcd32266573def3c27eafc0247d8b694922e25bc05aedfedb5190" data-turbo-track="reload">
<meta http-equiv="x-pjax-csp-version" content="352e51c42d5f5727a7c545752bf34d1f83f40219e7036c6959817149a51651bc" data-turbo-track="reload">
- <meta http-equiv="x-pjax-css-version" content="cbac277ccf63fba2490782e94f40e2d68afb8a416f326c9ee261142cd7cf84dc" data-turbo-track="reload">
- <meta http-equiv="x-pjax-js-version" content="5d69ca4a932b244a87806b94184f20e08ecb84063da234794c87df3d900df909" data-turbo-track="reload">
+ <meta http-equiv="x-pjax-css-version" content="c868b8bf3fdb336ff43766b692693a865defe1410e8328ef5e1f1a9931946b21" data-turbo-track="reload">
+ <meta http-equiv="x-pjax-js-version" content="f4af3e496e0430d6298c8cae62295413481d11d9b47bf02f801960a821cdd0a4" data-turbo-track="reload">
<meta name="turbo-cache-control" content="no-preview" data-turbo-transient="">
@@ -194,7 +192,7 @@
<meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
- <meta name="release" content="7c2be3a0fc079fa3dd80e432b2c98febca835b58">
+ <meta name="release" content="9d145371c60af43a41b1d91c0827e982ebcdb9ba">
<meta name="ui-target" content="full">
<link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000">
@@ -222,16 +220,17 @@
<span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span>
</span>
- <script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-a57080a0a6e8.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/react-core-1980138d4f65.js" defer="defer"></script>
+ <script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-a6755571e8d2.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/react-core-8408891aa1d3.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-8705026b409a.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-8ed765fdb7a0.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-b1c483-b5947865157f.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-b1c483-f0fc35efa8f8.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_cookie_index_js-node_modules_primer_live-region-element_dist_esm_index_j-1ca8f6-89ab81577c38.js" defer="defer"></script>
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_ui-commands_ui-commands_ts-b755d908e0b1.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-b3dd4b1cb532.js" defer="defer"></script>
-<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.5fdb25ed878a5138c363.module.css" />
-<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/keyboard-shortcuts-dialog.47de85e2c17af43cefd5.module.css" />
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_document-metadata_document-metadata_ts-ui_packages_hydro-analytics_hydro-analytic-f29230-07417997172c.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-cf9f9950f389.js" defer="defer"></script>
+<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.cbbd4414f8577721e220.module.css" />
+<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/keyboard-shortcuts-dialog.f8fba3bd67fe74f9227b.module.css" />
<react-partial
partial-name="keyboard-shortcuts-dialog"
@@ -253,8 +252,8 @@
<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_gsap_index_js-028cb2a18f5a.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-99b04cc350b5.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/sessions-2eb013d4682c.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-b0625c39513c.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/sessions-43f4394ad9bc.js" defer="defer"></script>
<header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>
<h2 class="sr-only">Navigation Menu</h2>
@@ -293,16 +292,16 @@
</a>
<div class="AppHeader-appearanceSettings">
<react-partial-anchor>
- <button data-target="react-partial-anchor.anchor" id="icon-button-bc9dc0f1-21e5-400e-a7b4-32b7ddf5d753" aria-labelledby="tooltip-d8872a51-6bc3-47dd-8029-d85041a3847f" type="button" disabled="disabled" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium AppHeader-button HeaderMenu-link border cursor-wait"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sliders Button-visual">
+ <button data-target="react-partial-anchor.anchor" id="icon-button-025476cc-1a71-4151-b9ea-97848ead3a03" aria-labelledby="tooltip-c036a757-21af-457a-ae2a-dfbc11fb68f5" type="button" disabled="disabled" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium AppHeader-button HeaderMenu-link border cursor-wait"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sliders Button-visual">
<path d="M15 2.75a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75Zm-8.5.75v1.25a.75.75 0 0 0 1.5 0v-4a.75.75 0 0 0-1.5 0V2H1.75a.75.75 0 0 0 0 1.5H6.5Zm1.25 5.25a.75.75 0 0 0 0-1.5h-6a.75.75 0 0 0 0 1.5h6ZM15 8a.75.75 0 0 1-.75.75H11.5V10a.75.75 0 1 1-1.5 0V6a.75.75 0 0 1 1.5 0v1.25h2.75A.75.75 0 0 1 15 8Zm-9 5.25v-2a.75.75 0 0 0-1.5 0v1.25H1.75a.75.75 0 0 0 0 1.5H4.5v1.25a.75.75 0 0 0 1.5 0v-2Zm9 0a.75.75 0 0 1-.75.75h-6a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 .75.75Z"></path>
</svg>
-</button><tool-tip id="tooltip-d8872a51-6bc3-47dd-8029-d85041a3847f" for="icon-button-bc9dc0f1-21e5-400e-a7b4-32b7ddf5d753" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Appearance settings</tool-tip>
+</button><tool-tip id="tooltip-c036a757-21af-457a-ae2a-dfbc11fb68f5" for="icon-button-025476cc-1a71-4151-b9ea-97848ead3a03" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Appearance settings</tool-tip>
<template data-target="react-partial-anchor.template">
- <script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_document-metadata_document-metadata_ts-ui_packages_promise-with-resolvers-polyfil-1e7a2a-b50af437b812.js" defer="defer"></script>
-<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/appearance-settings-631c3b2ed371.js" defer="defer"></script>
-<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.5fdb25ed878a5138c363.module.css" />
-<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/appearance-settings.4e1ca273f504ba849f8c.module.css" />
+ <script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_document-metadata_document-metadata_ts-ui_packages_promise-with-resolvers-polyfil-40d47c-2b0274d4149e.js" defer="defer"></script>
+<script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/appearance-settings-d35856a333a1.js" defer="defer"></script>
+<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.cbbd4414f8577721e220.module.css" />
+<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/appearance-settings.76259b61ecc822265749.module.css" />
<react-partial
partial-name="appearance-settings"
@@ -970,7 +969,7 @@
-<qbsearch-input class="search-input" data-scope="owner:buetow" data-custom-scopes-path="/search/custom_scopes" data-delete-custom-scopes-csrf="3hix9cVWQJmakhq6fyqRp6W4r_iCTtCyalDYd4GprjnaHEFwg6fzdebXu_JxZiJE1ohchAp3Uv7A9AcZP1EtYw" data-max-custom-scopes="10" data-header-redesign-enabled="false" data-initial-value="" data-blackbird-suggestions-path="/search/suggestions" data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations" data-current-repository="" data-current-org="" data-current-owner="" data-logged-in="false" data-copilot-chat-enabled="false" data-nl-search-enabled="false" data-retain-scroll-position="true">
+<qbsearch-input class="search-input" data-scope="owner:buetow" data-custom-scopes-path="/search/custom_scopes" data-delete-custom-scopes-csrf="GAUHYUVxIpTsGZuJHPW93zLcna1MoT7dhfx1g2bpiYmO2EHrUafYzLqWJdjBV5gi4JVhRNpmaFgWtqwDBUdy7Q" data-max-custom-scopes="10" data-header-redesign-enabled="false" data-initial-value="" data-blackbird-suggestions-path="/search/suggestions" data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations" data-current-repository="" data-current-org="" data-current-owner="" data-logged-in="false" data-copilot-chat-enabled="false" data-nl-search-enabled="false" data-retain-scroll-position="true">
<div
class="search-input-container search-with-dialog position-relative d-flex flex-row flex-items-center mr-4 rounded"
data-action="click:qbsearch-input#searchInputContainerClicked"
@@ -1034,7 +1033,7 @@
></div>
<div class="QueryBuilder-InputWrapper">
<div aria-hidden="true" class="QueryBuilder-Sizer" data-target="query-builder.sizer"></div>
- <input id="query-builder-test" name="query-builder-test" value="" autocomplete="off" type="text" role="combobox" spellcheck="false" aria-expanded="false" aria-describedby="validation-0d1487c7-11b0-4a11-ac1b-45e46965f8de" data-target="query-builder.input" data-action="
+ <input id="query-builder-test" name="query-builder-test" value="" autocomplete="off" type="text" role="combobox" spellcheck="false" aria-expanded="false" aria-describedby="validation-9988803f-59be-4b18-86b4-efde97f096c9" data-target="query-builder.input" data-action="
input:query-builder#inputChange
blur:query-builder#inputBlur
keydown:query-builder#inputKeydown
@@ -1269,9 +1268,10 @@
data-target="query-builder.resultsList"
data-persist-list=false
id="query-builder-test-results"
+ tabindex="-1"
></ul>
</div>
- <div class="FormControl-inlineValidation" id="validation-0d1487c7-11b0-4a11-ac1b-45e46965f8de" hidden="hidden">
+ <div class="FormControl-inlineValidation" id="validation-9988803f-59be-4b18-86b4-efde97f096c9" hidden="hidden">
<span class="FormControl-inlineValidation--visual">
<svg aria-hidden="true" height="12" viewBox="0 0 12 12" version="1.1" width="12" data-view-component="true" class="octicon octicon-alert-fill">
<path d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 0 1-1.146 1.954H1.33A1.313 1.313 0 0 1 .183 9.058ZM7 7V3H5v4Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path>
@@ -1312,7 +1312,7 @@
</div>
<scrollable-region data-labelled-by="feedback-dialog-title">
- <div data-view-component="true" class="Overlay-body"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="code-search-feedback-form" data-turbo="false" action="/search/feedback" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="kTSoJ05T/rnbMGEd2dQdQaAwBgkf4bITpMlT6V1XWUDaWYD6DOMySuedxZOdlB7EczbQHYUlfduFPzhPYVHJXw==" />
+ <div data-view-component="true" class="Overlay-body"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="code-search-feedback-form" data-turbo="false" action="/search/feedback" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="QYyUoyNmwU4MLII6hJWIMJA7URf7pfPlWg4zbxzvYEOEg0NkUb+Sof1CcZUT7C21PlGQC8gtVyww2BVo+2vHMg==" />
<p>We read every piece of feedback, and take your input very seriously.</p>
<textarea name="feedback" class="form-control width-full mb-2" style="height: 120px" id="feedback"></textarea>
<input name="include_email" id="include_email" aria-label="Include my email address so I can be contacted" class="form-control mr-2" type="checkbox">
@@ -1350,7 +1350,7 @@
<div data-view-component="true" class="Overlay-body"> <div data-target="custom-scopes.customScopesModalDialogFlash"></div>
<div hidden class="create-custom-scope-form" data-target="custom-scopes.createCustomScopeForm">
- <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="custom-scopes-dialog-form" data-turbo="false" action="/search/custom_scopes" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="bZCow/HugEbeSHenX2gqRNTP44v+S/0EwFIAnvyVuiwZT2Go6+iTVduMOiGMEQ2itmhX5wtRv704lI8g1l7Dqw==" />
+ <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="custom-scopes-dialog-form" data-turbo="false" action="/search/custom_scopes" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="BDu+fvrWL6eF4jshj8Ufy9ZQT1iZR7nFfmcyi/xjDN7qNaX3Do0W+vVGue1vzeO3I96HZu6m1ETBLIzjGig85A==" />
<div data-target="custom-scopes.customScopesModalDialogFlash"></div>
<input type="hidden" id="custom_scope_id" name="custom_scope_id" data-target="custom-scopes.customScopesIdField">
@@ -1368,7 +1368,7 @@
placeholder="github-ruby"
required
maxlength="50">
- <input type="hidden" data-csrf="true" value="k67rv5hwR5CMmEsV7YIn5A+WuPCLbMjS1lD9RYJjO4tfn/N2a7caGIymO4iwATpwJV4v1y5iCVeZOYoBosLvCw==" />
+ <input type="hidden" data-csrf="true" value="gA9XJsKgJHec0aLemOvwR+YmINKySw/PTji87KT0M0+C66uDN3M4U73fEH7XBf4CFDpO3CUO0qHf0Xj+Z8CFXA==" />
</auto-check>
</div>
@@ -1423,7 +1423,7 @@
<h4 data-view-component="true" class="color-fg-default mb-2"> Sign in to GitHub
</h4>
-<!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/session" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="EuMGBfHrSwYfMrwZ9o6+tMN3v1aDAHawBbV969U3jdFacorM+5N08wjbVGKw5fsSo6x7Ol8veAqO0gs926k7QQ==" /> <input type="hidden" name="add_account" id="add_account" autocomplete="off" class="form-control" />
+<!-- '"` --><!-- </textarea></xmp> --></option></form><form data-turbo="false" action="/session" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="CJth7AVfbZKpK5dTdQhg8oE/S2CRvNtaKmNHBjMX141cF4O9IFuSA2Dw+p3d6RCPxWq6U7k5J0tkqkdR3AHnzg==" /> <input type="hidden" name="add_account" id="add_account" autocomplete="off" class="form-control" />
<label for="login_field">
Username or email address
@@ -1445,9 +1445,9 @@
<input type="hidden" name="allow_signup" id="allow_signup" autocomplete="off" class="form-control" />
<input type="hidden" name="client_id" id="client_id" autocomplete="off" class="form-control" />
<input type="hidden" name="integration" id="integration" autocomplete="off" class="form-control" />
-<input class="form-control" type="text" name="required_field_6d6b" hidden="hidden" />
-<input class="form-control" type="hidden" name="timestamp" value="1752062703519" />
-<input class="form-control" type="hidden" name="timestamp_secret" value="0b2026f3932eb571ea8999de01f6a5a7343d5893176cd5363950a42e28e354ce" />
+<input class="form-control" type="text" name="required_field_dcf6" hidden="hidden" />
+<input class="form-control" type="hidden" name="timestamp" value="1752299428754" />
+<input class="form-control" type="hidden" name="timestamp_secret" value="04c4f6978be0dab12bf8affbfa6baafcb65313dec57ecd76e770dc900af98c8a" />
<input type="submit" name="commit" value="Sign in" class="btn btn-primary btn-block js-sign-in-button" data-disable-with="Signing in…" data-signin-label="Sign in" data-sso-label="Sign in with your identity provider" development="false" disable-emu-sso="false" />
@@ -1474,14 +1474,14 @@
<div class="AppHeader-appearanceSettings">
<react-partial-anchor>
- <button data-target="react-partial-anchor.anchor" id="icon-button-baab3afa-f3fc-49fb-bff8-be356a2955db" aria-labelledby="tooltip-d85ccd70-60f6-4d3d-b27d-6a71028adab7" type="button" disabled="disabled" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium AppHeader-button HeaderMenu-link border cursor-wait"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sliders Button-visual">
+ <button data-target="react-partial-anchor.anchor" id="icon-button-09d26d9c-3ad2-4593-ac4f-3e8c0bd77177" aria-labelledby="tooltip-2ba8e40d-7e86-4dc2-91ea-da13264c6e62" type="button" disabled="disabled" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium AppHeader-button HeaderMenu-link border cursor-wait"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sliders Button-visual">
<path d="M15 2.75a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75Zm-8.5.75v1.25a.75.75 0 0 0 1.5 0v-4a.75.75 0 0 0-1.5 0V2H1.75a.75.75 0 0 0 0 1.5H6.5Zm1.25 5.25a.75.75 0 0 0 0-1.5h-6a.75.75 0 0 0 0 1.5h6ZM15 8a.75.75 0 0 1-.75.75H11.5V10a.75.75 0 1 1-1.5 0V6a.75.75 0 0 1 1.5 0v1.25h2.75A.75.75 0 0 1 15 8Zm-9 5.25v-2a.75.75 0 0 0-1.5 0v1.25H1.75a.75.75 0 0 0 0 1.5H4.5v1.25a.75.75 0 0 0 1.5 0v-2Zm9 0a.75.75 0 0 1-.75.75h-6a.75.75 0 0 1 0-1.5h6a.75.75 0 0 1 .75.75Z"></path>
</svg>
-</button><tool-tip id="tooltip-d85ccd70-60f6-4d3d-b27d-6a71028adab7" for="icon-button-baab3afa-f3fc-49fb-bff8-be356a2955db" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Appearance settings</tool-tip>
+</button><tool-tip id="tooltip-2ba8e40d-7e86-4dc2-91ea-da13264c6e62" for="icon-button-09d26d9c-3ad2-4593-ac4f-3e8c0bd77177" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Appearance settings</tool-tip>
<template data-target="react-partial-anchor.template">
- <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.5fdb25ed878a5138c363.module.css" />
-<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/appearance-settings.4e1ca273f504ba849f8c.module.css" />
+ <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.cbbd4414f8577721e220.module.css" />
+<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/appearance-settings.76259b61ecc822265749.module.css" />
<react-partial
partial-name="appearance-settings"
@@ -1514,10 +1514,10 @@
<span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span>
<span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span>
- <button id="icon-button-49ca57ec-0ff4-4620-92b2-74dc93687d0a" aria-labelledby="tooltip-0e825aa4-83da-4acc-9dfa-98e5fcaebdc2" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual">
+ <button id="icon-button-22d3a927-8bb2-46a2-b73c-915fc6eebb41" aria-labelledby="tooltip-f30089b0-3f4a-4c1c-b7fc-c561f17d77c4" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual">
<path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg>
-</button><tool-tip id="tooltip-0e825aa4-83da-4acc-9dfa-98e5fcaebdc2" for="icon-button-49ca57ec-0ff4-4620-92b2-74dc93687d0a" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip>
+</button><tool-tip id="tooltip-f30089b0-3f4a-4c1c-b7fc-c561f17d77c4" for="icon-button-22d3a927-8bb2-46a2-b73c-915fc6eebb41" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip>
@@ -1790,29 +1790,29 @@
<div class="color-bg-subtle">
<div class="container-xl p-responsive f6 py-4 d-md-flex flex-justify-between flex-items-center">
<nav aria-label="Legal and Resource Links">
- <ul class="list-style-none d-flex flex-wrap color-fg-muted">
- <li class="mx-2">
+ <ul class="list-style-none d-flex flex-wrap color-fg-muted gapx-3">
+ <li>
&copy; <time datetime="2025">2025</time> GitHub, Inc.
</li>
- <li class="mx-2">
+ <li>
<a class="Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;terms&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;terms_link_subfooter_footer&quot;}" href="https://docs.github.com/site-policy/github-terms/github-terms-of-service">Terms</a>
</li>
- <li class="mx-2">
+ <li>
<a class="Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;privacy&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;privacy_link_subfooter_footer&quot;}" href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement">Privacy</a>
<a href="https://github.com/github/site-policy/pull/582" class="Link--secondary">(Updated 02/2024)<time datetime="2024-02" class="sr-only">02/2024</time></a>
</li>
- <li class="mx-2">
+ <li>
<a class="Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;sitemap&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;sitemap_link_subfooter_footer&quot;}" href="/sitemap">Sitemap</a>
</li>
- <li class="mx-2">
+ <li>
<a class="Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;what_is_git&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;what_is_git_link_subfooter_footer&quot;}" href="/git-guides">What is Git?</a>
</li>
- <li class="mx-2" >
+ <li >
<cookie-consent-link>
<button
type="button"
@@ -1825,7 +1825,7 @@
</cookie-consent-link>
</li>
-<li class="mx-2">
+<li>
<cookie-consent-link>
<button
type="button"
diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi
index 3f1885eb..767b2b43 100644
--- a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi
+++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi
@@ -16,6 +16,7 @@ This is the sixth blog post about the f3s series for self-hosting demands in a h
* β‡’ f3s: Kubernetes with FreeBSD - Part 6: Storage
* β‡’ β‡’ Introduction
+* β‡’ β‡’ Additional storage capacity
* β‡’ β‡’ ZFS encryption keys
* β‡’ β‡’ β‡’ UFS on USB keys
* β‡’ β‡’ β‡’ Generating encryption keys
@@ -129,16 +130,33 @@ In the previous posts, we set up a FreeBSD-based Kubernetes cluster using k3s. W
* No data sharing: Pods on different nodes can't access the same data
* Pod mobility: If a pod moves to another node, it loses access to its data
* No redundancy: Hardware failure means data loss
-* Limited capacity: Individual nodes have finite storage
This post implements a robust storage solution using:
-* ZFS: For data integrity, encryption, and efficient snapshots
* CARP: For high availability with automatic IP failover
* NFS over stunnel: For secure, encrypted network storage
- zrepl: For continuous replication between nodes
+* ZFS: For data integrity, encryption, and efficient snapshots
+* zrepl: For continuous ZFS replication between nodes
+
+The end result is a highly available, encrypted storage system that survives node failures while providing shared storage to all Kubernetes pods.
+
+## Additional storage capacity
+
+We add to each of the nodes (`f0`, `f1`, `f2`) additional 1TB storage in form of an SSD drive. The Beelink mini PCs have enough space in the chassis for the additional space.
+
+=> ./f3s-kubernetes-with-freebsd-part-6/drives.jpg
+
+Upgrading the storage was as easy as unscrewing, plugging the drive in, and then screwing it together again. So the procedure was pretty uneventful! We're using two different SSD models (Samsung 870 EVO and Crucial BX500) to avoid simultaneous failures from the same manufacturing batch.
-The end result is a highly available, encrypted storage system that survives node failures while providing shared storage to all Kubernetes pods. We're using two different SSD models (Samsung 870 EVO and Crucial BX500) to avoid simultaneous failures from the same manufacturing batch.
+We then create the `zdata` ZFS pool on all three nodes:
+
+```sh
+paul@f0:~ % doas zpool create -m /data zdata /dev/ada1
+paul@f0:~ % zpool list
+NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
+zdata 928G 12.1M 928G - - 0% 0% 1.00x ONLINE -
+zroot 472G 29.0G 443G - - 0% 6% 1.00x ONLINE -
+```
## ZFS encryption keys
@@ -152,6 +170,7 @@ Using USB flash drives as hardware key storage provides an elegant solution. The
### UFS on USB keys
+
We'll format the USB drives with UFS (Unix File System) rather than ZFS for several reasons:
* Simplicity: UFS has less overhead for small, removable media
@@ -159,7 +178,7 @@ We'll format the USB drives with UFS (Unix File System) rather than ZFS for seve
Let's see the USB keys:
-TODO: Insert photos here
+=> ./f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg USB keys
```
paul@f0:/ % doas camcontrol devlist
@@ -197,9 +216,11 @@ paul@f0:/ % df | grep keys
/dev/da0 14877596 8 13687384 0% /keys
```
+=> ./f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpg USB keys sticked in
+
### Generating encryption keys
-The following keys will later be used to encrypt the ZFS file systems:
+The following keys will later be used to encrypt the ZFS file systems. They will be stored on all three nodes (so they will also serve as a backup in case one of the keys is lost, and when we later replicate encrypted ZFS volumes from one node to another, they must be available on the destination node as well):
```
paul@f0:/keys % doas openssl rand -out /keys/f0.lan.buetow.org:bhyve.key 32
@@ -221,12 +242,11 @@ total 20
*r-------- 1 root wheel 32 May 25 13:07 f2.lan.buetow.org:zdata.key
````
-After creation, those are copied to the other two nodes `f1` and `f2` to the `/keys` partition.
+After creation, these are copied to the other two nodes, `f1` and `f2`, into the `/keys` partition (I won't provide the commands here; just create a tarball, copy it over, and extract it on the destination nodes).
### Configuring `zdata` ZFS pool and encryption
```sh
-paul@f0:/keys % doas zpool create -m /data zdata /dev/ada1
paul@f0:/keys % doas zfs create -o encryption=on -o keyformat=raw -o keylocation=file:///keys/`hostname`:zdata.key zdata/enc
paul@f0:/ % zfs list | grep zdata
zdata 836K 899G 96K /data
@@ -2114,7 +2134,7 @@ paul@f1:~ % doas service zrepl status
In your Kubernetes manifests, you can now create PersistentVolumes using the NFS servers:
-```yaml
+```
apiVersion: v1
kind: PersistentVolume
metadata:
diff --git a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi.tpl b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi.tpl
index 2ead6a07..79c88e91 100644
--- a/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi.tpl
+++ b/gemfeed/DRAFT-f3s-kubernetes-with-freebsd-part-6.gmi.tpl
@@ -17,16 +17,33 @@ In the previous posts, we set up a FreeBSD-based Kubernetes cluster using k3s. W
* No data sharing: Pods on different nodes can't access the same data
* Pod mobility: If a pod moves to another node, it loses access to its data
* No redundancy: Hardware failure means data loss
-* Limited capacity: Individual nodes have finite storage
This post implements a robust storage solution using:
-* ZFS: For data integrity, encryption, and efficient snapshots
* CARP: For high availability with automatic IP failover
* NFS over stunnel: For secure, encrypted network storage
- zrepl: For continuous replication between nodes
+* ZFS: For data integrity, encryption, and efficient snapshots
+* zrepl: For continuous ZFS replication between nodes
+
+The end result is a highly available, encrypted storage system that survives node failures while providing shared storage to all Kubernetes pods.
+
+## Additional storage capacity
+
+We add to each of the nodes (`f0`, `f1`, `f2`) additional 1TB storage in form of an SSD drive. The Beelink mini PCs have enough space in the chassis for the additional space.
+
+=> ./f3s-kubernetes-with-freebsd-part-6/drives.jpg
+
+Upgrading the storage was as easy as unscrewing, plugging the drive in, and then screwing it together again. So the procedure was pretty uneventful! We're using two different SSD models (Samsung 870 EVO and Crucial BX500) to avoid simultaneous failures from the same manufacturing batch.
-The end result is a highly available, encrypted storage system that survives node failures while providing shared storage to all Kubernetes pods. We're using two different SSD models (Samsung 870 EVO and Crucial BX500) to avoid simultaneous failures from the same manufacturing batch.
+We then create the `zdata` ZFS pool on all three nodes:
+
+```sh
+paul@f0:~ % doas zpool create -m /data zdata /dev/ada1
+paul@f0:~ % zpool list
+NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
+zdata 928G 12.1M 928G - - 0% 0% 1.00x ONLINE -
+zroot 472G 29.0G 443G - - 0% 6% 1.00x ONLINE -
+```
## ZFS encryption keys
@@ -40,6 +57,7 @@ Using USB flash drives as hardware key storage provides an elegant solution. The
### UFS on USB keys
+
We'll format the USB drives with UFS (Unix File System) rather than ZFS for several reasons:
* Simplicity: UFS has less overhead for small, removable media
@@ -47,7 +65,7 @@ We'll format the USB drives with UFS (Unix File System) rather than ZFS for seve
Let's see the USB keys:
-TODO: Insert photos here
+=> ./f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg USB keys
```
paul@f0:/ % doas camcontrol devlist
@@ -85,9 +103,11 @@ paul@f0:/ % df | grep keys
/dev/da0 14877596 8 13687384 0% /keys
```
+=> ./f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpg USB keys sticked in
+
### Generating encryption keys
-The following keys will later be used to encrypt the ZFS file systems:
+The following keys will later be used to encrypt the ZFS file systems. They will be stored on all three nodes (so they will also serve as a backup in case one of the keys is lost, and when we later replicate encrypted ZFS volumes from one node to another, they must be available on the destination node as well):
```
paul@f0:/keys % doas openssl rand -out /keys/f0.lan.buetow.org:bhyve.key 32
@@ -109,12 +129,11 @@ total 20
*r-------- 1 root wheel 32 May 25 13:07 f2.lan.buetow.org:zdata.key
````
-After creation, those are copied to the other two nodes `f1` and `f2` to the `/keys` partition.
+After creation, these are copied to the other two nodes, `f1` and `f2`, into the `/keys` partition (I won't provide the commands here; just create a tarball, copy it over, and extract it on the destination nodes).
### Configuring `zdata` ZFS pool and encryption
```sh
-paul@f0:/keys % doas zpool create -m /data zdata /dev/ada1
paul@f0:/keys % doas zfs create -o encryption=on -o keyformat=raw -o keylocation=file:///keys/`hostname`:zdata.key zdata/enc
paul@f0:/ % zfs list | grep zdata
zdata 836K 899G 96K /data
@@ -2002,7 +2021,7 @@ paul@f1:~ % doas service zrepl status
In your Kubernetes manifests, you can now create PersistentVolumes using the NFS servers:
-```yaml
+```
apiVersion: v1
kind: PersistentVolume
metadata:
diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-6/drives.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-6/drives.jpg
new file mode 100644
index 00000000..5cb3ad72
--- /dev/null
+++ b/gemfeed/f3s-kubernetes-with-freebsd-part-6/drives.jpg
Binary files differ
diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg
new file mode 100644
index 00000000..965e917f
--- /dev/null
+++ b/gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys1.jpg
Binary files differ
diff --git a/gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpg b/gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpg
new file mode 100644
index 00000000..cf7ba2f5
--- /dev/null
+++ b/gemfeed/f3s-kubernetes-with-freebsd-part-6/usbkeys2.jpg
Binary files differ