summaryrefslogtreecommitdiff
path: root/about/showcase.gmi.tpl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-20 13:43:37 +0300
committerPaul Buetow <paul@buetow.org>2025-07-20 13:43:37 +0300
commitaf59002fd602f709fc214960d1a4cafbc1a0a460 (patch)
tree8888ed819f41b5200edc91f89f4ff9180ec41070 /about/showcase.gmi.tpl
parent8cc042e2b48a925c482c9fcfa5c25fc257cfc6fe (diff)
Update content for gemtext
Diffstat (limited to 'about/showcase.gmi.tpl')
-rw-r--r--about/showcase.gmi.tpl1288
1 files changed, 196 insertions, 1092 deletions
diff --git a/about/showcase.gmi.tpl b/about/showcase.gmi.tpl
index 799d86f0..94d80733 100644
--- a/about/showcase.gmi.tpl
+++ b/about/showcase.gmi.tpl
@@ -1,6 +1,6 @@
# Project Showcase
-Generated on: 2025-07-19
+Generated on: 2025-07-20
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,31 +9,33 @@ This page showcases my side projects, providing an overview of what each project
## Overall Statistics
* ๐Ÿ“ฆ Total Projects: 56
-* ๐Ÿ“Š Total Commits: 10,528
-* ๐Ÿ“ˆ Total Lines of Code: 202,691
-* ๐Ÿ“„ Total Lines of Documentation: 236,370
-* ๐Ÿ’ป Languages: Go (31.4%), Java (20.0%), C (9.5%), C++ (8.7%), Perl (7.9%), Shell (6.4%), C/C++ (6.0%), HTML (1.8%), Config (1.8%), Ruby (1.4%), HCL (1.4%), Python (0.8%), Make (0.8%), Raku (0.4%), JSON (0.4%), CSS (0.4%), XML (0.3%), Haskell (0.3%), YAML (0.2%), TOML (0.1%)
-* ๐Ÿ“š Documentation: Text (94.3%), Markdown (5.5%), LaTeX (0.2%)
-* ๐ŸŽต Vibe-Coded Projects: 3 out of 56 (5.4%)
-* ๐Ÿค– AI-Assisted Projects (including vibe-coded): 8 out of 56 (14.3% AI-assisted, 85.7% human-only)
+* ๐Ÿ“Š Total Commits: 10,552
+* ๐Ÿ“ˆ Total Lines of Code: 216,571
+* ๐Ÿ“„ Total Lines of Documentation: 22,738
+* ๐Ÿ’ป Languages: Go (26.6%), Java (18.7%), HTML (15.8%), C (8.9%), Perl (7.2%), XML (6.2%), C/C++ (3.7%), Shell (3.2%), C++ (2.4%), Config (1.4%), Ruby (1.3%), HCL (1.3%), Python (0.7%), Make (0.6%), CSS (0.6%), Raku (0.4%), JSON (0.4%), Haskell (0.3%), YAML (0.2%), TOML (0.1%)
+* ๐Ÿ“š Documentation: Text (50.5%), Markdown (47.0%), LaTeX (2.5%)
+* ๐ŸŽต Vibe-Coded Projects: 4 out of 56 (7.1%)
+* ๐Ÿค– AI-Assisted Projects (including vibe-coded): 9 out of 56 (16.1% AI-assisted, 83.9% human-only)
* ๐Ÿš€ Release Status: 34 released, 22 experimental (60.7% with releases, 39.3% experimental)
## Projects
### totalrecall
-* ๐Ÿ’ป Languages: Go (99.8%), YAML (0.2%)
-* ๐Ÿ“š Documentation: Markdown (92.7%), Text (7.3%)
-* ๐Ÿ“Š Commits: 42
-* ๐Ÿ“ˆ Lines of Code: 7418
-* ๐Ÿ“„ Lines of Documentation: 438
-* ๐Ÿ“… Development Period: 2025-07-14 to 2025-07-19
-* ๐Ÿ”ฅ Recent Activity: 2.0 days (avg. age of last 42 commits)
+* ๐Ÿ’ป Languages: Go (98.9%), Shell (0.9%), YAML (0.2%)
+* ๐Ÿ“š Documentation: Markdown (93.3%), Text (6.7%)
+* ๐Ÿ“Š Commits: 55
+* ๐Ÿ“ˆ Lines of Code: 7684
+* ๐Ÿ“„ Lines of Documentation: 390
+* ๐Ÿ“… Development Period: 2025-07-14 to 2025-07-20
+* ๐Ÿ”ฅ Recent Activity: 1.7 days (avg. age of last 42 commits)
* โš–๏ธ License: MIT
-* ๐Ÿท๏ธ Latest Release: v0.5.0 (2025-07-19)
+* ๐Ÿท๏ธ Latest Release: v0.6.1 (2025-07-20)
* ๐ŸŽต Vibe-Coded: This project has been vibe coded
+=> showcase/totalrecall/image-1.png totalrecall screenshot
+
**totalrecall** is a Bulgarian language learning tool that generates comprehensive Anki flashcard materials from Bulgarian words. It creates high-quality audio pronunciations using OpenAI TTS, AI-generated contextual images via DALL-E, and automatic translations, making it easier for learners to memorize Bulgarian vocabulary through visual and auditory associations. The tool is particularly useful for language learners who want to create professional-quality flashcards with authentic Bulgarian pronunciation and memorable visual contexts without manually sourcing audio and images.
The project is implemented in Go with a modular architecture featuring both CLI and GUI interfaces. It leverages OpenAI's APIs for audio generation (11 available voices) and image creation, includes audio caching to minimize API costs, and supports batch processing from text files. The tool outputs Anki-compatible packages (.apkg format) or CSV files with all media included, following a clean package structure with separate modules for audio generation, image processing, Anki formatting, and configuration management using industry-standard libraries like Cobra for CLI and Viper for configuration.
@@ -41,48 +43,19 @@ The project is implemented in Go with a modular architecture featuring both CLI
=> https://codeberg.org/snonux/totalrecall View on Codeberg
=> https://github.com/snonux/totalrecall View on GitHub
-Go from `internal/gui/generator.go`:
-
-```AUTO
-func (a *Application) saveAudioAttribution(word, audioFile, voice string, speed
- float64) error {
- attribution := fmt.Sprintf("Audio generated by OpenAI TTS\n\n")
- attribution += fmt.Sprintf("Bulgarian word: %s\n", word)
- attribution += fmt.Sprintf("Model: %s\n", a.audioConfig.OpenAIModel)
- attribution += fmt.Sprintf("Voice: %s\n", voice)
- attribution += fmt.Sprintf("Speed: %.2f\n", speed)
-
- if a.audioConfig.OpenAIInstruction != "" {
- attribution += fmt.Sprintf("\nVoice instructions:\n%s\n",
- a.audioConfig.OpenAIInstruction)
- }
-
- attribution += fmt.Sprintf("\nGenerated at: %s\n", time.Now().Format(
- "2006-01-02 15:04:05"))
-
- attrPath := strings.TrimSuffix(audioFile, filepath.Ext(audioFile)) +
- "_attribution.txt"
- if err := os.WriteFile(attrPath, []byte(attribution), 0644); err != nil {
- return fmt.Errorf("failed to write audio attribution file: %w", err)
- }
-
- return nil
-}
-```
-
---
### gitsyncer
-* ๐Ÿ’ป Languages: Go (90.3%), Shell (8.3%), YAML (1.0%), JSON (0.4%)
+* ๐Ÿ’ป Languages: Go (90.3%), Shell (8.1%), YAML (1.0%), JSON (0.5%)
* ๐Ÿ“š Documentation: Markdown (100.0%)
-* ๐Ÿ“Š Commits: 88
-* ๐Ÿ“ˆ Lines of Code: 8976
-* ๐Ÿ“„ Lines of Documentation: 2475
-* ๐Ÿ“… Development Period: 2025-06-23 to 2025-07-13
-* ๐Ÿ”ฅ Recent Activity: 7.9 days (avg. age of last 42 commits)
+* ๐Ÿ“Š Commits: 92
+* ๐Ÿ“ˆ Lines of Code: 9187
+* ๐Ÿ“„ Lines of Documentation: 2484
+* ๐Ÿ“… Development Period: 2025-06-23 to 2025-07-19
+* ๐Ÿ”ฅ Recent Activity: 7.8 days (avg. age of last 42 commits)
* โš–๏ธ License: BSD-2-Clause
-* ๐Ÿท๏ธ Latest Release: v0.7.2 (2025-07-13)
+* ๐Ÿท๏ธ Latest Release: v0.8.2 (2025-07-19)
* ๐ŸŽต Vibe-Coded: This project has been vibe coded
@@ -93,62 +66,28 @@ 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/showcase/showcase.go`:
-
-```AUTO
-func New(cfg *config.Config, workDir string) *Generator {
- return &Generator{
- config: cfg,
- workDir: workDir,
- }
-}
-```
-
---
-### dtail
-
-* ๐Ÿ’ป Languages: Go (91.0%), Shell (4.1%), JSON (2.1%), C (1.4%), Make (0.9%), C/C++ (0.2%), Config (0.1%)
-* ๐Ÿ“š Documentation: Text (98.3%), Markdown (1.7%)
-* ๐Ÿ“Š Commits: 1049
-* ๐Ÿ“ˆ Lines of Code: 27726
-* ๐Ÿ“„ Lines of Documentation: 220214
-* ๐Ÿ“… Development Period: 2020-01-09 to 2025-07-04
-* ๐Ÿ”ฅ Recent Activity: 17.0 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
-
-
-=> showcase/dtail/image-1.png dtail screenshot
-
-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.
-
-=> showcase/dtail/image-2.gif dtail screenshot
-
-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.
-
-=> https://codeberg.org/snonux/dtail View on Codeberg
-=> https://github.com/snonux/dtail View on GitHub
+### timr
-Go from `cmd/dcat/main.go`:
+* ๐Ÿ’ป Languages: Go (98.3%), YAML (1.7%)
+* ๐Ÿ“š Documentation: Markdown (100.0%)
+* ๐Ÿ“Š Commits: 21
+* ๐Ÿ“ˆ Lines of Code: 873
+* ๐Ÿ“„ Lines of Documentation: 137
+* ๐Ÿ“… Development Period: 2025-06-25 to 2025-07-19
+* ๐Ÿ”ฅ Recent Activity: 22.0 days (avg. age of last 42 commits)
+* โš–๏ธ License: BSD-2-Clause
+* ๐Ÿท๏ธ Latest Release: v0.0.0 (2025-06-29)
+* ๐ŸŽต Vibe-Coded: This project has been vibe coded
-```AUTO
-flag.StringVar(&args.SSHPrivateKeyFilePath, "key", "", "Path to private key")
-flag.StringVar(&args.ServersStr, "servers", "", "Remote servers to connect")
-flag.StringVar(&args.UserName, "user", userName, "Your system user name")
-flag.StringVar(&args.What, "files", "", "File(s) to read")
-flag.StringVar(&pprof, "pprof", "", "Start PProf server this address")
-profiling.AddFlags(&profileFlags)
+`timr` is a minimalist command-line time tracking tool written in Go that provides a simple stopwatch-style timer for tracking work sessions. It offers commands to start, stop, reset, and check the status of the timer, with all state persisted across sessions in `~/.config/timr/.timr_state`. The tool is particularly useful for developers and professionals who need to track time spent on tasks without the overhead of complex time-tracking applications.
-flag.Parse()
-config.Setup(source.Client, &args, flag.Args())
+The project is implemented using a clean modular architecture with the CLI entry point in `/cmd/timr/main.go`, core timer logic in `/internal/timer/`, and an interactive TUI mode powered by Bubble Tea in `/internal/live/`. Key features include persistent state across sessions, shell prompt integration for displaying timer status, raw output modes for scripting, and a full-screen live timer interface with keyboard controls. The tool maintains atomic state updates and handles unexpected exits gracefully by immediately persisting state changes.
-if displayVersion {
- version.PrintAndExit()
-}
-```
+=> https://codeberg.org/snonux/timr View on Codeberg
+=> https://github.com/snonux/timr View on GitHub
---
@@ -160,7 +99,7 @@ if displayVersion {
* ๐Ÿ“ˆ Lines of Code: 4142
* ๐Ÿ“„ Lines of Documentation: 854
* ๐Ÿ“… Development Period: 2021-12-28 to 2025-07-16
-* ๐Ÿ”ฅ Recent Activity: 22.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 22.8 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -172,54 +111,6 @@ 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
-Perl from `frontends/scripts/foostats.pl`:
-
-```AUTO
-sub write ( $path, $content ) {
- open my $fh, '>', "$path.tmp"
- or die "\nCannot open file: $!";
- print $fh $content;
- close $fh;
-
- rename
- "$path.tmp",
- $path;
-}
-```
-
----
-
-### timr
-
-* ๐Ÿ’ป Languages: Go (98.3%), YAML (1.7%)
-* ๐Ÿ“š Documentation: Markdown (100.0%)
-* ๐Ÿ“Š Commits: 20
-* ๐Ÿ“ˆ Lines of Code: 873
-* ๐Ÿ“„ Lines of Documentation: 135
-* ๐Ÿ“… Development Period: 2025-06-25 to 2025-07-12
-* ๐Ÿ”ฅ Recent Activity: 22.2 days (avg. age of last 42 commits)
-* โš–๏ธ License: BSD-2-Clause
-* ๐Ÿท๏ธ Latest Release: v0.0.0 (2025-06-29)
-* ๐Ÿค– AI-Assisted: This project was partially created with the help of generative AI
-
-
-`timr` is a minimalist command-line time tracking tool written in Go that provides a simple stopwatch-style timer for tracking work sessions. It offers commands to start, stop, reset, and check the status of the timer, with all state persisted across sessions in `~/.config/timr/.timr_state`. The tool is particularly useful for developers and professionals who need to track time spent on tasks without the overhead of complex time-tracking applications.
-
-The project is implemented using a clean modular architecture with the CLI entry point in `/cmd/timr/main.go`, core timer logic in `/internal/timer/`, and an interactive TUI mode powered by Bubble Tea in `/internal/live/`. Key features include persistent state across sessions, shell prompt integration for displaying timer status, raw output modes for scripting, and a full-screen live timer interface with keyboard controls. The tool maintains atomic state updates and handles unexpected exits gracefully by immediately persisting state changes.
-
-=> https://codeberg.org/snonux/timr View on Codeberg
-=> https://github.com/snonux/timr View on GitHub
-
-Go from `internal/live/live.go`:
-
-```AUTO
-func tick() tea.Cmd {
- return tea.Tick(time.Second, func(t time.Time) tea.Msg {
- return tickMsg(t)
- })
-}
-```
-
---
### tasksamurai
@@ -230,7 +121,7 @@ func tick() tea.Cmd {
* ๐Ÿ“ˆ Lines of Code: 6160
* ๐Ÿ“„ Lines of Documentation: 162
* ๐Ÿ“… Development Period: 2025-06-19 to 2025-07-12
-* ๐Ÿ”ฅ Recent Activity: 22.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 23.8 days (avg. age of last 42 commits)
* โš–๏ธ License: BSD-2-Clause
* ๐Ÿท๏ธ Latest Release: v0.9.2 (2025-07-02)
* ๐ŸŽต Vibe-Coded: This project has been vibe coded
@@ -247,29 +138,28 @@ 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/task/task.go`:
-
-```AUTO
-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
-}
-```
+---
+
+### foo.zone
+
+* ๐Ÿ’ป Languages: HTML (70.6%), XML (28.8%), Shell (0.4%), CSS (0.2%)
+* ๐Ÿ“š Documentation: Markdown (61.0%), Text (39.0%)
+* ๐Ÿ“Š Commits: 2939
+* ๐Ÿ“ˆ Lines of Code: 44172
+* ๐Ÿ“„ Lines of Documentation: 574
+* ๐Ÿ“… Development Period: 2021-04-29 to 2025-07-20
+* ๐Ÿ”ฅ Recent Activity: 24.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
+
+
+This is **foo.zone**, a personal blog and technical website belonging to Paul Buetow, a Site Reliability Engineer based in Sofia, Bulgaria. The project is a static website that serves as a comprehensive platform for sharing technical knowledge, book notes, and personal experiences in the fields of system administration, DevOps, and programming.
+
+The site is built using **Gemtexter**, a static site generator that creates both HTML and Gemini protocol content from markdown sources. The architecture is refreshingly simple and follows KISS principles, with content organized into several key sections: a main blog feed (gemfeed) with over 100 technical posts dating back to 2008, detailed book notes and summaries, project documentation (including tools like DTail for distributed log tailing), and personal resources. The website is served by OpenBSD using relayd and httpd, demonstrating the author's preference for robust, security-focused Unix systems. The project emphasizes clean, semantic HTML, custom CSS styling, and accessibility, while maintaining both web and Gemini protocol compatibility for broader reach across different internet communities.
+
+=> https://codeberg.org/snonux/foo.zone View on Codeberg
+=> https://github.com/snonux/foo.zone View on GitHub
---
@@ -281,7 +171,7 @@ func SetDebugLog(path string) error {
* ๐Ÿ“ˆ Lines of Code: 12762
* ๐Ÿ“„ Lines of Documentation: 742
* ๐Ÿ“… Development Period: 2024-01-18 to 2025-07-14
-* ๐Ÿ”ฅ Recent Activity: 60.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 61.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
@@ -300,34 +190,32 @@ The architecture combines kernel-level tracing with user-space analysis: eBPF pr
=> https://codeberg.org/snonux/ior View on Codeberg
=> https://github.com/snonux/ior View on GitHub
-Go from `tools/filewriter/main.go`:
+---
-```AUTO
-func main() {
- file, err := os.OpenFile("output.txt", os.O_APPEND|os.O_CREATE|os.O_WRONLY,
- 0644)
- if err != nil {
- panic(err)
- }
- defer file.Close()
+### dtail
- data := []byte("A")
+* ๐Ÿ’ป 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: 63.3 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
- for {
- _, err := file.Write(data)
- if err != nil {
- panic(err)
- }
- err = file.Sync()
- if err != nil {
- panic(err)
- }
+=> showcase/dtail/image-1.png dtail screenshot
- time.Sleep(3 * time.Second)
- }
-}
-```
+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.
+
+=> showcase/dtail/image-2.gif dtail screenshot
+
+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.
+
+=> https://codeberg.org/snonux/dtail View on Codeberg
+=> https://github.com/snonux/dtail View on GitHub
---
@@ -339,7 +227,7 @@ func main() {
* ๐Ÿ“ˆ Lines of Code: 396
* ๐Ÿ“„ Lines of Documentation: 24
* ๐Ÿ“… Development Period: 2025-04-18 to 2025-05-11
-* ๐Ÿ”ฅ Recent Activity: 81.7 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 82.6 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿท๏ธ Latest Release: v1.0.0 (2025-05-11)
@@ -351,17 +239,6 @@ The implementation uses a YAML configuration file to define the network topology
=> https://codeberg.org/snonux/wireguardmeshgenerator View on Codeberg
=> https://github.com/snonux/wireguardmeshgenerator View on GitHub
-Ruby from `wireguardmeshgenerator.rb`:
-
-```AUTO
-def initialize(myself)
- raise 'Wireguard tool not found' unless system('which wg > /dev/null 2>&1')
-
- @myself = myself
- @psk_dir = 'keys/psk'
- mykeys_dir = "keys/#{myself}"
-```
-
---
### ds-sim
@@ -372,7 +249,7 @@ def initialize(myself)
* ๐Ÿ“ˆ Lines of Code: 25762
* ๐Ÿ“„ Lines of Documentation: 3101
* ๐Ÿ“… Development Period: 2008-05-15 to 2025-06-27
-* ๐Ÿ”ฅ Recent Activity: 95.1 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 96.0 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
@@ -387,17 +264,6 @@ 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/testing/QuietProtocolTestRunner.java`:
-
-```AUTO
-private final PrintStream target;
-private final StringBuilder buffer = new StringBuilder();
-
-public FilteredOutputStream(PrintStream target) {
- this.target = target;
-}
-```
-
---
### sillybench
@@ -408,7 +274,7 @@ public FilteredOutputStream(PrintStream target) {
* ๐Ÿ“ˆ Lines of Code: 33
* ๐Ÿ“„ Lines of Documentation: 3
* ๐Ÿ“… Development Period: 2025-04-03 to 2025-04-03
-* ๐Ÿ”ฅ Recent Activity: 107.7 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 108.5 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -420,14 +286,6 @@ The implementation is minimal and focused, consisting of a basic Go module with
=> https://codeberg.org/snonux/sillybench View on Codeberg
=> https://github.com/snonux/sillybench View on GitHub
-Go from `main.go`:
-
-```AUTO
-func main() {
- println("Hello world")
-}
-```
-
---
### gos
@@ -438,7 +296,7 @@ func main() {
* ๐Ÿ“ˆ Lines of Code: 3967
* ๐Ÿ“„ Lines of Documentation: 324
* ๐Ÿ“… Development Period: 2024-05-04 to 2025-07-12
-* ๐Ÿ”ฅ Recent Activity: 120.8 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 121.7 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿท๏ธ Latest Release: v1.0.0 (2025-03-04)
@@ -454,61 +312,6 @@ 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/mastodon/mastodon.go`:
-
-```AUTO
-func Post(ctx context.Context, args config.Args, sizeLimit int, en entry.Entry)
- error {
- content, _, err := en.ContentWithLimit(sizeLimit)
- if err != nil {
- return err
- }
- if args.DryRun {
- colour.Infoln("Not posting", en, "to Mastodon as dry-run enabled")
- return nil
- }
- if content, err = prompt.FileAction("Do you want to post this message to
- Mastodon?",
- content, en.Path, prompt.RandomOption); err != nil {
- return err
- }
-
- payload := map[string]string{"status": content}
- payloadBytes, err := json.Marshal(payload)
- if err != nil {
- return fmt.Errorf("failed to marshal payload: %w", err)
- }
-
- newCtx, cancel := context.WithTimeout(ctx, mastodonTimeout)
- defer cancel()
- req, err := http.NewRequestWithContext(newCtx, "POST",
- args.Config.MastodonURL, bytes.NewBuffer(payloadBytes))
- if err != nil {
- return fmt.Errorf("failed to create request: %w", err)
- }
-
- req.Header.Set("Authorization", "Bearer "+args.Config.MastodonAccessToken)
- req.Header.Set("Content-Type", "application/json")
-
- client := &http.Client{}
- resp, err := client.Do(req)
- if err != nil {
- return fmt.Errorf("request failed: %w", err)
- }
- defer resp.Body.Close()
- body, err := io.ReadAll(resp.Body)
- if err != nil {
- return err
- }
-
- if resp.StatusCode != http.StatusOK {
- return fmt.Errorf("unexpected status code: %d\n%s\n",
- resp.StatusCode, string(body))
- }
- return nil
-}
-```
-
---
### foostats
@@ -519,7 +322,7 @@ func Post(ctx context.Context, args config.Args, sizeLimit int, en entry.Entry)
* ๐Ÿ“ˆ Lines of Code: 1586
* ๐Ÿ“„ Lines of Documentation: 154
* ๐Ÿ“… Development Period: 2023-01-02 to 2025-07-12
-* ๐Ÿ”ฅ Recent Activity: 128.6 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 129.5 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿท๏ธ Latest Release: v0.1.0 (2025-07-12)
@@ -531,21 +334,6 @@ The project implements a modular architecture with seven core components: FileHe
=> https://codeberg.org/snonux/foostats View on Codeberg
=> https://github.com/snonux/foostats View on GitHub
-Perl from `foostats.pl`:
-
-```AUTO
-sub write ( $path, $content ) {
- open my $fh, '>', "$path.tmp"
- or die "\nCannot open file: $!";
- print $fh $content;
- close $fh;
-
- rename
- "$path.tmp",
- $path;
-}
-```
-
---
### rcm
@@ -556,7 +344,7 @@ sub write ( $path, $content ) {
* ๐Ÿ“ˆ Lines of Code: 1373
* ๐Ÿ“„ Lines of Documentation: 48
* ๐Ÿ“… Development Period: 2024-12-05 to 2025-02-28
-* ๐Ÿ”ฅ Recent Activity: 148.4 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 149.3 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -568,16 +356,27 @@ 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/dsl.rb`:
+---
-```AUTO
-def configure(reset: false, &block)
- RCM::DSL.new(reset) do |rcm|
- rcm.info('Configuring...')
- rcm.instance_eval(&block)
- rcm.evaluate! if rcm.conds_met
- end
-```
+### 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: 211.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
---
@@ -589,7 +388,7 @@ def configure(reset: false, &block)
* ๐Ÿ“ˆ Lines of Code: 917
* ๐Ÿ“„ Lines of Documentation: 33
* ๐Ÿ“… Development Period: 2024-01-20 to 2025-07-06
-* ๐Ÿ”ฅ Recent Activity: 458.4 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 459.2 days (avg. age of last 42 commits)
* โš–๏ธ License: MIT
* ๐Ÿท๏ธ Latest Release: v0.0.3 (2025-07-06)
@@ -605,51 +404,6 @@ The project follows a clean, single-file architecture with all functionality con
=> https://codeberg.org/snonux/quicklogger View on Codeberg
=> https://github.com/snonux/quicklogger View on GitHub
-Go from `main.go`:
-
-```AUTO
-func createPreferenceWindow(a fyne.App) fyne.Window {
- window := a.NewWindow("Preferences")
- directoryPreference := widget.NewEntry()
- directoryPreference.SetText(a.Preferences().StringWithFallback("Directory",
- defaultDirectory))
-
- tagDropdownPreference := widget.NewEntry()
- tagDropdownPreference.SetText(a.Preferences().StringWithFallback("Tags",
- strings.Join(defaultTagItems, ",")))
-
- whatDropdownPreference := widget.NewEntry()
- whatDropdownPreference.SetText(a.Preferences().StringWithFallback("Whats",
- strings.Join(defaultWhatItems, ",")))
-
- window.SetContent(container.NewVBox(
- container.NewVBox(
- widget.NewLabel("Directory:"),
- directoryPreference,
- widget.NewLabel("Tags:"),
- tagDropdownPreference,
- widget.NewLabel("Whats:"),
- whatDropdownPreference,
- ),
- container.NewHBox(
- widget.NewButton("Save", func() {
- a.Preferences().SetString("Directory", directoryPreference.Text)
- a.Preferences().SetString("Tags", tagDropdownPreference.Text)
- a.Preferences().SetString("Whats", whatDropdownPreference.Text)
- window.Hide()
- }),
- widget.NewButton("Reset dropdowns", func() {
- tagDropdownPreference.SetText(strings.Join(defaultTagItems, ","))
- whatDropdownPreference.SetText(strings.Join(defaultWhatItems, ","))
- },
- ),
- )))
- window.Resize(windowSize)
-
- return window
-}
-```
-
---
### docker-gpodder-sync-server
@@ -660,7 +414,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: 482.2 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 483.1 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -672,21 +426,6 @@ The project is implemented as a simple Docker build system with a Makefile that
=> https://codeberg.org/snonux/docker-gpodder-sync-server View on Codeberg
=> https://github.com/snonux/docker-gpodder-sync-server View on GitHub
-Make from `Makefile`:
-
-```AUTO
-build:
- docker build -t micro-gpodder-server ./micro-gpodder-server
-run: build
- if [ ! -d ./data ]; then mkdir ./data; fi
- docker run \
- --name micro-gpodder-server \
- -v ./data:/var/www/server/data \
- --hostname gpodder.example.org \
- -p 8080:8080 micro-gpodder-server
-aws: build
-```
-
---
### terraform
@@ -697,7 +436,7 @@ aws: build
* ๐Ÿ“ˆ Lines of Code: 2850
* ๐Ÿ“„ Lines of Documentation: 52
* ๐Ÿ“… Development Period: 2023-08-27 to 2025-04-05
-* ๐Ÿ”ฅ Recent Activity: 512.2 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 513.1 days (avg. age of last 42 commits)
* โš–๏ธ License: MIT
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -709,22 +448,6 @@ 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 `org-buetow-ecs/bagservice.tf`:
-
-```AUTO
- type = "A"
-
- alias {
- name =
- data.terraform_remote_state.elb.outputs.alb_dns_name
- zone_id = data.terraform_remote_state.elb.outputs.alb_zone_id
- evaluate_target_health = true
- }
-}
-
-resource "aws_route53_record" "aaaa_record_bag" {
-```
-
---
### gogios
@@ -735,7 +458,7 @@ resource "aws_route53_record" "aaaa_record_bag" {
* ๐Ÿ“ˆ Lines of Code: 1096
* ๐Ÿ“„ Lines of Documentation: 287
* ๐Ÿ“… Development Period: 2023-04-17 to 2025-06-12
-* ๐Ÿ”ฅ Recent Activity: 525.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 525.9 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
@@ -750,51 +473,6 @@ The implementation follows a clean architecture with concurrent check execution,
=> 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
-}
-```
-
---
### docker-radicale-server
@@ -805,7 +483,7 @@ func newState(conf config) (state, error) {
* ๐Ÿ“ˆ Lines of Code: 32
* ๐Ÿ“„ Lines of Documentation: 3
* ๐Ÿ“… Development Period: 2023-12-31 to 2023-12-31
-* ๐Ÿ”ฅ Recent Activity: 565.7 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 566.6 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -817,21 +495,6 @@ The implementation uses Alpine Linux as the base image for a minimal footprint,
=> https://codeberg.org/snonux/docker-radicale-server View on Codeberg
=> https://github.com/snonux/docker-radicale-server View on GitHub
-Make from `Makefile`:
-
-```AUTO
-build:
- docker build -t radicale .
-run: build
- if [ ! -d collections ]; then mkdir collections; fi
- if [ ! -d auth ]; then mkdir auth; fi
- cp -v htpasswd-test auth/htpasswd
- sh -c 'docker rm radicale; exit 0'
- docker run \
- -v collections:/collections \
- -v auth:/auth \
-```
-
---
### docker-anki-sync-server
@@ -842,7 +505,7 @@ run: build
* ๐Ÿ“ˆ Lines of Code: 29
* ๐Ÿ“„ Lines of Documentation: 3
* ๐Ÿ“… Development Period: 2023-08-13 to 2024-01-01
-* ๐Ÿ”ฅ Recent Activity: 659.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 659.8 days (avg. age of last 42 commits)
* โš–๏ธ License: MIT
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -854,22 +517,6 @@ The implementation is built using a Rocky Linux base image with Python 3.9, and
=> https://codeberg.org/snonux/docker-anki-sync-server View on Codeberg
=> https://github.com/snonux/docker-anki-sync-server View on GitHub
-Make from `Makefile`:
-
-```AUTO
-all:
- if [ ! -d anki-sync-server ]; then \
- git clone https://github.com/ankicommunity/anki-sync-server; \
- else \
- cd anki-sync-server && git pull && cd ..; \
- fi
- docker build -t anki-sync-server:latest .
-aws:
- docker build -t anki-sync-server:latest .
- docker tag anki-sync-server:latest
- 634617747016.dkr.ecr.eu-central-1.amazonaws.com/anki-sync-server:latest
-```
-
---
### gorum
@@ -880,7 +527,7 @@ aws:
* ๐Ÿ“ˆ Lines of Code: 1525
* ๐Ÿ“„ Lines of Documentation: 15
* ๐Ÿ“… Development Period: 2023-04-17 to 2023-11-19
-* ๐Ÿ”ฅ Recent Activity: 711.1 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 712.0 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -892,18 +539,6 @@ 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`:
-
-```AUTO
- "strings"
-)
-
-func StripPort(addr string) string {
- parts := strings.Split(addr, ":")
- return parts[0]
-}
-```
-
---
### guprecords
@@ -914,7 +549,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: 761.1 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 762.0 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: v1.0.0 (2023-04-29)
@@ -926,27 +561,6 @@ The tool is implemented with a clean object-oriented architecture featuring an A
=> https://codeberg.org/snonux/guprecords View on Codeberg
=> https://github.com/snonux/guprecords View on GitHub
-Raku from `guprecords.raku`:
-
-```AUTO
-method output-trim(Str \str, UInt \line-limit --> Str) {
- if $.output-format ~~ Plaintext and str.chars > line-limit {
- return join '', gather {
- my $chars = 0;
- for str.split(' ') -> \word {
- if ($chars += word.chars + 1) > line-limit {
- take "\n" ~ word;
- $chars = word.chars;
- } else {
- take ' ' ~ word;
- }
- }
- }
- }
- return str;
-}
-```
-
---
### randomjournalpage
@@ -957,7 +571,7 @@ method output-trim(Str \str, UInt \line-limit --> Str) {
* ๐Ÿ“ˆ Lines of Code: 51
* ๐Ÿ“„ Lines of Documentation: 26
* ๐Ÿ“… Development Period: 2022-06-02 to 2024-04-20
-* ๐Ÿ”ฅ Recent Activity: 775.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 776.7 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -970,53 +584,6 @@ The implementation is straightforward - a bash script that uses `find` to locate
=> https://codeberg.org/snonux/randomjournalpage View on Codeberg
=> https://github.com/snonux/randomjournalpage View on GitHub
-Shell from `randomjournalpage.sh`:
-
-```AUTO
-declare -r ARG="$1"
-
-declare -r JOURNAL_DIR="$HOME/Journals/"
-declare -r OUT_PDF=$JOURNAL_DIR/random_journal_extract.pdf
-declare -i NUM_PAGES_TO_EXTRACT=42 # This is the answear!
-```
-
----
-
-### gemtexter
-
-* ๐Ÿ’ป Languages: Shell (86.6%), CSS (8.3%), Config (3.2%), HTML (1.9%)
-* ๐Ÿ“š Documentation: Text (68.0%), Markdown (32.0%)
-* ๐Ÿ“Š Commits: 465
-* ๐Ÿ“ˆ Lines of Code: 1585
-* ๐Ÿ“„ Lines of Documentation: 778
-* ๐Ÿ“… Development Period: 2021-05-21 to 2023-07-17
-* ๐Ÿ”ฅ Recent Activity: 824.5 days (avg. age of last 42 commits)
-* โš–๏ธ License: GPL-3.0
-* ๐Ÿท๏ธ 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/md.source.sh`:
-
-```AUTO
-md::make_img () {
- local link="$1"; shift
- local descr="$1"; shift
-
- if [ -z "$descr" ]; then
- echo "[![$link]($link)]($link) "
- else
- echo "[![$descr]($link \"$descr\")]($link) "
- fi
-```
-
---
### sway-autorotate
@@ -1027,7 +594,7 @@ md::make_img () {
* ๐Ÿ“ˆ Lines of Code: 41
* ๐Ÿ“„ Lines of Documentation: 17
* ๐Ÿ“… Development Period: 2020-01-30 to 2025-04-30
-* ๐Ÿ”ฅ Recent Activity: 1069.4 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 1070.3 days (avg. age of last 42 commits)
* โš–๏ธ License: GPL-3.0
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1039,12 +606,6 @@ The implementation consists of two main components: `autorotate.sh` monitors the
=> https://codeberg.org/snonux/sway-autorotate View on Codeberg
=> https://github.com/snonux/sway-autorotate View on GitHub
-Shell from `start.sh`:
-
-```AUTO
-nohup bash autorotate.sh &> autorotate.log
-```
-
---
### photoalbum
@@ -1055,7 +616,7 @@ nohup bash autorotate.sh &> autorotate.log
* ๐Ÿ“ˆ Lines of Code: 342
* ๐Ÿ“„ Lines of Documentation: 39
* ๐Ÿ“… Development Period: 2011-11-19 to 2022-04-02
-* ๐Ÿ”ฅ Recent Activity: 1288.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 1289.8 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.5.0 (2022-02-21)
@@ -1068,25 +629,6 @@ The implementation centers around a single Bash script (`photoalbum.sh`) that us
=> 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
@@ -1097,7 +639,7 @@ scalephotos () {
* ๐Ÿ“ˆ Lines of Code: 1728
* ๐Ÿ“„ Lines of Documentation: 18
* ๐Ÿ“… Development Period: 2020-07-12 to 2023-04-09
-* ๐Ÿ”ฅ Recent Activity: 1440.1 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 1441.0 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1110,22 +652,6 @@ 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 `ds/arraylist.go`:
-
-```AUTO
-func NewRandomArrayList[V Number](l, max int) ArrayList[V] {
- a := make(ArrayList[V], l)
- for i := 0; i < l; i++ {
- if max > 0 {
- a[i] = V(rand.Intn(max))
- continue
- }
- a[i] = V(rand.Int())
- }
- return a
-}
-```
-
---
### geheim
@@ -1136,7 +662,7 @@ func NewRandomArrayList[V Number](l, max int) ArrayList[V] {
* ๐Ÿ“ˆ Lines of Code: 671
* ๐Ÿ“„ Lines of Documentation: 19
* ๐Ÿ“… Development Period: 2018-05-26 to 2025-01-21
-* ๐Ÿ”ฅ Recent Activity: 1441.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 1442.8 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1150,38 +676,6 @@ The system is architected around several key components: a configuration system
=> https://codeberg.org/snonux/geheim View on Codeberg
=> https://github.com/snonux/geheim View on GitHub
-Ruby from `geheim.rb`:
-
-```AUTO
-def out(message, prefix, flag = :none)
- message = message.to_s unless message.instance_of?(String)
- message.split("\n").each do |line|
- if flag == :nonl
- print "#{prefix} #{line}"
-```
-
----
-
-### foo.zone
-
-* ๐Ÿ“š Documentation: Markdown (100.0%)
-* ๐Ÿ“Š Commits: 2933
-* ๐Ÿ“ˆ Lines of Code: 0
-* ๐Ÿ“„ Lines of Documentation: 23
-* ๐Ÿ“… Development Period: 2021-05-21 to 2022-04-02
-* ๐Ÿ”ฅ Recent Activity: 1455.7 days (avg. age of last 42 commits)
-* โš–๏ธ License: No license found
-* ๐Ÿงช Status: Experimental (no releases yet)
-
-โš ๏ธ **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.
-
-This is **foo.zone**, a personal blog and technical website belonging to Paul Buetow, a Site Reliability Engineer based in Sofia, Bulgaria. The project is a static website that serves as a comprehensive platform for sharing technical knowledge, book notes, and personal experiences in the fields of system administration, DevOps, and programming.
-
-The site is built using **Gemtexter**, a static site generator that creates both HTML and Gemini protocol content from markdown sources. The architecture is refreshingly simple and follows KISS principles, with content organized into several key sections: a main blog feed (gemfeed) with over 100 technical posts dating back to 2008, detailed book notes and summaries, project documentation (including tools like DTail for distributed log tailing), and personal resources. The website is served by OpenBSD using relayd and httpd, demonstrating the author's preference for robust, security-focused Unix systems. The project emphasizes clean, semantic HTML, custom CSS styling, and accessibility, while maintaining both web and Gemini protocol compatibility for broader reach across different internet communities.
-
-=> https://codeberg.org/snonux/foo.zone View on Codeberg
-=> https://github.com/snonux/foo.zone View on GitHub
-
---
### perl-c-fibonacci
@@ -1192,7 +686,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: 1921.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 1921.9 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1205,17 +699,6 @@ The project is useful as an educational tool for understanding language syntax s
=> https://codeberg.org/snonux/perl-c-fibonacci View on Codeberg
=> https://github.com/snonux/perl-c-fibonacci View on GitHub
-C from `fibonacci.pl.raku.c`:
-
-```AUTO
-sub hello() {
- printf("Hello, welcome to the Fibonacci Numbers!\n");
- printf("This program is all, valid C and C++ and Perl and Raku code!\n");
- printf("It calculates all fibonacci numbers from 0 to 9!\n\n");
- return 0;
-}
-```
-
---
### ioriot
@@ -1226,7 +709,7 @@ sub hello() {
* ๐Ÿ“ˆ Lines of Code: 12420
* ๐Ÿ“„ Lines of Documentation: 610
* ๐Ÿ“… Development Period: 2018-03-01 to 2020-01-22
-* ๐Ÿ”ฅ Recent Activity: 2462.6 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 2463.5 days (avg. age of last 42 commits)
* โš–๏ธ License: Apache-2.0
* ๐Ÿท๏ธ Latest Release: 0.5.1 (2019-01-04)
@@ -1241,21 +724,6 @@ The tool is implemented in C for minimal overhead and uses SystemTap for efficie
=> https://codeberg.org/snonux/ioriot View on Codeberg
=> https://github.com/snonux/ioriot View on GitHub
-C from `ioriot/src/mounts.c`:
-
-```AUTO
-struct timeval tv;
-gettimeofday(&tv, NULL);
-
-char *wd_path = NULL;
-asprintf(&wd_path, "%s/%s", opts->wd_base, opts->name);
-
-char *trash_path = NULL;
-asprintf(&trash_path, "%s/.trash/%ld", opts->wd_base, tv.tv_sec);
-
-if (is_dir(wd_path)) {
-```
-
---
### staticfarm-apache-handlers
@@ -1266,7 +734,7 @@ if (is_dir(wd_path)) {
* ๐Ÿ“ˆ Lines of Code: 919
* ๐Ÿ“„ Lines of Documentation: 12
* ๐Ÿ“… Development Period: 2015-01-02 to 2021-11-04
-* ๐Ÿ”ฅ Recent Activity: 2971.3 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 2972.2 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 1.1.3 (2015-01-02)
@@ -1279,16 +747,6 @@ 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 `debian/staticfarm-apache-handlers/usr/share/staticfarm/apache/handlers/StaticFarm/CacheControl.pm`:
-
-```AUTO
-sub my_warn {
- my $msg = shift;
-
- Apache2::ServerRec::warn("CacheControl: $msg");
-}
-```
-
---
### dyndns
@@ -1299,7 +757,7 @@ sub my_warn {
* ๐Ÿ“ˆ Lines of Code: 18
* ๐Ÿ“„ Lines of Documentation: 49
* ๐Ÿ“… Development Period: 2014-03-24 to 2021-11-05
-* ๐Ÿ”ฅ Recent Activity: 3207.2 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3208.0 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1322,7 +780,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: 3473.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3474.7 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 1.0.1 (2015-01-02)
@@ -1335,27 +793,6 @@ 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/QueryBase.pm`:
-
-```AUTO
-sub check_has {
- my ( $self, $key, $in ) = @_;
-
- if ( ref $in eq 'HASH' && exists $in->{$key} ) {
- return 1;
-
- }
- else {
- for (@$in) {
- return 1 if $_ eq $key;
- }
- }
-
- my @possible = sort ( ref $in eq 'HASH' ? keys %$in : @$in );
- $self->error("'$key' not expected here. Possible: @possible");
-}
-```
-
---
### rubyfy
@@ -1366,7 +803,7 @@ sub check_has {
* ๐Ÿ“ˆ Lines of Code: 273
* ๐Ÿ“„ Lines of Documentation: 32
* ๐Ÿ“… Development Period: 2015-09-29 to 2021-11-05
-* ๐Ÿ”ฅ Recent Activity: 3478.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3478.9 days (avg. age of last 42 commits)
* โš–๏ธ License: Apache-2.0
* ๐Ÿท๏ธ Latest Release: 0 (2015-10-26)
@@ -1379,19 +816,6 @@ The tool is implemented as a single Ruby script that leverages threading for par
=> https://codeberg.org/snonux/rubyfy View on Codeberg
=> https://github.com/snonux/rubyfy View on GitHub
-Ruby from `rubyfy.rb`:
-
-```AUTO
-def initialize
- @log_mutex = Mutex.new
- @outfile = nil
- @outfile_mode = "w"
-
- $opts["verbose"] = true if $opts["debug"]
-
- ["#{ENV["HOME"]}/.rubyfy.json", "rubyfy.json"].each do |conf_path|
-```
-
---
### pingdomfetch
@@ -1402,7 +826,7 @@ def initialize
* ๐Ÿ“ˆ Lines of Code: 1839
* ๐Ÿ“„ Lines of Documentation: 412
* ๐Ÿ“… Development Period: 2015-01-02 to 2021-11-05
-* ๐Ÿ”ฅ Recent Activity: 3557.7 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3558.5 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 1.0.2 (2015-01-02)
@@ -1415,20 +839,6 @@ 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/Result.pm`:
-
-```AUTO
-sub new {
- my ( $class, %vals ) = @_;
-
- my $self = bless \%vals, $class;
-
- $self->compute();
-
- return $self;
-}
-```
-
---
### gotop
@@ -1439,7 +849,7 @@ sub new {
* ๐Ÿ“ˆ Lines of Code: 499
* ๐Ÿ“„ Lines of Documentation: 8
* ๐Ÿ“… Development Period: 2015-05-24 to 2021-11-03
-* ๐Ÿ”ฅ Recent Activity: 3568.4 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3569.3 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.1 (2015-06-01)
@@ -1452,21 +862,6 @@ The implementation follows a concurrent architecture using Go's goroutines and c
=> https://codeberg.org/snonux/gotop View on Codeberg
=> https://github.com/snonux/gotop View on GitHub
-Go from `diskstats/diskstats.go`:
-
-```AUTO
-func new() (Diskstats, error) {
- var raw string
- d := Diskstats{}
-
- if err := utils.Slurp(&raw, "/proc/diskstats"); err != nil {
- return d, err
- }
-
- return d, nil
-}
-```
-
---
### xerl
@@ -1475,7 +870,7 @@ func new() (Diskstats, error) {
* ๐Ÿ“Š Commits: 670
* ๐Ÿ“ˆ Lines of Code: 1675
* ๐Ÿ“… Development Period: 2011-03-06 to 2018-12-22
-* ๐Ÿ”ฅ Recent Activity: 3624.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3624.9 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿท๏ธ Latest Release: v1.0.0 (2018-12-22)
@@ -1490,31 +885,6 @@ 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/Setup/Configure.pm`:
-
-```AUTO
-sub parse {
- my $self = $_[0];
- my $file = Xerl::Tools::FileIO->new( 'path' => $self->get_config() );
-
- if ( -1 == $file->fslurp() ) {
- $self->set_finish_request(1);
- return undef;
- }
-
- my $re = qr/^(.+?) *=(.+?) *\n?$/;
-
- for ( @{ $file->get_array() } ) {
- next if /^\s*#/;
- s/#.*//;
-
- $self->setval( $1, $self->eval($2) ) if $_ =~ $re;
- }
-
- return $self;
-}
-```
-
---
### debroid
@@ -1525,7 +895,7 @@ sub parse {
* ๐Ÿ“ˆ Lines of Code: 88
* ๐Ÿ“„ Lines of Documentation: 148
* ๐Ÿ“… Development Period: 2015-06-18 to 2015-12-05
-* ๐Ÿ”ฅ Recent Activity: 3672.1 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3673.0 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1540,19 +910,6 @@ 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 `data/local/userinit.sh`:
-
-```AUTO
-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
-```
-
---
### fapi
@@ -1563,7 +920,7 @@ done
* ๐Ÿ“ˆ Lines of Code: 1681
* ๐Ÿ“„ Lines of Documentation: 539
* ๐Ÿ“… Development Period: 2014-03-10 to 2021-11-03
-* ๐Ÿ”ฅ Recent Activity: 3950.1 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 3951.0 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 1.0.2 (2014-11-17)
@@ -1576,17 +933,6 @@ 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/setup.py`:
-
-```AUTO
-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)
-```
-
---
### template
@@ -1597,7 +943,7 @@ def extract_version(filename):
* ๐Ÿ“ˆ Lines of Code: 65
* ๐Ÿ“„ Lines of Documentation: 228
* ๐Ÿ“… Development Period: 2013-03-22 to 2021-11-04
-* ๐Ÿ”ฅ Recent Activity: 4004.6 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4005.4 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.0.0.0 (2013-03-22)
@@ -1610,18 +956,6 @@ The project implements a clean, Make-based build system with automatic versionin
=> https://codeberg.org/snonux/template View on Codeberg
=> https://github.com/snonux/template View on GitHub
-Make from `Makefile`:
-
-```AUTO
-NAME=template
-all: version documentation build
-
-
-build:
- cp -p ./src/$(NAME) bin/$(NAME)
- sed -i "s/VERSION_DEVEL/$$(cat .version)/" bin/$(NAME)
-```
-
---
### muttdelay
@@ -1632,7 +966,7 @@ build:
* ๐Ÿ“ˆ Lines of Code: 136
* ๐Ÿ“„ Lines of Documentation: 96
* ๐Ÿ“… Development Period: 2013-03-22 to 2021-11-05
-* ๐Ÿ”ฅ Recent Activity: 4017.5 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4018.4 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.2.0 (2014-07-05)
@@ -1645,18 +979,6 @@ The implementation is elegantly simple, consisting of a bash script that operate
=> https://codeberg.org/snonux/muttdelay View on Codeberg
=> https://github.com/snonux/muttdelay View on GitHub
-Make from `Makefile`:
-
-```AUTO
-NAME=muttdelay
-all: version documentation build
-
-
-build:
- cp -p ./src/$(NAME) bin/$(NAME)
- sed -i "s/VERSION_DEVEL/$$(cat .version)/" bin/$(NAME)
-```
-
---
### netdiff
@@ -1667,7 +989,7 @@ build:
* ๐Ÿ“ˆ Lines of Code: 134
* ๐Ÿ“„ Lines of Documentation: 106
* ๐Ÿ“… Development Period: 2013-03-22 to 2021-11-05
-* ๐Ÿ”ฅ Recent Activity: 4025.0 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4025.9 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.1.5 (2014-06-22)
@@ -1682,6 +1004,29 @@ The tool works by having both hosts run the same command simultaneously - one ac
---
+### pwgrep
+
+* ๐Ÿ’ป Languages: Shell (85.0%), Make (15.0%)
+* ๐Ÿ“š Documentation: Text (80.8%), Markdown (19.2%)
+* ๐Ÿ“Š Commits: 142
+* ๐Ÿ“ˆ Lines of Code: 493
+* ๐Ÿ“„ Lines of Documentation: 26
+* ๐Ÿ“… Development Period: 2009-09-27 to 2021-11-02
+* ๐Ÿ”ฅ Recent Activity: 4069.2 days (avg. age of last 42 commits)
+* โš–๏ธ License: No license found
+* ๐Ÿท๏ธ Latest Release: 0.9.3 (2014-06-14)
+
+โš ๏ธ **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.
+
+**pwgrep** is a command-line password manager built in Bash and GNU AWK that combines GPG encryption with version control (Git by default) for secure password storage and change tracking. It stores encrypted password databases as GPG files and uses a revision control system to maintain a complete history of all changes, making it ideal for users who want both security and accountability in their password management. The tool provides a simple interface where users can search for passwords using `pwgrep searchstring` or edit the database directly with `pwgrep`, and it integrates with various AWK implementations and secure file deletion tools for cross-platform compatibility.
+
+The implementation leverages GPG for strong encryption, ensuring passwords are never stored in plaintext, while the version control integration (typically Git over SSL/SSH) provides secure synchronization across multiple devices and maintains an audit trail of all database modifications. The project includes comprehensive Debian packaging support and creates multiple command aliases (pwedit, pwfadd, pwfdel, etc.) for different password management operations, making it a complete password management solution that prioritizes security, transparency, and ease of use for technical users comfortable with command-line tools.
+
+=> https://codeberg.org/snonux/pwgrep View on Codeberg
+=> https://github.com/snonux/pwgrep View on GitHub
+
+---
+
### japi
* ๐Ÿ’ป Languages: Perl (78.3%), Make (21.7%)
@@ -1690,7 +1035,7 @@ The tool works by having both hosts run the same command simultaneously - one ac
* ๐Ÿ“ˆ Lines of Code: 286
* ๐Ÿ“„ Lines of Documentation: 144
* ๐Ÿ“… Development Period: 2013-03-22 to 2021-11-05
-* ๐Ÿ”ฅ Recent Activity: 4073.4 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4074.2 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.4.3 (2014-06-16)
@@ -1713,7 +1058,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: 4134.6 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4135.5 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1726,20 +1071,6 @@ 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`:
-
-```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 };
-```
-
---
### ipv6test
@@ -1748,7 +1079,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: 4214.7 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4215.6 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -1761,36 +1092,6 @@ The implementation uses a straightforward approach with three test endpoints: on
=> https://codeberg.org/snonux/ipv6test View on Codeberg
=> https://github.com/snonux/ipv6test View on GitHub
-Perl from `index.pl`:
-
-```AUTO
-Congratulations, you have connected to a server that will display your method
- of connection, either IPv6 (preferred) or IPv4 (old and crusty). Well IPv6 is
- already ~15 years old either but not as old as IPv4 ;)
-<br /><br />
-Nevertheless, please choose your destiny:
-<ul>
- <li><a href="http://ipv6.buetow.org">ipv6.buetow.org</a> for IPv6 & IPv4
- Test</li>
- <li><a href="http://test4.ipv6.buetow.org">test4.ipv6.buetow.org</a> for IPv4
- Only Test</li>
- <li><a href="http://test6.ipv6.buetow.org">test6.ipv6.buetow.org</a> for IPv6
- Only Test</li>
-</ul>
-If your browser times-out when trying to connect to this server then you do not
- have an IPv6 or IPv4 path (depends on which test you are running) to the
- server. If your browser returns an error that the host cannot be found then the
- DNS servers you are using are unable to resolve the AAAA or A DNS record (
- depends on which test you are running again) for the server. If your browser is
- able to connect to the "IPv6 Only Test", yet using the "IPv6 & IPv4 Test"
- returns a page stating you are using IPv4, then your browser and/or IP stack in
- your machine are preferring IPv4 over IPv6. It also might be that your
- operating system supports IPv6 but your web-browser doesn't.
-END
-
-if ($ENV{SERVER_NAME} eq 'ipv6.buetow.org') {
-```
-
---
### cpuinfo
@@ -1801,7 +1102,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: 4255.3 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4256.2 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 1.0.2 (2014-06-22)
@@ -1824,7 +1125,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: 4285.4 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4286.3 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: 0.7.5 (2014-06-22)
@@ -1837,56 +1138,6 @@ 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/Main.pm`:
-
-```AUTO
-sub percentage ($$) {
- my ( $total, $part ) = @_;
-
- return int( null($part) / notnull( null($total) / 100 ) );
-}
-```
-
----
-
-### pwgrep
-
-* ๐Ÿ’ป Languages: Shell (85.0%), Make (15.0%)
-* ๐Ÿ“š Documentation: Text (72.4%), Markdown (27.6%)
-* ๐Ÿ“Š Commits: 142
-* ๐Ÿ“ˆ Lines of Code: 493
-* ๐Ÿ“„ Lines of Documentation: 29
-* ๐Ÿ“… Development Period: 2009-09-27 to 2015-05-23
-* ๐Ÿ”ฅ Recent Activity: 4298.8 days (avg. age of last 42 commits)
-* โš–๏ธ License: No license found
-* ๐Ÿท๏ธ Latest Release: 0.9.3 (2014-06-14)
-
-โš ๏ธ **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.
-
-**pwgrep** is a command-line password manager built in Bash and GNU AWK that combines GPG encryption with version control (Git by default) for secure password storage and change tracking. It stores encrypted password databases as GPG files and uses a revision control system to maintain a complete history of all changes, making it ideal for users who want both security and accountability in their password management. The tool provides a simple interface where users can search for passwords using `pwgrep searchstring` or edit the database directly with `pwgrep`, and it integrates with various AWK implementations and secure file deletion tools for cross-platform compatibility.
-
-The implementation leverages GPG for strong encryption, ensuring passwords are never stored in plaintext, while the version control integration (typically Git over SSL/SSH) provides secure synchronization across multiple devices and maintains an audit trail of all database modifications. The project includes comprehensive Debian packaging support and creates multiple command aliases (pwedit, pwfadd, pwfdel, etc.) for different password management operations, making it a complete password management solution that prioritizes security, transparency, and ease of use for technical users comfortable with command-line tools.
-
-=> https://codeberg.org/snonux/pwgrep View on Codeberg
-=> https://github.com/snonux/pwgrep View on GitHub
-
-Shell from `bin/pwgrep.sh`:
-
-```AUTO
-function findbin () {
- local -r trylist=$1
- found=""
- for bin in $trylist; do
- if [ -z $found ]; then
- which=$(which $bin)
- [ ! -z $which ] && found=$bin
- fi
- done
-
- echo $found
-}
-```
-
---
### perldaemon
@@ -1895,7 +1146,7 @@ function findbin () {
* ๐Ÿ“Š Commits: 110
* ๐Ÿ“ˆ Lines of Code: 614
* ๐Ÿ“… Development Period: 2011-02-05 to 2022-04-21
-* ๐Ÿ”ฅ Recent Activity: 4334.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4335.8 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿท๏ธ Latest Release: v1.4 (2022-04-29)
@@ -1908,23 +1159,6 @@ 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`:
-
-```AUTO
-sub new ($$) {
- my ($class, $conf) = @_;
-
- my $self = bless { conf => $conf }, $class;
-
- my $modulesdir = $conf->{'daemon.modules.dir'};
- my $logger = $conf->{logger};
- my %loadedmodules;
- my %scheduler;
-
- if (-d $modulesdir) {
- $logger->logmsg("Loading modules from $modulesdir");
-```
-
---
### awksite
@@ -1935,7 +1169,7 @@ sub new ($$) {
* ๐Ÿ“ˆ Lines of Code: 122
* ๐Ÿ“„ Lines of Documentation: 10
* ๐Ÿ“… Development Period: 2011-01-27 to 2014-06-22
-* ๐Ÿ”ฅ Recent Activity: 4665.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4666.8 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: v0.2 (2011-01-27)
@@ -1948,28 +1182,6 @@ The implementation consists of a main AWK script (`index.cgi`) that reads config
=> https://codeberg.org/snonux/awksite View on Codeberg
=> https://github.com/snonux/awksite View on GitHub
-AWK from `index.cgi`:
-
-```AUTO
-function read_config_values(config_file) {
- while ((getline < config_file) > 0) {
- position = index($0,"=")
- if (position == 0 || /^#/)
- continue
-
- key = substr($0, 0, position)
- val = substr($0, position+1, 100)
-
- if (val ~ /^!/)
- substr(val, 2, 100) | getline val
-
- values[key] = val
- }
-
- close(config_file)
-}
-```
-
---
### jsmstrade
@@ -1980,7 +1192,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: 4728.6 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 4729.4 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿท๏ธ Latest Release: v0.3 (2009-02-08)
@@ -1995,75 +1207,6 @@ The implementation follows a clean three-class architecture: `SMain` handles the
=> https://codeberg.org/snonux/jsmstrade View on Codeberg
=> https://github.com/snonux/jsmstrade View on GitHub
-Java from `sources/smstrade/SPrefs.java`:
-
-```AUTO
-private static final long serialVersionUID = 1L;
-
-private HashMap<String,String> options = null;
-
-private JTextArea textArea = new JTextArea();
-
-private JPanel buttonPanel = new JPanel();
-
-private JButton okButton = new JButton("OK");
-
-private JButton saveButton = new JButton("Save");
-
-public SPrefs(Component parent, HashMap<String,String> options) {
- super("Preferences", parent);
- this.options = options;
-
- disposeWithParent();
- setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
- setSize(300, 150);
- setResizable(false);
-
- fillContentPane();
- setVisible(true);
-}
-```
-
----
-
-### ychat
-
-* ๐Ÿ’ป Languages: C++ (52.1%), C/C++ (21.3%), Shell (20.1%), HTML (2.5%), Config (2.1%), Perl (1.5%), Make (0.3%)
-* ๐Ÿ“š Documentation: Text (100.0%)
-* ๐Ÿ“Š Commits: 67
-* ๐Ÿ“ˆ Lines of Code: 33823
-* ๐Ÿ“„ Lines of Documentation: 109
-* ๐Ÿ“… Development Period: 2008-05-15 to 2014-07-01
-* ๐Ÿ”ฅ Recent Activity: 5283.4 days (avg. age of last 42 commits)
-* โš–๏ธ License: GPL-2.0
-* ๐Ÿท๏ธ Latest Release: yhttpd-0.7.2 (2013-04-06)
-
-โš ๏ธ **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.
-
-Based on my analysis of the codebase, here's a concise summary of the yChat project:
-
-**yChat** is a web-based chat server written in C++ that functions as a standalone HTTP server without requiring external web server dependencies. It allows users to participate in multi-room chat sessions using standard web browsers, with no special client software needed. The system supports user registration, authentication via session IDs, customizable HTML templates, and multi-language support through XML configuration files.
-
-The architecture is built around several key managers: a socket manager for handling HTTP connections, a chat manager for core functionality, an HTML template manager for dynamic content generation, and a modular system supporting dynamically loadable command modules. It uses hash maps for efficient O(1) data retrieval, POSIX threads for concurrent request handling, and includes advanced features like SSL support, MySQL database integration, garbage collection for memory management, and comprehensive logging. The codebase also includes related projects like yhttpd (a lightweight HTTP server) and ycurses (a terminal interface library), making it a comprehensive communication platform designed for performance and extensibility.
-
-=> https://codeberg.org/snonux/ychat View on Codeberg
-=> https://github.com/snonux/ychat View on GitHub
-
-C++ from `src/logd.cpp`:
-
-```AUTO
- struct tm *t_m;
- time_t t_cur = time(NULL);
- t_m = gmtime(&t_cur);
-
- char c_buf[100];
- c_buf[99] = '\0';
- strftime(c_buf, 100, "[%d/%b/%Y:%H:%M:%S %z]", t_m);
-
- return string(c_buf);
-}
-```
-
---
### netcalendar
@@ -2074,7 +1217,7 @@ C++ from `src/logd.cpp`:
* ๐Ÿ“ˆ Lines of Code: 17380
* ๐Ÿ“„ Lines of Documentation: 947
* ๐Ÿ“… Development Period: 2009-02-07 to 2021-05-01
-* ๐Ÿ”ฅ Recent Activity: 5359.3 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 5360.1 days (avg. age of last 42 commits)
* โš–๏ธ License: GPL-2.0
* ๐Ÿท๏ธ Latest Release: v0.1 (2009-02-08)
@@ -2091,40 +1234,30 @@ 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/SplashScreen.java`:
-
-```AUTO
-public class SplashScreen extends JWindow implements Runnable {
- private static final long serialVersionUID = 1L;
+---
- public void run() {
- JPanel jPanel = (JPanel)getContentPane();
- jPanel.setBackground(Color.BLACK);
- jPanel.setForeground(Color.WHITE);
+### ychat
- int iWidth = 411;
- int iHeight = 261;
- Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize();
+* ๐Ÿ’ป 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: 9958
+* ๐Ÿ“„ Lines of Documentation: 103
+* ๐Ÿ“… Development Period: 2008-05-15 to 2014-07-01
+* ๐Ÿ”ฅ Recent Activity: 5389.7 days (avg. age of last 42 commits)
+* โš–๏ธ License: GPL-2.0
+* ๐Ÿท๏ธ Latest Release: yhttpd-0.7.2 (2013-04-06)
- int x = (dimension.width-iWidth)/2;
- int y = (dimension.height-iHeight)/2;
- setBounds(x,y,iWidth,iHeight);
+โš ๏ธ **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.
- JLabel jLabel = new JLabel(new ImageIcon("images/netcal.png"));
- jPanel.add(jLabel, BorderLayout.CENTER);
- jPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 3));
- setVisible(true);
+Based on my analysis of the codebase, here's a concise summary of the yChat project:
- try {
- Thread.sleep(3000);
+**yChat** is a web-based chat server written in C++ that functions as a standalone HTTP server without requiring external web server dependencies. It allows users to participate in multi-room chat sessions using standard web browsers, with no special client software needed. The system supports user registration, authentication via session IDs, customizable HTML templates, and multi-language support through XML configuration files.
- } catch (Exception e) {
- Main.infoMessage(e.getMessage());
- }
+The architecture is built around several key managers: a socket manager for handling HTTP connections, a chat manager for core functionality, an HTML template manager for dynamic content generation, and a modular system supporting dynamically loadable command modules. It uses hash maps for efficient O(1) data retrieval, POSIX threads for concurrent request handling, and includes advanced features like SSL support, MySQL database integration, garbage collection for memory management, and comprehensive logging. The codebase also includes related projects like yhttpd (a lightweight HTTP server) and ycurses (a terminal interface library), making it a comprehensive communication platform designed for performance and extensibility.
- dispose();
- }
-```
+=> https://codeberg.org/snonux/ychat View on Codeberg
+=> https://github.com/snonux/ychat View on GitHub
---
@@ -2134,7 +1267,7 @@ public class SplashScreen extends JWindow implements Runnable {
* ๐Ÿ“Š Commits: 80
* ๐Ÿ“ˆ Lines of Code: 601
* ๐Ÿ“… Development Period: 2009-11-22 to 2011-10-17
-* ๐Ÿ”ฅ Recent Activity: 5454.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 5455.8 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -2147,21 +1280,6 @@ 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/IRC/User.hs`:
-
-```AUTO
-module HsBot.IRC.User where
-
-import List
-
-import HsBot.General.Render
-
-data User = User {
- userName :: String,
- userMessages :: Int,
- userPts :: Int
-```
-
---
### vs-sim
@@ -2171,7 +1289,7 @@ data User = User {
* ๐Ÿ“ˆ Lines of Code: 0
* ๐Ÿ“„ Lines of Documentation: 7
* ๐Ÿ“… Development Period: 2008-05-15 to 2015-05-23
-* ๐Ÿ”ฅ Recent Activity: 5815.9 days (avg. age of last 42 commits)
+* ๐Ÿ”ฅ Recent Activity: 5816.7 days (avg. age of last 42 commits)
* โš–๏ธ License: No license found
* ๐Ÿท๏ธ Latest Release: v1.0 (2008-08-24)
@@ -2188,13 +1306,13 @@ The implementation features a modular architecture with separate packages for co
### fype
-* ๐Ÿ’ป Languages: C (71.3%), C/C++ (20.6%), HTML (6.6%), Make (1.5%)
-* ๐Ÿ“š Documentation: Text (60.2%), LaTeX (39.8%)
+* ๐Ÿ’ป Languages: C (71.2%), C/C++ (20.7%), HTML (6.6%), Make (1.5%)
+* ๐Ÿ“š Documentation: Text (60.3%), LaTeX (39.7%)
* ๐Ÿ“Š Commits: 99
-* ๐Ÿ“ˆ Lines of Code: 8906
-* ๐Ÿ“„ Lines of Documentation: 1431
-* ๐Ÿ“… Development Period: 2008-05-15 to 2021-04-29
-* ๐Ÿ”ฅ Recent Activity: 5861.7 days (avg. age of last 42 commits)
+* ๐Ÿ“ˆ Lines of Code: 8954
+* ๐Ÿ“„ Lines of Documentation: 1432
+* ๐Ÿ“… Development Period: 2008-05-15 to 2014-06-30
+* ๐Ÿ”ฅ Recent Activity: 5842.4 days (avg. age of last 42 commits)
* โš–๏ธ License: Custom License
* ๐Ÿงช Status: Experimental (no releases yet)
@@ -2206,17 +1324,3 @@ 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/data/queue.c`:
-
-```AUTO
- p_elem->type = type;
-
- return p_elem;
-}
-
-_Bool
-queue_empty(Queue *p_queue) {
- if (p_queue == NULL)
- return 0;
-```