- commit
- 4ddd1d0
- parent
- 23ece74
- author
- Eric Bower
- date
- 2024-10-29 00:10:37 +0000 UTC
docs: readme
1 files changed,
+15,
-21
+15,
-21
1@@ -15,15 +15,13 @@ rsync, scp, or sftp. Hopefully you see the trend.
2
3 - [tuns](https://pico.sh/tuns): https/wss/tcp tunnels to localhost using only
4 - [pages](https://pico.sh/pgs): A static site hosting platform using SSH for
5- site deployments.
6- SSH.
7+ site deployments. SSH.
8+- [pipes](https://pipe.pico.sh): Authenticated `*nix` pipes over SSH
9 - [prose](https://pico.sh/prose): A blog platform using SSH for content
10 management.
11 - [pastes](https://pico.sh/pastes): Upload code snippets using rsync, scp, and
12 sftp.
13 - [feeds](https://pico.sh/feeds): An RSS email notification service using SSH.
14-- [docker registry](https://pico.sh/imgs): Docker image registry using SSH for
15- authentication.
16
17 ## Deploy a site with a single command
18
19@@ -47,6 +45,19 @@ ssh -R dev:80:localhost:8000 tuns.sh
20
21 Now your local dev server is availble on the web: https://dev.tuns.sh
22
23+## Authenticated *nix pipes over ssh
24+
25+Have one terminal listen for an event and another terminal send the event:
26+
27+```bash
28+# term 1
29+ssh pipe.pico.sh sub mytopic
30+# term 2
31+echo "Hello world!" | ssh pipe.pico.sh pub mytopic
32+```
33+
34+The `sub` will receive "Hello world!"
35+
36 ## Publish blog articles with a single command
37
38 Create your first post, (e.g. `hello-world.md`):
39@@ -68,23 +79,6 @@ scp hello-world.md prose.sh:/
40 Congrats! You just published a blog article, accessible here:
41 https://{user}.prose.sh/hello-world
42
43-## Push and pull docker images using SSH
44-
45-Open a tunnel to our docker registry:
46-
47-```bash
48-ssh -L 1338:localhost:80 -N imgs.sh
49-```
50-
51-Now you are authenticated! You are now able to push and pull like normal:
52-
53-```bash
54-docker push localhost:1338/alpine:latest
55-docker pull localhost:1338/alpine:latest
56-```
57-
58-All images sent to us are private and scoped to your user automatically.
59-
60 ## Easily share code snippets
61
62 Pipe some stdout to us: