- commit
- 3d03d7b
- parent
- 79f17fd
- author
- Eric Bower
- date
- 2024-10-11 02:25:01 +0000 UTC
docs(pubsub): copy
1 files changed,
+6,
-3
+6,
-3
1@@ -1,9 +1,9 @@
2 {{template "base" .}}
3
4-{{define "title"}}pipe: pubsub using ssh{{end}}
5+{{define "title"}}pipe: authenticated pubsub over ssh{{end}}
6
7 {{define "meta"}}
8-<meta name="description" content="pico's managed pubsub service using ssh" />
9+<meta name="description" content="authenticated *nix pipes over ssh" />
10
11 <meta property="og:type" content="website">
12 <meta property="og:site_name" content="{{.Site.Domain}}">
13@@ -46,7 +46,7 @@
14 <li>Public pubsub by topic (opt-in)</li>
15 <li>Multicast (many pubs to many subs)</li>
16 <li>Bidirectional (e.g. chat)</li>
17- <li>Configurable blocking characteristics for pubs</li>
18+ <li>Configurable blocking characteristics for <code>pub</code></li>
19 <li>Configurable timeout for <code>pub</code></li>
20 <li>Paradigms for connecting to a topic:
21 <ol>
22@@ -62,6 +62,7 @@
23
24 <div>
25 <h2 class="text-xl">A basic API</h2>
26+ <p>Pipe some data into our ssh app and we will send it to anyone listening.</p>
27 <pre>ssh {{.Site.Domain}} sub mykey</pre>
28 <pre>echo "hello world!" | ssh {{.Site.Domain}} pub mykey</pre>
29
30@@ -81,12 +82,14 @@
31
32 <div>
33 <h2 class="text-xl">Simple desktop notifications</h2>
34+ <p>Want to quickly receive a notification when a job is done? It can be as simple as:</p>
35 <pre>ssh {{.Site.Domain}} sub notify; notify-send "job done!"</pre>
36 <pre>./longjob.sh; ssh {{.Site.Domain}} pub notify -e</pre>
37 </div>
38
39 <div>
40 <h2 class="text-xl">File sharing</h2>
41+ <p>Sometimes you need data exfiltration and all you have is SSH:</p>
42 <pre>cat doc.md | ssh {{.Site.Domain}} pub thedoc</pre>
43 <pre>ssh {{.Site.Domain}} sub thedoc > ./important.md</pre>
44