summaryrefslogtreecommitdiff
path: root/about/showcase.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-12 22:46:46 +0300
committerPaul Buetow <paul@buetow.org>2025-07-12 22:46:46 +0300
commitb8be6832b19af8b4b506278d4452a71f9d13c5d5 (patch)
tree9eebf39d50f3f1e12036c2875a4813bcfe76ccf8 /about/showcase.md
parent072e836ec89c56510341a71e96d99f0ee6be3c2e (diff)
Update content for md
Diffstat (limited to 'about/showcase.md')
-rw-r--r--about/showcase.md970
1 files changed, 443 insertions, 527 deletions
diff --git a/about/showcase.md b/about/showcase.md
index 7a7b5941..42a659d1 100644
--- a/about/showcase.md
+++ b/about/showcase.md
@@ -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.
@@ -13,9 +13,8 @@ This page showcases my side projects, providing an overview of what each project
* [⇢ ⇢ ⇢ timr](#timr)
* [⇢ ⇢ ⇢ tasksamurai](#tasksamurai)
* [⇢ ⇢ ⇢ rexfiles](#rexfiles)
-* [⇢ ⇢ ⇢ dtail](#dtail)
-* [⇢ ⇢ ⇢ wireguardmeshgenerator](#wireguardmeshgenerator)
* [⇢ ⇢ ⇢ ior](#ior)
+* [⇢ ⇢ ⇢ wireguardmeshgenerator](#wireguardmeshgenerator)
* [⇢ ⇢ ⇢ ds-sim](#ds-sim)
* [⇢ ⇢ ⇢ sillybench](#sillybench)
* [⇢ ⇢ ⇢ gos](#gos)
@@ -25,12 +24,13 @@ This page showcases my side projects, providing an overview of what each project
* [⇢ ⇢ ⇢ quicklogger](#quicklogger)
* [⇢ ⇢ ⇢ docker-gpodder-sync-server](#docker-gpodder-sync-server)
* [⇢ ⇢ ⇢ terraform](#terraform)
+* [⇢ ⇢ ⇢ gogios](#gogios)
* [⇢ ⇢ ⇢ docker-radicale-server](#docker-radicale-server)
* [⇢ ⇢ ⇢ docker-anki-sync-server](#docker-anki-sync-server)
* [⇢ ⇢ ⇢ gorum](#gorum)
* [⇢ ⇢ ⇢ guprecords](#guprecords)
-* [⇢ ⇢ ⇢ gogios](#gogios)
* [⇢ ⇢ ⇢ randomjournalpage](#randomjournalpage)
+* [⇢ ⇢ ⇢ dtail](#dtail)
* [⇢ ⇢ ⇢ sway-autorotate](#sway-autorotate)
* [⇢ ⇢ ⇢ photoalbum](#photoalbum)
* [⇢ ⇢ ⇢ algorithms](#algorithms)
@@ -54,42 +54,43 @@ This page showcases my side projects, providing an overview of what each project
* [⇢ ⇢ ⇢ japi](#japi)
* [⇢ ⇢ ⇢ perl-poetry](#perl-poetry)
* [⇢ ⇢ ⇢ ipv6test](#ipv6test)
-* [⇢ ⇢ ⇢ cpuinfo](#cpuinfo)
* [⇢ ⇢ ⇢ loadbars](#loadbars)
+* [⇢ ⇢ ⇢ cpuinfo](#cpuinfo)
* [⇢ ⇢ ⇢ perldaemon](#perldaemon)
* [⇢ ⇢ ⇢ awksite](#awksite)
* [⇢ ⇢ ⇢ jsmstrade](#jsmstrade)
* [⇢ ⇢ ⇢ netcalendar](#netcalendar)
* [⇢ ⇢ ⇢ ychat](#ychat)
-* [⇢ ⇢ ⇢ vs-sim](#vs-sim)
* [⇢ ⇢ ⇢ hsbot](#hsbot)
* [⇢ ⇢ ⇢ fype](#fype)
+* [⇢ ⇢ ⇢ vs-sim](#vs-sim)
## 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,446
+* 📈 Total Lines of Code: 211,600
+* 📄 Total Lines of Documentation: 21,802
+* 💻 Languages: Go (20.2%), Java (19.1%), C++ (17.6%), C/C++ (9.9%), Perl (8.1%), C (7.1%), Shell (6.9%), Config (2.2%), HTML (2.1%), Ruby (1.3%), HCL (1.3%), Make (0.9%), Python (0.8%), CSS (0.7%), Raku (0.6%), JSON (0.4%), XML (0.3%), Haskell (0.3%), YAML (0.2%), TOML (0.1%)
+* 📚 Documentation: Text (52.5%), Markdown (45.2%), LaTeX (2.3%)
+* 🎵 Vibe-Coded Projects: 2 out of 55 (3.6%)
+* 🤖 AI-Assisted Projects (including vibe-coded): 7 out of 55 (12.7% AI-assisted, 87.3% human-only)
+* 🚀 Release Status: 33 released, 22 experimental (60.0% with releases, 40.0% experimental)
## Projects
### gitsyncer
-* 💻 Languages: Go (86.7%), Shell (11.4%), YAML (1.4%), JSON (0.5%)
+* 💻 Languages: Go (89.5%), Shell (8.9%), YAML (1.1%), JSON (0.4%)
* 📚 Documentation: Markdown (100.0%)
-* 📊 Commits: 60
-* 📈 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)
+* 📊 Commits: 76
+* 📈 Lines of Code: 8340
+* 📄 Lines of Documentation: 2363
+* 📅 Development Period: 2025-06-23 to 2025-07-12
+* 🔥 Recent Activity: 2.5 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
+* 🎵 Vibe-Coded: This project has been vibe coded
GitSyncer is a cross-platform repository synchronization tool that automatically keeps Git repositories in sync across multiple hosting platforms like GitHub, Codeberg, and private SSH servers. It solves the common problem of maintaining consistent code across different Git hosting services by cloning repositories, adding all configured platforms as remotes, and continuously merging and pushing changes bidirectionally while handling branch creation and conflict detection.
@@ -99,19 +100,14 @@ The tool is implemented in Go with a clean architecture that supports both indiv
[View on Codeberg](https://codeberg.org/snonux/gitsyncer)
[View on GitHub](https://github.com/snonux/gitsyncer)
-Go from `internal/cli/handlers.go`:
+Go from `internal/showcase/images.go`:
```AUTO
-func LoadConfig(configPath string) (*config.Config, error) {
- if configPath == "" {
- configPath = findDefaultConfigPath()
- if configPath == "" {
- return nil, fmt.Errorf("no configuration file found")
- }
- }
-
- fmt.Printf("Loaded configuration from: %s\n", configPath)
- return config.Load(configPath)
+func isGitHostedImage(url string) bool {
+ return strings.Contains(url, "github.com") ||
+ strings.Contains(url, "githubusercontent.com") ||
+ strings.Contains(url, "codeberg.org") ||
+ strings.Contains(url, "codeberg.page")
}
```
@@ -121,13 +117,13 @@ func LoadConfig(configPath string) (*config.Config, error) {
* 💻 Languages: Go (98.3%), YAML (1.7%)
* 📚 Documentation: Markdown (100.0%)
-* 📊 Commits: 19
+* 📊 Commits: 20
* 📈 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)
+* 📅 Development Period: 2025-06-25 to 2025-07-12
+* 🔥 Recent Activity: 15.4 days (avg. age of last 42 commits)
* ⚖️ License: BSD-2-Clause
-* 🧪 Status: Experimental (no releases yet)
+* 🏷️ Latest Release: v0.0.0 (2025-06-29)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -138,10 +134,14 @@ The project is implemented using a clean modular architecture with the CLI entry
[View on Codeberg](https://codeberg.org/snonux/timr)
[View on GitHub](https://github.com/snonux/timr)
-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)
+ })
+}
```
---
@@ -150,14 +150,14 @@ const Version = "v0.0.0"
* 💻 Languages: Go (99.8%), YAML (0.2%)
* 📚 Documentation: Markdown (100.0%)
-* 📊 Commits: 215
+* 📊 Commits: 216
* 📈 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)
+* 📅 Development Period: 2025-06-19 to 2025-07-12
+* 🔥 Recent Activity: 16.1 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
+* 🎵 Vibe-Coded: This project has been vibe coded
[![tasksamurai screenshot](showcase/tasksamurai/image-1.png "tasksamurai screenshot")](showcase/tasksamurai/image-1.png)
@@ -171,52 +171,23 @@ The implementation follows a clean architecture with clear separation of concern
[View on Codeberg](https://codeberg.org/snonux/tasksamurai)
[View on GitHub](https://github.com/snonux/tasksamurai)
-Go from `internal/ui/table.go`:
+Go from `internal/version.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}
- })()
- }
-}
+const Version = "0.9.2"
```
---
### 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.8 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -228,72 +199,63 @@ The project consists of three main components: **dotfiles** management for perso
[View on Codeberg](https://codeberg.org/snonux/rexfiles)
[View on GitHub](https://github.com/snonux/rexfiles)
-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;
+}
```
---
-### dtail
+### ior
-* 💻 Languages: Go (93.9%), JSON (2.8%), C (2.0%), Make (0.5%), C/C++ (0.3%), Config (0.2%), Shell (0.2%), Docker (0.1%)
-* 📚 Documentation: Text (79.4%), Markdown (20.6%)
-* 📊 Commits: 1049
-* 📈 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)
-* ⚖️ License: Apache-2.0
-* 🏷️ Latest Release: v4.2.0 (2023-06-21)
+* 💻 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: 56.3 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
-[![dtail screenshot](showcase/dtail/image-1.png "dtail screenshot")](showcase/dtail/image-1.png)
+[![ior screenshot](showcase/ior/image-1.png "ior screenshot")](showcase/ior/image-1.png)
-DTail is a distributed log processing system written in Go that allows DevOps engineers to tail, cat, and grep log files across thousands of servers concurrently. It provides secure access through SSH authentication and respects UNIX file system permissions, making it ideal for enterprise environments where log analysis needs to scale horizontally across large server fleets. The tool supports advanced features like compressed file handling (gzip/zstd) and distributed MapReduce aggregations for complex log analytics.
+Based on my analysis of the codebase, here's a comprehensive summary of the I/O Riot NG (ior) project:
-[![dtail screenshot](showcase/dtail/image-2.gif "dtail screenshot")](showcase/dtail/image-2.gif)
+[![ior screenshot](showcase/ior/image-2.svg "ior screenshot")](showcase/ior/image-2.svg)
-The system uses a client-server architecture where dtail servers run on target machines (listening on port 2222) and clients connect to multiple servers simultaneously. It can also operate in serverless mode for local operations. The implementation leverages SSH for secure communication, includes sophisticated connection throttling and resource management, and provides specialized tools (dcat, dgrep, dmap) for different log processing tasks. The MapReduce functionality supports SQL-like queries with server-side local aggregation and client-side final aggregation, enabling powerful distributed analytics across log data.
+**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.
-[View on Codeberg](https://codeberg.org/snonux/dtail)
-[View on GitHub](https://github.com/snonux/dtail)
+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.
+
+[View on Codeberg](https://codeberg.org/snonux/ior)
+[View on GitHub](https://github.com/snonux/ior)
-Go from `internal/io/signal/signal.go`:
+Go from `internal/file/file.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 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
}
```
@@ -307,7 +269,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.9 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2025-05-11)
@@ -332,50 +294,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)
-
-
-[![ior screenshot](showcase/ior/image-1.png "ior screenshot")](showcase/ior/image-1.png)
-
-Based on my analysis of the codebase, here's a comprehensive summary of the I/O Riot NG (ior) project:
-
-[![ior screenshot](showcase/ior/image-2.svg "ior screenshot")](showcase/ior/image-2.svg)
-
-**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.
-
-[View on Codeberg](https://codeberg.org/snonux/ior)
-[View on GitHub](https://github.com/snonux/ior)
-
-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%)
@@ -384,7 +302,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: 88.3 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
@@ -399,28 +317,16 @@ The project is built on an event-driven architecture with clear component separa
[View on Codeberg](https://codeberg.org/snonux/ds-sim)
[View on GitHub](https://github.com/snonux/ds-sim)
-Java from `src/main/java/simulator/VSCreateTask.java`:
+Java from `src/main/java/protocols/implementations/VSPingPongProtocol.java`:
```AUTO
-private String eventClassname;
-
-private String menuText;
-
-private String protocolClassname;
-
-private String shortname;
-
-private boolean isProtocolActivation;
-
-private boolean isProtocolDeactivation;
+private int clientCounter;
-private boolean isClientProtocol;
+private int serverCounter;
-private boolean isRequest;
-
-public VSCreateTask(String menuText, String eventClassname) {
- this.menuText = menuText;
- this.eventClassname = eventClassname;
+public VSPingPongProtocol() {
+ super(VSAbstractProtocol.HAS_ON_CLIENT_START);
+ setClassname(getClass().toString());
}
```
@@ -434,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.9 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -464,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.8 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
@@ -481,16 +387,29 @@ The tool is architected around a file-based queueing system where posts progress
[View on Codeberg](https://codeberg.org/snonux/gos)
[View on GitHub](https://github.com/snonux/gos)
-Go from `internal/platforms/linkedin/linkedin.go`:
+Go from `internal/config/args.go`:
```AUTO
-func postImageToLinkedInAPI(ctx context.Context, personURN, accessToken,
- imagePath string) (string, error) {
- uploadURL, imageURN, err := initializeImageUpload(ctx, personURN, accessToken)
- if err != nil {
- return imageURN, err
+func (a *Args) ParsePlatforms(platformStrs string) error {
+ a.Platforms = make(map[string]int)
+
+ for _, platformInfo := range strings.Split(platformStrs, ",") {
+ parts := strings.Split(platformInfo, ":")
+ platformStr := parts[0]
+
+ if len(parts) > 1 {
+ var err error
+ a.Platforms[platformStr], err = strconv.Atoi(parts[1])
+ if err != nil {
+ return err
+ }
+ } else {
+ colour.Infoln("No message length specified for", platformStr, "so assuming
+ 500")
+ a.Platforms[platformStr] = 500
+ }
}
- return imageURN, performImageUpload(ctx, imagePath, uploadURL, accessToken)
+ return nil
}
```
@@ -500,13 +419,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.8 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.
@@ -541,7 +460,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.6 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -553,16 +472,17 @@ The system is implemented with a modular architecture centered around a DSL clas
[View on Codeberg](https://codeberg.org/snonux/rcm)
[View on GitHub](https://github.com/snonux/rcm)
-Ruby from `lib/dslkeywords/package.rb`:
+Ruby from `lib/dslkeywords/given.rb`:
```AUTO
-def package(name, &block)
- return unless @conds_met
+def respond_to_missing? = true
+
+def met?
+ return false if @conds.key?(:hostname) && Socket.gethostname !=
+ @conds[:hostname].to_s
- f = Package.new(name)
- f.packages(f.instance_eval(&block))
- self << f
- f
+ true
+end
```
---
@@ -575,7 +495,7 @@ def package(name, &block)
* 📈 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)
+* 🔥 Recent Activity: 204.0 days (avg. age of last 42 commits)
* ⚖️ License: GPL-3.0
* 🏷️ Latest Release: 3.0.0 (2024-10-01)
@@ -611,7 +531,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.6 days (avg. age of last 42 commits)
* ⚖️ License: MIT
* 🏷️ Latest Release: v0.0.3 (2025-07-06)
@@ -682,7 +602,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: 475.4 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -719,7 +639,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: 505.4 days (avg. age of last 42 commits)
* ⚖️ License: MIT
* 🧪 Status: Experimental (no releases yet)
@@ -731,17 +651,72 @@ The system is designed to host multiple personal services including Anki sync se
[View on Codeberg](https://codeberg.org/snonux/terraform)
[View on GitHub](https://github.com/snonux/terraform)
-HCL from `s3-org-buetow-tfstate/main.tf`:
+HCL from `org-buetow-base/ecr.tf`:
```AUTO
-terraform {
- backend "s3" {
- bucket = "org-buetow-tfstate"
- key = "s3-org-buetow-tfstate/terraform.tfstate"
- region = "eu-central-1"
- encrypt = true
+resource "aws_ecr_repository" "radicale-read" {
+ name = "radicale"
+
+ tags = {
+ Name = "radicale"
}
}
+
+resource "aws_iam_policy" "ecr_radicale_read" {
+```
+
+---
+
+### 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: 518.3 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
+
+
+[![gogios screenshot](showcase/gogios/image-1.png "gogios screenshot")](showcase/gogios/image-1.png)
+
+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.
+
+[View on Codeberg](https://codeberg.org/snonux/gogios)
+[View on GitHub](https://github.com/snonux/gogios)
+
+Go from `internal/check.go`:
+
+```AUTO
+func (c check) run(ctx context.Context, name string) checkResult {
+ cmd := exec.CommandContext(ctx, c.Plugin, c.Args...)
+
+ var bytes bytes.Buffer
+ cmd.Stdout = &bytes
+ cmd.Stderr = &bytes
+
+ if err := cmd.Run(); err != nil {
+ if ctx.Err() == context.DeadlineExceeded {
+ return checkResult{name, "Check command timed out", time.Now().Unix(),
+ nagiosCritical, false}
+ }
+ }
+
+ parts := strings.Split(bytes.String(), "|")
+ output := strings.TrimSpace(parts[0])
+
+ ec := cmd.ProcessState.ExitCode()
+ if ec < int(nagiosOk) || ec > int(nagiosUnknown) {
+ ec = int(nagiosUnknown)
+ }
+
+ return checkResult{name, output, time.Now().Unix(), nagiosCode(ec), false}
+}
```
---
@@ -754,7 +729,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.9 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -791,7 +766,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: 652.2 days (avg. age of last 42 commits)
* ⚖️ License: MIT
* 🧪 Status: Experimental (no releases yet)
@@ -829,7 +804,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: 704.3 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -841,15 +816,16 @@ The architecture consists of several key components: a quorum manager that handl
[View on Codeberg](https://codeberg.org/snonux/gorum)
[View on GitHub](https://github.com/snonux/gorum)
-Go from `internal/utils/string.go`:
+Go from `internal/vote/vote.go`:
```AUTO
- "strings"
-)
+func New(conf config.Config, ids ...string) (Vote, error) {
+ var v Vote
-func StripPort(addr string) string {
- parts := strings.Split(addr, ":")
- return parts[0]
+ v.FromID = conf.MyID
+ v.IDs = ids
+
+ return v, nil
}
```
@@ -863,7 +839,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: 754.3 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: v1.0.0 (2023-04-29)
@@ -898,75 +874,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.
-
-[![gogios screenshot](showcase/gogios/image-1.png "gogios screenshot")](showcase/gogios/image-1.png)
-
-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.
-
-[View on Codeberg](https://codeberg.org/snonux/gogios)
-[View on GitHub](https://github.com/snonux/gogios)
-
-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%)
@@ -975,7 +882,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: 769.1 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1000,6 +907,62 @@ declare -i NUM_PAGES_TO_EXTRACT=42 # This is the answear!
---
+### dtail
+
+* 💻 Languages: Go (91.1%), JSON (4.1%), C (2.9%), Make (0.6%), C/C++ (0.5%), Config (0.3%), Shell (0.2%), Docker (0.2%)
+* 📚 Documentation: Text (80.4%), Markdown (19.6%)
+* 📊 Commits: 1049
+* 📈 Lines of Code: 13525
+* 📄 Lines of Documentation: 5375
+* 📅 Development Period: 2020-01-09 to 2023-10-05
+* 🔥 Recent Activity: 781.8 days (avg. age of last 42 commits)
+* ⚖️ License: Apache-2.0
+* 🏷️ Latest Release: v4.2.0 (2023-06-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.
+
+[![dtail screenshot](showcase/dtail/image-1.png "dtail screenshot")](showcase/dtail/image-1.png)
+
+DTail is a distributed log processing system written in Go that allows DevOps engineers to tail, cat, and grep log files across thousands of servers concurrently. It provides secure access through SSH authentication and respects UNIX file system permissions, making it ideal for enterprise environments where log analysis needs to scale horizontally across large server fleets. The tool supports advanced features like compressed file handling (gzip/zstd) and distributed MapReduce aggregations for complex log analytics.
+
+[![dtail screenshot](showcase/dtail/image-2.gif "dtail screenshot")](showcase/dtail/image-2.gif)
+
+The system uses a client-server architecture where dtail servers run on target machines (listening on port 2222) and clients connect to multiple servers simultaneously. It can also operate in serverless mode for local operations. The implementation leverages SSH for secure communication, includes sophisticated connection throttling and resource management, and provides specialized tools (dcat, dgrep, dmap) for different log processing tasks. The MapReduce functionality supports SQL-like queries with server-side local aggregation and client-side final aggregation, enabling powerful distributed analytics across log data.
+
+[View on Codeberg](https://codeberg.org/snonux/dtail)
+[View on GitHub](https://github.com/snonux/dtail)
+
+Go from `internal/io/fs/readfilelcontext.go`:
+
+```AUTO
+func (f *readFile) lContextNotMatched(ctx context.Context, ls *ltxState,
+ lines chan<- *line.Line, rawLine *bytes.Buffer) readStatus {
+
+ if ls.processAfter && ls.after > 0 {
+ ls.after--
+ myLine := line.New(rawLine, f.totalLineCount(), 100, f.globID)
+
+ select {
+ case lines <- myLine:
+ case <-ctx.Done():
+ return abortReading
+ }
+
+ } else if ls.processBefore {
+ select {
+ case ls.beforeBuf <- rawLine:
+ default:
+ pool.RecycleBytesBuffer(<-ls.beforeBuf)
+ ls.beforeBuf <- rawLine
+ }
+ }
+
+ return continueReading
+}
+```
+
+---
+
### sway-autorotate
* 💻 Languages: Shell (100.0%)
@@ -1008,7 +971,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.6 days (avg. age of last 42 commits)
* ⚖️ License: GPL-3.0
* 🧪 Status: Experimental (no releases yet)
@@ -1042,7 +1005,7 @@ declare -r SCREEN=eDP-1
* 📈 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)
+* 🔥 Recent Activity: 1282.2 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.5.0 (2022-02-21)
@@ -1084,7 +1047,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: 1433.3 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -1097,21 +1060,16 @@ The project leverages Go's generics system to provide type-safe implementations
[View on Codeberg](https://codeberg.org/snonux/algorithms)
[View on GitHub](https://github.com/snonux/algorithms)
-Go from `queue/elementarypriority.go`:
+Go from `queue/priority.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]
- }
- q.a = q.a[0 : len(q.a)-1]
-
- return max
+type PriorityQueue interface {
+ Insert(a int)
+ Max() (max int)
+ DeleteMax() int
+ Empty() bool
+ Size() int
+ Clear()
}
```
@@ -1125,7 +1083,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: 1435.1 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1154,11 +1112,11 @@ def out(message, prefix, flag = :none)
### foo.zone
* 📚 Documentation: Markdown (100.0%)
-* 📊 Commits: 2905
+* 📊 Commits: 2911
* 📈 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.9 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1181,7 +1139,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: 1914.3 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1215,7 +1173,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.8 days (avg. age of last 42 commits)
* ⚖️ License: Apache-2.0
* 🏷️ Latest Release: 0.5.1 (2019-01-04)
@@ -1240,7 +1198,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.5 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 1.1.3 (2015-01-02)
@@ -1253,7 +1211,7 @@ The system is particularly useful for distributed static content delivery where
[View on Codeberg](https://codeberg.org/snonux/staticfarm-apache-handlers)
[View on GitHub](https://github.com/snonux/staticfarm-apache-handlers)
-Perl from `src/StaticFarm/API.pm`:
+Perl from `debian/staticfarm-apache-handlers/usr/share/staticfarm/apache/handlers/StaticFarm/API.pm`:
```AUTO
sub handler {
@@ -1311,7 +1269,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: 3200.4 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1334,7 +1292,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: 3467.1 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 1.0.1 (2015-01-02)
@@ -1347,7 +1305,7 @@ The tool is particularly useful for system administrators and DevOps engineers w
[View on Codeberg](https://codeberg.org/snonux/mon)
[View on GitHub](https://github.com/snonux/mon)
-Perl from `debian/mon/usr/share/mon/lib/MAPI/RESTlos.pm`:
+Perl from `lib/MON/Cache.pm`:
```AUTO
sub new {
@@ -1371,7 +1329,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: 3471.2 days (avg. age of last 42 commits)
* ⚖️ License: Apache-2.0
* 🏷️ Latest Release: 0 (2015-10-26)
@@ -1407,7 +1365,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.9 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 1.0.2 (2015-01-02)
@@ -1420,34 +1378,23 @@ The project is implemented as a modular Perl application with a clean architectu
[View on Codeberg](https://codeberg.org/snonux/pingdomfetch)
[View on GitHub](https://github.com/snonux/pingdomfetch)
-Perl from `lib/PINGDOMFETCH/Pingdom.pm`:
+Perl from `lib/PINGDOMFETCH/Pingdomfetch.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, $opts ) = @_;
-
- my $headers = {
- 'App-key' => $app_key,
- 'User-Agent' => 'pingdomfetch',
- };
-
- my $url_base = "$protocol://$host:$port";
+ my $config = PINGDOMFETCH::Config->new($opts);
+ my $pingdom = PINGDOMFETCH::Pingdom->new($config);
my $self = bless {
- config => $config,
- json => $json,
- url_base => $url_base,
- headers => $headers,
+ config => $config,
+ pingdom => $pingdom,
+ dots_counter => 0,
}, $class;
+ $self->init_from_to_interval();
+
return $self;
}
```
@@ -1462,7 +1409,7 @@ sub new {
* 📈 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.6 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.1 (2015-06-01)
@@ -1475,23 +1422,40 @@ The implementation follows a concurrent architecture using Go's goroutines and c
[View on Codeberg](https://codeberg.org/snonux/gotop)
[View on GitHub](https://github.com/snonux/gotop)
-Go from `utils/utils.go`:
+Go from `process/process.go`:
```AUTO
-func Slurp(what *string, path string) error {
- bytes, err := ioutil.ReadFile(path)
+func new(pidstr string) (Process, error) {
+ pid, err := strconv.Atoi(pidstr)
if err != nil {
- return err
+ return Process{}, err
+ }
+
+ timestamp := int32(time.Now().Unix())
+ p := Process{Pid: pid, Timestamp: timestamp}
+ var rawIo string
+
+ if err = utils.Slurp(&rawIo, fmt.Sprintf("/proc/%d/io", pid)); err != nil {
+ return p, err
+ }
+
+ if err = p.parseRawIo(rawIo); err != nil {
+ return p, err
+ }
+
+ if err = utils.Slurp(&p.Comm, fmt.Sprintf("/proc/%d/comm", pid)); err != nil {
+ return p, err
+ }
+
+ err = utils.Slurp(&p.Cmdline, fmt.Sprintf("/proc/%d/cmdline", pid))
+
+ if p.Cmdline == "" {
+ p.Id = fmt.Sprintf("(%s) %s", pidstr, p.Comm)
} else {
- for _, byte := range bytes {
- if byte == 0 {
- *what += " "
- } else {
- *what += string(byte)
- }
- }
+ p.Id = fmt.Sprintf("(%s) %s", pidstr, p.Cmdline)
}
- return nil
+
+ return p, err
}
```
@@ -1503,7 +1467,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: 3617.2 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2018-12-22)
@@ -1518,22 +1482,18 @@ The system works through a template-driven architecture where content is written
[View on Codeberg](https://codeberg.org/snonux/xerl)
[View on GitHub](https://github.com/snonux/xerl)
-Perl from `Xerl/XML/Element.pm`:
+Perl from `Xerl/XML/Reader.pm`:
```AUTO
-sub starttag {
- my $self = $_[0];
- my ( $name, $temp ) = ( $_[1], undef );
-
- return $self if $self->get_name() eq $name;
- return undef if ref $self->get_array() ne 'ARRAY';
+sub open {
+ my $self = shift;
- for ( @{ $self->get_array() } ) {
- $temp = $_->starttag($name);
- return $temp if defined $temp;
+ if ( -f $self->get_path() ) {
+ return 0;
+ }
+ else {
+ return 1;
}
-
- return undef;
}
```
@@ -1547,7 +1507,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: 3665.3 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1562,26 +1522,17 @@ The implementation works by creating a Debian filesystem image using debootstrap
[View on Codeberg](https://codeberg.org/snonux/debroid)
[View on GitHub](https://github.com/snonux/debroid)
-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
```
---
@@ -1594,7 +1545,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: 3943.3 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 1.0.2 (2014-11-17)
@@ -1634,7 +1585,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.8 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.0.0.0 (2013-03-22)
@@ -1669,7 +1620,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.8 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.2.0 (2014-07-05)
@@ -1704,7 +1655,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: 4018.2 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.1.5 (2014-06-22)
@@ -1727,7 +1678,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.5 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.9.3 (2014-06-14)
@@ -1767,7 +1718,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.6 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.4.3 (2014-06-16)
@@ -1790,7 +1741,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.8 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -1803,18 +1754,18 @@ Each script explores different themes - Christmas celebrations, mathematical stu
[View on Codeberg](https://codeberg.org/snonux/perl-poetry)
[View on GitHub](https://github.com/snonux/perl-poetry)
-Perl from `math.pl`:
+Perl from `perllove.pl`:
```AUTO
-do { int'egrate'; sub trade; };
-do { exp'onentize' and abs'olutize' };
-study and study and study and study;
-
-foreach $topic ({of, math}) {
-you, m/ay /go, to, limits }
-
-do { not qw/erk / unless $success
-and m/ove /o;$n and study };
+no strict;
+no warnings;
+we: do { print 'love'
+or warn and die 'slow'
+unless not defined true #respect
+} for reverse'd', qw/mind of you/
+and map { 'me' } 'into', undef $mourning;
+__END__
+v2 Copyright (2005, 2006) by Paul C. Buetow, http://paul.buetow.org
```
---
@@ -1825,7 +1776,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.9 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -1870,38 +1821,15 @@ if ($ENV{SERVER_NAME} eq 'ipv6.buetow.org') {
---
-### cpuinfo
-
-* 💻 Languages: Shell (53.2%), Make (46.8%)
-* 📚 Documentation: Text (100.0%)
-* 📊 Commits: 28
-* 📈 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)
-* ⚖️ License: No license found
-* 🏷️ Latest Release: 1.0.2 (2014-06-22)
-
-⚠️ **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.
-
-**cpuinfo** is a small command-line utility that provides a human-readable summary of CPU information on Linux systems. It parses `/proc/cpuinfo` using AWK to extract and display key processor details including the CPU model, cache size, number of physical processors, cores, and whether hyper-threading is enabled. The tool calculates total CPU frequency and bogomips across all cores, making it easier to understand complex multi-core and multi-processor configurations at a glance.
-
-The implementation is remarkably simple - a single shell script that uses GNU AWK to parse the kernel's CPU information and format it into a clear, structured output. It's particularly useful for system administrators and developers who need to quickly understand CPU topology, especially on servers with multiple processors or complex threading configurations where the raw `/proc/cpuinfo` output can be overwhelming.
-
-[View on Codeberg](https://codeberg.org/snonux/cpuinfo)
-[View on GitHub](https://github.com/snonux/cpuinfo)
-
----
-
### loadbars
* 💻 Languages: Perl (97.4%), Make (2.6%)
-* 📚 Documentation: Text (100.0%)
+* 📚 Documentation: Text (93.5%), Markdown (6.5%)
* 📊 Commits: 527
* 📈 Lines of Code: 1828
-* 📄 Lines of Documentation: 100
+* 📄 Lines of Documentation: 107
* 📅 Development Period: 2010-11-05 to 2015-05-23
-* 🔥 Recent Activity: 4275.4 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 4215.4 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: 0.7.5 (2014-06-22)
@@ -1914,27 +1842,49 @@ The application is implemented using a multi-threaded architecture where each mo
[View on Codeberg](https://codeberg.org/snonux/loadbars)
[View on GitHub](https://github.com/snonux/loadbars)
-Perl from `lib/Loadbars/HelpDispatch.pm`:
+Perl from `lib/Loadbars/Utils.pm`:
```AUTO
-sub create () {
- my $hosts = '';
-
- 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
+sub trim (\$) {
+ my $str = shift;
+ $$str =~ s/^[\s\t]+//;
+ $$str =~ s/[\s\t]+$//;
+ return undef;
+}
```
---
+### cpuinfo
+
+* 💻 Languages: Shell (53.2%), Make (46.8%)
+* 📚 Documentation: Text (100.0%)
+* 📊 Commits: 28
+* 📈 Lines of Code: 124
+* 📄 Lines of Documentation: 75
+* 📅 Development Period: 2010-11-05 to 2021-11-05
+* 🔥 Recent Activity: 4248.5 days (avg. age of last 42 commits)
+* ⚖️ License: No license found
+* 🏷️ Latest Release: 1.0.2 (2014-06-22)
+
+⚠️ **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.
+
+**cpuinfo** is a small command-line utility that provides a human-readable summary of CPU information on Linux systems. It parses `/proc/cpuinfo` using AWK to extract and display key processor details including the CPU model, cache size, number of physical processors, cores, and whether hyper-threading is enabled. The tool calculates total CPU frequency and bogomips across all cores, making it easier to understand complex multi-core and multi-processor configurations at a glance.
+
+The implementation is remarkably simple - a single shell script that uses GNU AWK to parse the kernel's CPU information and format it into a clear, structured output. It's particularly useful for system administrators and developers who need to quickly understand CPU topology, especially on servers with multiple processors or complex threading configurations where the raw `/proc/cpuinfo` output can be overwhelming.
+
+[View on Codeberg](https://codeberg.org/snonux/cpuinfo)
+[View on GitHub](https://github.com/snonux/cpuinfo)
+
+---
+
### perldaemon
* 💻 Languages: Perl (72.3%), Shell (23.8%), Config (3.9%)
* 📊 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: 4328.1 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🏷️ Latest Release: v1.4 (2022-04-29)
@@ -1947,21 +1897,17 @@ The architecture centers around a modular plugin system where custom functionali
[View on Codeberg](https://codeberg.org/snonux/perldaemon)
[View on GitHub](https://github.com/snonux/perldaemon)
-Perl from `lib/PerlDaemon/RunModules.pm`:
+Perl from `lib/PerlDaemonModules/ExampleModule2.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;
+}
```
---
@@ -1974,7 +1920,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: 4659.1 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🏷️ Latest Release: v0.2 (2011-01-27)
@@ -2019,7 +1965,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.8 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🏷️ Latest Release: v0.3 (2009-02-08)
@@ -2073,7 +2019,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: 5352.5 days (avg. age of last 42 commits)
* ⚖️ License: GPL-2.0
* 🏷️ Latest Release: v0.1 (2009-02-08)
@@ -2090,18 +2036,13 @@ The implementation uses a clean separation of concerns with dedicated packages f
[View on Codeberg](https://codeberg.org/snonux/netcalendar)
[View on GitHub](https://github.com/snonux/netcalendar)
-Java from `sources/client/helper/DateSpinner.java`:
+Java from `sources/client/inputforms/CreateNewEvent.java`:
```AUTO
-private void initComponents() {
- setLayout(new FlowLayout(FlowLayout.LEFT, 4, 4));
-
- spinnerDateModel = new SpinnerDateModel(date, null, null, Calendar.MONTH);
- JSpinner jSpinner = new JSpinner(spinnerDateModel);
- new JSpinner.DateEditor(jSpinner, "MM/yy");
+private final static long serialVersionUID = 1L;
- add(jSpinner);
-}
+private final static String[] labels =
+ { "Description: ", "Category: ", "Place: ", "Yearly: ", "Date: "};
```
---
@@ -2114,7 +2055,7 @@ private void initComponents() {
* 📈 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)
+* 🔥 Recent Activity: 5372.7 days (avg. age of last 42 commits)
* ⚖️ License: GPL-2.0
* 🏷️ Latest Release: yhttpd-0.7.2 (2013-04-06)
@@ -2131,46 +2072,13 @@ The architecture is built around several key managers: a socket manager for hand
---
-### 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)
-
-⚠️ **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 screenshot](showcase/vs-sim/image-1.jpg "vs-sim screenshot")](showcase/vs-sim/image-1.jpg)
-
-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.
-
-[View on Codeberg](https://codeberg.org/snonux/vs-sim)
-[View on GitHub](https://github.com/snonux/vs-sim)
-
-Java from `sources/exceptions/VSNegativeNumberException.java`:
-
-```AUTO
-public class VSNegativeNumberException extends Exception {
- private static final long serialVersionUID = 1L;
-}
-```
-
----
-
### hsbot
* 💻 Languages: Haskell (98.5%), Make (1.5%)
* 📊 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: 5448.1 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -2183,32 +2091,32 @@ The implementation uses a clean separation of concerns with modules for IRC conn
[View on Codeberg](https://codeberg.org/snonux/hsbot)
[View on GitHub](https://github.com/snonux/hsbot)
-Haskell from `HsBot/Plugins/MessageCounter.hs`:
+Haskell from `HsBot/Plugins/PrintMessages.hs`:
```AUTO
-module HsBot.Plugins.MessageCounter (makeMessageCounter) where
+module HsBot.Plugins.PrintMessages (makePrintMessages) where
import HsBot.Plugins.Base
import HsBot.Base.Env
import HsBot.Base.State
-import HsBot.IRC.User
-
-update user = user { userMessages = 1 + userMessages user }
+printMessages :: CallbackFunction
+printMessages str sendMessage env@(Env state _) = do
+ putStrLn $ (currentChannel state) ++ " "
```
---
### fype
-* 💻 Languages: C (71.2%), C/C++ (20.7%), HTML (6.6%), Make (1.5%)
-* 📚 Documentation: Text (60.3%), LaTeX (39.7%)
+* 💻 Languages: C (72.1%), C/C++ (20.7%), HTML (5.7%), Make (1.5%)
+* 📚 Documentation: Text (71.3%), LaTeX (28.7%)
* 📊 Commits: 99
-* 📈 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)
+* 📈 Lines of Code: 10196
+* 📄 Lines of Documentation: 1741
+* 📅 Development Period: 2008-05-15 to 2021-11-03
+* 🔥 Recent Activity: 5609.9 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -2221,16 +2129,24 @@ The implementation is built using a straightforward top-down parser with a maxim
[View on Codeberg](https://codeberg.org/snonux/fype)
[View on GitHub](https://github.com/snonux/fype)
-C from `src/core/scanner.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;
-```
+### 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: 5809.1 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.
+
+[View on Codeberg](https://codeberg.org/snonux/vs-sim)
+[View on GitHub](https://github.com/snonux/vs-sim)