News for hackers. Stuff that matters.
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by whois on Tuesday November 26, 2019 @11:29AM (#21639747)
I like this. Have you considered releasing the source so people can run it on their own servers?
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by anderspitman on Tuesday November 26, 2019 @12:36PM (#21640523)
I would love to make the source available. But there's no getting that genie back in the bottle once you go that route. I wanted to release it and get some feedback before deciding what to do with it. That said, a server that supports the examples on this page is pretty trivial to implement (especially if you skip the pubsub stuff). I had a working prototype in a weekend. Multiple implementations would probably be a good thing.

EDIT: also, the current state of the code base is not something I'd be excited about having my name attached to ;)

Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by henryfjordan on Tuesday November 26, 2019 @05:03PM (#21643211)
You can think about releasing the code with no license or with some form of the newer BSL or something.

It won't stop bad actors from stealing your code and using it but you will stop most corporate actors from touching it (and they are the ones you'd want to pay in the future anyway).

Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by mathfailure on Tuesday November 26, 2019 @02:35PM (#21641792)
Anders, please, opensauce it!
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by whois on Tuesday November 26, 2019 @01:54PM (#21641387)
Ah yea I totally understand.

I love this thing though. So simple but powerful.

Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by edoceo on Tuesday November 26, 2019 @12:35PM (#21640522)
Now that we've all seen the awesome implementation I think a clone in Go is not far off.

If I don't see one by EOD I'll have to make - is thing is super cool

Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by openthc on Tuesday November 26, 2019 @01:39PM (#21641238)
You'd better post the code
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by anderspitman on Tuesday November 26, 2019 @03:16PM (#21642214)
Here's the extra poor man's version to get ya'll started. It doesn't have any of the auth/rate limiting/etc or pubsub, but it should basically work for the MPMC queue stuff:

https://github.com/patchbay-pub/patchbay-simple-server

Note that this will leak memory since there's no logic for removing old unused channels.

Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by edoceo on Tuesday November 26, 2019 @03:21PM (#21642270)
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by anderspitman on Tuesday November 26, 2019 @03:33PM (#21642396)
Nice!
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by olup on Friday November 29, 2019 @02:06AM (#21662657)
And, a bit late, me too, of the pub/sub option that sounded more appealing to me. https://github.com/olup/patchcreek
Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by sairamkunala on Thursday November 28, 2019 @07:50AM (#21656901)
I made a similar project when starting to learn Go. It's opensource and it works. Just don't host it out on the internet. Intranet should be good because no security audit has happened. This was sort of an MVP

https://github.com/sairam/daata-portal/tree/master/daata-ser...

Re:Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless by dnpp123 on Tuesday November 26, 2019 @12:24PM (#21640395)
^^^ This. The kind of people who use this are power users who want to run this on their server. Or use IFTTT otherwise.