Hacker News new | ask | show | jobs
by adlwalrus 5004 days ago
Seems like this could be done with more respect for user/data sovereignty if done with Node.js. Essentially, you'd cat the file into the script, it would spin up an HTTP server, do some port knocking or whatever NAT-traversal-fu is necessary, then spit out a link with either your raw IP, or a preconfigured dynDNS domain name.

This way we aren't carelessly littering our data all over the "cloud".

2 comments

Tooting my own horn again, but you just asked for https://pagekite.net/:

$ pagekite.py /path/to/file.blah yourname.pagekite.me

... send people a link to https://yourname.pagekite.me/file.blah and it streams from your disk. CTRL+C and it's offline with no copies stored anywhere in the cloud. Works with entire folders too (append +indexes to generate indexes), which is good for static HTML demos. If you want a harder-to-guess URL, append the +hide flag to the command above.

And yes, it's open source and you can run your own relay/reverse-proxy if you don't want to rely on me. Give it a try! :-)

Be proud, your domain has made BlueCoat's list of "proxy avoidance" sites and is blocked at my workplace.
Woah, I'm in the big leagues now! Blocking us actually makes perfect sense, PageKite can be used to avoid a lot of quite reasonable corp security policies.

Can you access sites on other domains which are connected via. PageKite? For example my personal site, http://bre.klaki.net/ or my kite http://bre.pagekite.me/ ?

Nothing on pagekite.me, will check the other tomorrow.
This probably doesn't belong on this thread, but I would really appreciate e-mail: bre at pagekite dot net.
awesome. thanks for sharing!
Know any port knocking as a service companies? If there was a reliable way to get a udp connection between hosts that I didn't have to write myself, I'd be tempted to take this on.
I think the term you're looking for is UDP hole punching, port knocking is performing a special sequence of connections (i.e. try TCP on 8100 then UDP on 4000 then TCP on 2000) to open up an additional port (like SSH) to a certain IP.

I'd be curious if there exists such a company or even any good open source libraries that can tie into other servers.

> Know any port knocking as a service companies?

Are you serious?