Oddbean new post about | logout

Notes by supersu | export

 Nostr seems to be where all the kids who grew up in the 80s and 90s, and all the kids who wish th... 
 Can't believe this fits so perfectly!  
 I have been thinking about how I can utilise Nostr with  #Holesail. 

Here is what I  have in mind:

- Use Nostr ID as a login tool for the Holesail Desktop app, such that when you log in with Nostr on your mobile, your connections will sync, and you can manage them remotely.

- Use Nostr as an allowlist, only the Nostr IDs you allow can connect to your holesail instance.

Let me know if you guys have better solutions in mind that I should try.

https://m.primal.net/MAkD.png
 
  @HarkAd 😄 
 Just released Holesail version 1.8.0 ⛵️ with UDP support.

 That means we are now one step closer to launching Holesail on  @Start9 and it now support a wider range of applications and gaming.

It is frogging awesome 🥳

https://m.primal.net/LyoS.png  
 Not yet, no. 
 😂 
 I am adding UDP support to Holesail, new version coming out soon 👀 
 Pretty freaking awesome! 
 We are somewhat far from Holesail itself having a native library of its own, but there is bare-expo that you can use to embed Holesail in any react native application.

We use the same thing in our Holesail Go application.

https://github.com/holepunchto/bare-expo 
 Yo nostr:nprofile1qqstnem9g6aqv3tw6vqaneftcj06frns56lj9q470gdww228vysz8hqpzemhxue69uhhyetvv9ujuur... 
 Hey, we had a short break and planning lot of cool stuff behind the scenes 😀 
 Happy Diwali Nostr , may this Diwali fill your lives with Light, peace and joy.


