Skip to content

Commit decf68d

Browse files
committedDec 16, 2024··
chore: rm old pubsub impl
1 parent 532404c commit decf68d

File tree

6 files changed

+0
-394
lines changed

6 files changed

+0
-394
lines changed
 

‎README.md

-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# tunkit - ssh tunnel tooling
22

33
- Passwordless authentication for the browser using SSH local forwarding.
4-
- Pub/sub system using SSH remote forwarding.
54
- Implemented as [wish](https://github.com/charmbracelet/wish) middleware.
65

76
# Passwordless authentication
@@ -51,22 +50,6 @@ docker pull localhost:1338/alpine:latest
5150
We built this library to support [imgs.sh](https://pico.sh/imgs): a private
5251
docker registry leveraging SSH tunnels.
5352

54-
# Pub/sub system
55-
56-
Use an SSH tunnels for "webhooks":
57-
58-
- Integrate the publisher middleware into an SSH server
59-
- A user can start an http server on localhost
60-
- User can initial an SSH remote tunnel to SSH server
61-
- Publisher emits events by `http.Get` the user's local http server
62-
63-
## Why?
64-
65-
The biggest benefit is the user's http server is not public. There's zero
66-
concern for malicious actors or bots trying to hit a user's event endpoints.
67-
This dramatically reduces the infrastructure requirements for the end-user. They
68-
just need to start an http server and initial a tunnel to a service.
69-
7053
# Examples
7154

7255
Checkout our [cmd/](./cmd/) folder for more examples.

‎cmd/pubsub/pub/cli.go

-89
This file was deleted.

‎cmd/pubsub/pub/main.go

-57
This file was deleted.

‎cmd/pubsub/sub/main.go

-33
This file was deleted.

‎pubsub-handler.go

-174
This file was deleted.

‎pubsub.go

-24
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.