repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
8d2f265
parent
1ec8c47
author
Antonio Mika
date
2024-09-20 00:07:10 +0000 UTC
Add gifs to marketing page for send
10 files changed,  +36, -0
M pubsub/api.go
+8, -0
 1@@ -40,6 +40,14 @@ func createStaticRoutes() []shared.Route {
 2 		shared.NewRoute("GET", "/apple-touch-icon.png", serveFile("apple-touch-icon.png", "image/png")),
 3 		shared.NewRoute("GET", "/favicon.ico", serveFile("favicon.ico", "image/x-icon")),
 4 		shared.NewRoute("GET", "/robots.txt", serveFile("robots.txt", "text/plain")),
 5+		shared.NewRoute("GET", "/send-output.gif", serveFile("send-output.gif", "image/gif")),
 6+		shared.NewRoute("GET", "/send-file.gif", serveFile("send-file.gif", "image/gif")),
 7+		shared.NewRoute("GET", "/multi-sub.gif", serveFile("multi-sub.gif", "image/gif")),
 8+		shared.NewRoute("GET", "/multi-pub.gif", serveFile("multi-pub.gif", "image/gif")),
 9+		shared.NewRoute("GET", "/multi-pub-sub.gif", serveFile("multi-pub-sub.gif", "image/gif")),
10+		shared.NewRoute("GET", "/pipe-chat.gif", serveFile("pipe-chat.gif", "image/gif")),
11+		shared.NewRoute("GET", "/pipe-cmd-output.gif", serveFile("pipe-cmd-output.gif", "image/gif")),
12+		shared.NewRoute("GET", "/pipe-reverse-shell.gif", serveFile("pipe-reverse-shell.gif", "image/gif")),
13 	}
14 }
15 
M pubsub/html/marketing.page.tmpl
+28, -0
 1@@ -33,6 +33,34 @@
 2 
 3   <blockquote>This service is undergoing active development, expect bugs and restarts</blockquote>
 4 
 5+  <div>
 6+    <h2 class="text-xl">Examples</h2>
 7+
 8+    <p>Simple output pub/sub</p>
 9+    <img src="/send-output.gif" />
10+
11+    <p>Send a file</p>
12+    <img src="/send-file.gif" />
13+
14+    <p>Multiple subs</p>
15+    <img src="/multi-sub.gif" />
16+
17+    <p>Multiple pubs</p>
18+    <img src="/multi-pub.gif" />
19+
20+    <p>Multiple pubs and subs</p>
21+    <img src="/multi-pub-sub.gif" />
22+
23+    <p>Pipe based chat</p>
24+    <img src="/pipe-chat.gif" />
25+
26+    <p>Pipe based command output</p>
27+    <img src="/pipe-cmd-output.gif" />
28+
29+    <p>Pipe based reverse shell</p>
30+    <img src="/pipe-reverse-shell.gif" />
31+  </div>
32+
33   <div>
34     <h2 class="text-xl">A basic API</h2>
35     <pre>ssh {{.Site.Domain}} sub mykey</pre>
A pubsub/public/multi-pub-sub.gif
+0, -0
A pubsub/public/multi-pub.gif
+0, -0
A pubsub/public/multi-sub.gif
+0, -0
A pubsub/public/pipe-chat.gif
+0, -0
A pubsub/public/pipe-cmd-output.gif
+0, -0
A pubsub/public/pipe-reverse-shell.gif
+0, -0
A pubsub/public/send-file.gif
+0, -0
A pubsub/public/send-output.gif
+0, -0