commit 0fa111e7971206c9ee07f05d3095e75db0df5074 Author: Branden J Brown Date: Mon Dec 8 17:33:11 2025 -0500 initial commit diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..f88e64f --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.sunturtle.xyz/zephyr/onlydiapers + +go 1.24.2 diff --git a/main.go b/main.go new file mode 100644 index 0000000..9784cfe --- /dev/null +++ b/main.go @@ -0,0 +1,27 @@ +package main + +import ( + "io" + "log" + "log/slog" + "net/http" + "time" +) + +func main() { + log.Fatal(http.ListenAndServe(":3810", http.HandlerFunc(dump))) +} + +func dump(w http.ResponseWriter, r *http.Request) { + _, err := io.WriteString(w, `Zoe Victoria Fanart!`) + t := 60 * time.Millisecond + f := w.(http.Flusher) + for err == nil { + f.Flush() + slog.Info("diaper", slog.String("to", r.RemoteAddr)) + _, err = io.WriteString(w, ``) + time.Sleep(t) + t += 30 * time.Millisecond + } +} +