From d89b325294201d95498ae9d08f102e12ac2f2876 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sun, 5 Oct 2025 18:00:06 -0700 Subject: Implement a "magic wormhole" file-sharing solution --- templates/index.html.template | 1 + templates/wormhole-send.html.template | 14 ++++++++++++++ templates/wormhole.html.template | 19 +++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 templates/wormhole-send.html.template create mode 100644 templates/wormhole.html.template (limited to 'templates') diff --git a/templates/index.html.template b/templates/index.html.template index 3dcf4a7..750f559 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -9,5 +9,6 @@ A dragon loli +

Magic wormhole

Games? (Warning: loud)

diff --git a/templates/wormhole-send.html.template b/templates/wormhole-send.html.template new file mode 100644 index 0000000..5b06c5f --- /dev/null +++ b/templates/wormhole-send.html.template @@ -0,0 +1,14 @@ +{{define "head"}} + + + Wormhole +{{end}} + +
+ +
diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template new file mode 100644 index 0000000..4d67a98 --- /dev/null +++ b/templates/wormhole.html.template @@ -0,0 +1,19 @@ +{{define "head"}} + + + Wormhole +{{end}} + +
+
+ + +
+
+ +

2. Visit this URL {{.Self}}/wormhole/{{.Hole}}

-- cgit v1.3.1