From 60c586001cf4d21ef1351be8c8ad7a269a6f005a Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Sat, 3 Oct 2026 19:03:27 -0300 Subject: Share one session through a public link claude-logbook -s REF --share uploads a session to a share server and prints its link; --shares lists them, --unshare deletes them, --expire picks how long they live. Before uploading it shows what goes up and warns about anything that looks like a credential. server/ is that share server: Go, standard library only, a FROM scratch image. It serves /share/ as a page, .txt and .json, accepts only the JSON payload (never HTML), pins the template's scripts with a CSP, keeps secrets hashed and rate-limits per client IP. --- server/go.mod | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 server/go.mod (limited to 'server/go.mod') diff --git a/server/go.mod b/server/go.mod new file mode 100644 index 0000000..058d8b7 --- /dev/null +++ b/server/go.mod @@ -0,0 +1,3 @@ +module claude-logbook/server + +go 1.23 -- cgit v1.2.3