https://m.primal.net/Lnpw.jpg
 
 Arggg. While needing to finish my uone build (plumbing, framing inspection, internal lining and f... 
 4 Am thoughts be like😂 
 Good morning Nostr 
 Wow! #Nostr is so welcoming! Excited to be here ~
You may have seen a little bit of me already th... 
 Welcome @April McLaurin, your graphics are pretty amazing.  
 Finally trying out holesail today nostr:nprofile1qqst69c7cwzh54r2n3n9uqtfx8t3wldatf5g0xfzwenrnqzg... 
 Let me know how it goes 👀♥️ 
 Could be very well a problem with the android app, we are completely redoing it at the moment. 
 If this message receives even a single like, @Alby will clear me from the waiting list.  
 🥳🥳 
 ManI just woke up and you are already showing me sad facts  
 If you don't have Alby Hub yet... why?
---------------
(we're honestly looking for answers here) ... 
 waitlist  
 We discover more use cases for holesail everyday. Huge working going on, on Android side too.

By the end of September I will be announcing some real good stuff 👀


nostr:nevent1qqstxnv04hjys5cccmcrcwa94qvlnnafxxslkcy2x0lqpvnvdp0hllcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygxx0nf7r2pa4ftvlut0vdwm9ldeaktpjvqznr28qxjcu68ggzvrg5psgqqqqqqsk3wjct 
 What  @gudnuf said ,plus cloudfalred and nginx have strict limitations on protocol, bandwidth and timeout. 

Tailscale, on the other hand, is for personal use only; you can not share a vpn config with every person you want to share your self-hosted app with. But with holesail, it is only a matter of connection string, and no VPN is required. 
 Considering adding native Tor into Amethyst just to go around relay per-connection limitations.

... 
 Hi, bare-kit is now available on Android and iOS. It lets you use the holepunch stack on mobile platforms.

I have a working example of both in Objective C / Java, but "Kotlin can call into C using JNI, the same as Java. That's how Bare Kit works on Android."

If you need more info, we can talk on Discord or Nostr DMs, or even here. 
 Holesail.io to be included in #Start9  #StartOS instances soon. 

Prob next week. 

So so dope... 
 Next week: No, Soon : Yes 👀 
 really had been wanting to add some data lookups to a project but mempool dot space API has a lim... 
 what is nix-bitcoin? or nixpkgs?

If it works via tailscale, then it will work via holesail as well 
 Holesail server running on Termux and Android, the future is now. 

https://m.primal.net/KIKD.jpg
 
 I went for a trip last week and this scene looks straight out of an anime.

https://m.primal.net/KGoI.mp4  
 Holesail version 1.7.0 is out with a brand new feature: Holesail Manager.

Run holesail in the background and persist connections on reboot.

It is as simple as doing holesail-manager create <normal holesail options>

Docs coming soon.

https://m.primal.net/KGng.png  
 What Nostr client is everyone using here? Specifically on the web / Mac. 
 I find Nostrudel ninja UI a bit hard to digest, let me check rabbit 
 I am also using Primal Web; the bug has not stopped my account. Their mobile client is good too, along with Amethyst  
 use ublock? 
 Check this out, guys, It's the coolest thing by far I have seen build-on holesail.

nostr:note10em22c0rr0cjwd5ndy7rl76u8m2z6my2t7y0qpyfhvv5crg4g9nsqhkx03  
 ELI5? 
 Basically, it starts a SOCKS5 proxy in the background that will automatically handle connecting with holesail/hyperdht connections, you wont have to connect to a key every time in terminal, the proxy will automatically do it on the go for any app for browser.

For example, doing <my key>.hyper in the browser will load a holesail connection from <my-key> .

It is pretty sick,  @hzrd149 I see it is MIT, I might add it to holesail someday 
 Thanks, I was also thinking something like Orbot for mobile devices. This is a solid suggestion and will improve holesail a lot. 
 Freaking heck I just tested it, and it works.  This is so cool. 
 It works flawlessly , let's gooo ⛵️ 
 Check out Kademliya algorithem, it is truly peer to peer, there are no central nodes. 
 It is pure P2P, the nodes do not help in holepunching but to discover first few peers, a node is just a known peer. Anyone can become a node.

You need to look into Kademliya algorithem to understand how it all works. 
 Check this out, guys, It's the coolest thing by far I have seen build-on holesail.

nostr:note10em22c0rr0cjwd5ndy7rl76u8m2z6my2t7y0qpyfhvv5crg4g9nsqhkx03  
 Perhaps you are too smart to understand, but I will try:

Unlike traditional and common holepunching methods, there is no requirement of a third party STUN server in Kademliya.

The peers themselves act as a stun themselves(kind of) and help in holepunching. 
 Also since this is custom DNS resolution I dont think we need to convert to bech32 🤔

 
 The vanity key I want takes 283 years to find in my M2 Max. So... I need ideas.  
 Who has experience with setting up site to site VPN tunnels on Fortinet Fortigates behind NAT's a... 
 It will work for your use case. Give it a shot 
 Holesail is secure and no third party is involved, if the state allows it you are good to go. 
 @hzrd149 Holesail solves this as holesail is a reverse proxy around hyperdht.

You can check holesail source for how it's Implemented  
 Holesail integration basically means packing the binary or source and executing it from the app so that your users don't have to.

Any app can use data coming from holesail because it's on your localhost:port . 
 I think you are a little confused here, apps do not need to integrate holesail to use it.

Holesail in itself is a proxy, it kind of binds two ports between different devices, so apps just need to use localhost:port as the url.

When I say "integrating holesail", I mean including holesail in the app itself so that users don't have to do the installation and running.

For example, for an apache server running on port 80, I can wrap holesail around it with holesail --live 80 --host localhost

Then on another device: holesail <connection string> --port 3434 --host localhost, now any app on my second device that needs the data from server1, will use the URL  http://localhost:3434/

There is no need for manual integration, but for the sake of simplicity and accessibility, it is better to do so.

The above is a manual approach, now if I bundled holesail with apache2 and made it print out a connection key for ever vHOST by default, that would be holesail integration.

 
 Here is a terrible drawing explaining how Holesail proxy works around Hyperdht

https://m.primal.net/Jyxd.png  
 I am releasing holesail-manager today It will solve the problem of running holesail commands again and again but what do you mean by: 
> Which means the HTTP proxy can intercept their requests and bind the ports automatically then forward the traffic through hyperdht to the correct node

I think I am not able to understand this properly, I appreciate you explaining it, please 🙏.
 
 Ohhh damn, now I get it lol. That would is pretty amazing. Kind of like a bridge between the browser and holesail 
 Life hack: you can control your attention, your opinions, and your feelings. 
 You would need to be a profound monk to achieve that in my opinion . 
 Maybe, but it does all the things 
 Bare (By Holepunch) is a lightweight runtime, Keet gives pretty good performance and stays up to date with latest content even when it is all P2P. 

Similarly Holesail runs on pretty much everything even though it is Nodejs based.

I don't think we need to worry so much about "Low end devices" here. 
 #asknostr does anyone have a link to the holesail android app source code? I want to see how they... 
 Holesail android code is not open, but here is how you can get holesail working on Android:

https://github.com/supersuryaansh/hyperclip-android

After that just do npm i holesail-client and you can use the node package in app.js file 
 Bare is a runtime of its own and is not sandboxed like a normal JavaScript environment. 

It can access TCP and setup sockets/connections and do all kinds of stuff.

Holesail Go was built way before bare-kit and uses custom stuff to set itself up and work.

But if you are taking Guy's bounty, Bare-kit is the way to go. 
 My observation and personal opinion.

IPv6 and NOSTR share a similar issue.

There is no financia... 
 Yes, along the line we intend to make money. 

Soon when I post about the basic security issues and carelessness I discovered with the current port forwarding / static IP model, it will makes things clear why I am so admadent on the security part. 
 *adamant lol 
 The problem is and always has been, “what do we have the resources to implement and who is goin... 
 Take up the bounty guys 👀 , we gotta solve real world problems. 

I will provide support to anyone working on this bounty. 

nostr:note1awd7xdaxcq7ql8k4ew5r5nkvc00sgtsq03wsz63u2zt6rkpts2hsxangjd  
 Merely for a place to start, I will put 1,000,000 sats bounty on this. I will gladly put a lot mo... 
 Makes sense. Also, goal of holesail is to be easy to connect and to be secure by design with no extra configs, so that even the simplest user can use it without fearing that someone might "hack" them, or someone is watching the camera. 
 Thank you. 
 I see zero buzz around #holepunch /#pear - despite big Nostr users like nostr:npub1a2cww4kn9wqte4... 
 Busy building in silence 😛  
 You need to implement holesail-client / holesail-server in Zeus wallet using Bare-kit. 

I have a working example of it here https://github.com/supersuryaansh/hyperclip-android/ 
 A note to  @TheGuySwann, you might need to cough up the "big sats" soon. Holesail is now super easy to implement on Android with https://github.com/holepunchto/bare-expo 👀 

Take the bounty guys, and I will help you every step of the way to do this.

nostr:note1v9072gse3ztk73d80tw0sahzjat6fchs5gjt9cmd6xe023tm0luqyp9982  
 Why does it need a direct integration?

Could you use a third party app for the connection like w... 
 This is also possible, run holesail on Termux and all done (the Android app is not as capable as client version yet but will soon be).

nostr:note1aynqg8hpdx4gw3hxr5rxym6lu4qev27ljdt3xz7fldqp7hc0f43s0c2ztm  
 Something I’ve noticed since I lost Phoenix wallet, is that our ability to communicate or “pa... 
 You can setup a custom connection string to avoid that, holesail --live <port> --connector "any random stuff that is secure"

Future version will have a --preserve flag to keep the connection string same when the server restarts. 
 It is in the works 👀