Skip to content

Commit

Permalink
chore: rm old pubsub impl
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Dec 16, 2024
1 parent 532404c commit decf68d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 394 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# tunkit - ssh tunnel tooling

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

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

# Pub/sub system

Use an SSH tunnels for "webhooks":

- Integrate the publisher middleware into an SSH server
- A user can start an http server on localhost
- User can initial an SSH remote tunnel to SSH server
- Publisher emits events by `http.Get` the user's local http server

## Why?

The biggest benefit is the user's http server is not public. There's zero
concern for malicious actors or bots trying to hit a user's event endpoints.
This dramatically reduces the infrastructure requirements for the end-user. They
just need to start an http server and initial a tunnel to a service.

# Examples

Checkout our [cmd/](./cmd/) folder for more examples.
Expand Down
89 changes: 0 additions & 89 deletions cmd/pubsub/pub/cli.go

This file was deleted.

57 changes: 0 additions & 57 deletions cmd/pubsub/pub/main.go

This file was deleted.

33 changes: 0 additions & 33 deletions cmd/pubsub/sub/main.go

This file was deleted.

174 changes: 0 additions & 174 deletions pubsub-handler.go

This file was deleted.

Loading

0 comments on commit decf68d

Please sign in to comment.