Better HN
topnewbestaskshowjobs
Log inSign up

coldstartops

73 karma · joined May 2, 2025 (1y ago) · 54 submissions

Building encrypted P2P file systems. https://keibidrop.com
Submissions

1.

Show HN: KeibiDrop – Work on remote large files on-demand (no upload/download)(github.com ↗)

4 points · by coldstartops · 1mo ago · discuss

comment 1mo ago · link · parent

Most of the home consumer WiFi Routers block inbound connections with no way to unblock them, thus PeerYeet cannot establish a connection. One workaround is to use OpenWRT https://openwrt.org/toh/tp-link/archer_c7 on the router and allow direct connections, but it is not so easy to do.

For example I cannot use PeerYeet on any of my devices, even if I am on the same wifi. So they find the senders, but it is always no direct path, nothing was sent.

Unfortunately you need to relay the traffic.

comment 1mo ago · link · parent

Mail server Amnezia VPN keibidrop daemon to access files on-demand a bunch of 1 off micro tools (metadata remover via static html, gains tracker, etc.)

comment 1mo ago · link · parent

I was at Thibault's talk when he explained the OHTTP this summer, for those interested: https://passthesalt.ubicast.tv/videos/2026-oblivious-http-wh...

comment 1mo ago · link · parent

Grimgar of Fantasy and Ash https://en.wikipedia.org/wiki/Grimgar_of_Fantasy_and_Ash

I have grown playing MMORPG's and this one brings the nostalgia vibes without investing the time into grinding for gear.

comment 2mo ago · link · parent

https://keibidrop.com

Working with remote large data sets as if they where local.

I made the project public on May, and now as September has arrived, you can work with post production videos anywhere in the world. You can run the daemon on your own NAS and access the data on-demand from your working machines.

The same applies to data acquisition in digital forensics flows.

comment 3mo ago · link · parent

KeibiDrop: A Peer to Peer Network latency hiding filesystem:

You can work on shared files instantly without uploading or downloading them.

1 minute video: https://www.youtube.com/watch?v=9Wt0NMx2_I8 Github repo: https://github.com/KeibiSoft/KeibiDrop

Since last month hardened bidirectional edits such that people can work on video assets with Premier Pro, DaVinci, and such.

Got a pre-alpha release, where we managed to split congestion control over QUIC and bulk data transfers over TCP, and the lockless conflict resolution :D

comment 4mo ago · link · parent

I went full meme, and stacked like 3 level of generators on top of eachother.

Level 1: A basic generator does the same stuff: Raw Structs to SoA + Wire Codecs + Bitfields to not waste space.

Level 2: Then on top of this one, I got a generator for relation between entities.

Level 3: And on top of this one one for "game" design and schema behavior.

And then all this runs on the simluator engine that handles Collision, Flow Fields, Events, Genetic Algorithms, Networking, etc.

The flow is something like this:

You ask claude to read a story, novel, w/e and extract relations, entities, etc.

Then it edits a Schema.go with the High Level DSL adnotations, like 10 lines per entity.

Then I run the Level 2 Generator: That creates the primitives and a high level API.

Then it combines the high level API rules in main.go and just compiles it to the final gamestate.

And runs benchmarks to see how many allocs/ops per entity are.

And one more fun thing, it encodes the gamestate on 1400 bytes, in order to fit on a UDP datagram such that it can support networking, quite fun. Once you get the primitives correct.

For all this + networking + disk i/o; works on 4 cores (threds) only. But the simulation in itself is on 1 core 1 thread. The networking offloaded to 1 core (1 thread), and disk i/o to a different core (thread), and the painting on screen (to a different core (thread))

comment 4mo ago · link · parent

> What is driving us towards these tools?

Why did your group use the AI, how would you answer the Conclusion questions?

As an anectdote: I like low-fi punk music because of the energy, and low skill for entry level. So when I started playing music, I went for this genre. I used it as a hobby over 10 years as it brought me joy, and enjoyed the process, without the grind for leveling up the skill.

It's also fun to do low effort things that are good enough. Much more fun than being l33t.

comment 4mo ago · link · parent

Hi ogig, funilly enough I was also running this boids experiment a few months ago. Managed to get around 8k at 60 fps on 1 thread on my cpu, using golang.

My goal for this experiment was to encode the optimal cache data structures into meta programming generators such that claude can write high level DSL and generate down to this level of simulations. I am curious if you had such an approach also.

comment 4mo ago · link · parent

Two weeks ago presented current state of KEIBIDROP at Pass The SALT 2026, and now I am planning the push for the next version 0.4.0.

KEIBIDROP: Makes remote files appear as local (it hides the network latency in order to let you open and edit a peers file without downloading it upfront or re-uploading it fully back).

For version 0.4.0 I am planning multi-user support, using UDP (QUIC) instead of TCP as the networking layer, optimization of live-edit regions of files, and to test it even more for data heavy workflows.

Here is the website: https://keibidrop.com/

And here is the github: https://github.com/KeibiSoft/KeibiDrop/

comment 4mo ago · link · parent

I think OPs mantra is "Scrape. Automate. Scale." It feels like people who consent to this "passive" income, do not understand what they consent to. The business model seems grey towards black. "Signup to be part of 3rd party bot farms exit node, you get paid, all will be good. Nothing bad happens, you consent"

comment 4mo ago · link · parent

I am curious if I got it right, but the business of the company is providing exit nodes for AI bots/ strangers via peoples residential IP's? This is my impression from accessing the website. I was interested at first, but now I got a bit of ethical doubts about it.

comment 4mo ago · link · parent

Got a Bachelor + Master, best investment in my life (in terms of time, as I did not pay for education, EU and such).

Job stuff not much related with stuff learned in school, sometimes related to some degree.

Skill stuff very closely tied to constantly applying stuff learned in school, but mostly on how to attack problems.

Me learn stuff because me like know stuff and level up. (edit: do not get me wrong, learning is still painful, and thinking even more painful)

Me job stuff because me like food and amneties, until the learn stuff transfers into sustainable food and amneties.

comment 4mo ago · link · parent

I did not measure agents, but lets take the following example:

Assume you have a 10 GB blu ray movie that you want to watch without waiting for upload/ donwload time.

Maybe you host it on a server on another continent, where you got a 200ms RTT.

And your wire at home supports around 500Mbps - approx 62 MB/s.

Thus to Download it fully, would take around: 161 seconds if you use the full wire and on the happy case.

But to actually watch it and skim through it, you do not need to use the full wire, but around ~11 Mbps for a 2-hour 10 GB film, which is like 2% of the wire. The only hard part is random jumps, as each seek is a full RTT.

If you prefetch too aggresivelly you hide this RTT, but if the wire is saturated, and if you have a cache miss, then you will hang and wait until the request goes through. Might be upt to 1-2 seconds. The whole game is to pace yourself such that you stay ahead of the consumption rate, without saturating the wire.

comment 4mo ago · link · parent

I just had a talk (power-rushed a bit) yesterday at Pass The SALT 2026 talking about (my version of) latency hiding filesystems in userspace over the network. My benchmarks, setups, and how to make the magic wawaweewa work.

Basically it went the "sshfs over iroh" approach, and instead of OP's post, it has eager metadata file sharing, and on demand file access. It is still a work on progress, but you can use git juse fine over the fuse mount points without introducing a new tool (edit: but do note that I did not encounter problems with large worktrees, as I do not use them in my flow, and still has some quirks). And still have similar "cold path" access times.

I touch on some insights of hiding the latency, the direct Alice to Bob connection, and has some recorded demos. Goes the generic approach.

You can watch it here if you are interested, but its around 25 minutes.

The first part is about the Post Quantum Crypto, and making direct IPv6 connections work.

The second part is about the filesystems in userspace that hide the latency. (The second part is around minute 12:00, and I think it is the relevant part to this discussion/ thread).

https://passthesalt.ubicast.tv/videos/2026-keibidrop-post-qu...

comment 5mo ago · link · parent

I see nothing wrong with something probabilistic. I think it is all about offsetting the risk and reducing the odds of bad outcomes. There is this concept of Defence in Depth, thus I assume some sort of binomial formula also applies here.

comment 5mo ago · link · parent

Couldn't run your benchmarks, as I did not create an account, and a bit of a different beast that I am comparing against (P2P distributed filesystem), but these are my numbers and setup, and the on-demand part lines up with what I have observed:

Setup: a Linux box on the other side of Romania (compared to where I am living) reading from a Windows box in Singapore (~200 ms RTT)

- reading 1 MiB of a 1 GB remote file pulls only 16 MiB (~98% avoided) - this is because of my fine tuning optimization choice - first byte approx: 2.3s - git-LFS repos also clone cold over the mount byte-perfect (separate Mac - Linux run on a ~20 ms RTT)

The thing that I do differently is that my metadata is eagerly pushed, as I optimized for content streaming.

And 100k-file tree mounts I did not test yet.

But my goal was to have instant file access for generic files between apps, and peer to peer, supports also Windows :D

here is the tool: https://github.com/KeibiSoft/KeibiDrop

comment 5mo ago · link · parent

I am curious, how do you handle latency issues for on demand access? I saw you use FUSE (and FSKit), and from my experience it is pain to make filesystems in userspace work on-demand over WAN because a) latency, and variable RTT; and b) you can't saturate the wire and aggressively read ahead things, otherwise native apps will freeze, lag, or just make the UX unpleasant, especially if there are too many placeholder files, or large files with random jumps in them.

comment 5mo ago · link · parent

Google hits 50% IPv6, very good for accessing websites.

But my TP-Link router blocks by default inbound IPv6 connections, without any option to configure it, still bad for pure IPv6 bidirectional streaming, gaming or services on home networks.

comment 5mo ago · link · parent

KEIBIDROP: Peer to Peer Instant file sharing

https://keibidrop.com

https://github.com/KeibiSoft/KeibiDrop/

It leverages virtual mount points to make file metadata available between Alice and Bob, and make the files appear as if locally.

So for example instead of waiting to upload then download a Blu Ray movie, or a large game, you can just add it into the virtual mountpoint and your recipient can instantly play it, or install it, and the download happens in the background with random offset jumps, and caches it locally.

comment 5mo ago · link · parent

Highly recommend. The exampels are in c/c++ and the same concepts can be ported to other languages like golang.

My favorite part of it is Chapter 2 the bit manipulation tricks.

comment 6mo ago · link · parent

Nice! Now the question is: How many classic Reynolds boids can you run on 1 CPU at 60FPS, without using any go routines?

I managed to get around 8192 using Serge Skoredin's approach from the blog post last year: https://skoredin.pro/blog/golang/cpu-cache-friendly-go

Also tried some of the techniques in this blog post, and managed to squeeze a bit more with the insights from your post.

comment 6mo ago · link · parent

Let me know how it goes, or frustrations. I admit that currently it is not the most friendly UX. And found out a bug that if no direct P2P possible, it fails to fallback to the STUN-ish data relay. However LAN mode and WAN via direct P2P works on latest releases.

As soon as I merge this one, will create another release that fixes the fallback; and hopefully also get the apps in ios and gplay stores. https://github.com/KeibiSoft/KeibiDrop/pull/143

comment 6mo ago · link · parent

Stream on-demand files between your devices. WAN, LAN, Direct IPV6, cross platform, pqc.

https://keibidrop.com/ repo: https://github.com/KeibiSoft/KeibiDrop

comment 6mo ago · link · parent

It is possible. I tell to use cli app, and for the agent to ad timer and check the status once in a while. Especially if there is something with a long wait. Also if it can run some validators/ same tools locally, would be much faster.

Might tend to deviate and waste time, needs guiding once in a while, and to check what is it spewing out, point it in the correct direction.

comment 6mo ago · link · parent

I treat the low level tasks as building blocks. You need a grasp and understanding of what is possible with them, but you do not need to remember the exact byte order and syntax. I think the idea is you should structure your workflow in a deterministic way, and just use Claude/ LLM as the interface. It is much easier and enjoyable to use high level language, where you give pointers to building blocks/ directions/ say hard no when you understand things deviate.

If I had to output the code myself, would take around 8 hours of constant writing to get around 1k LoC of code. For FUSE level tricky stuff, I might need to spend 3 weeks for 10 LoC. Very easy to burnout and build pain.

comment 6mo ago · link · parent

Here is a public project.

https://github.com/KeibiSoft/KeibiDrop

It took me 2 years ago around 2k hours to build a cross platform FUSE vault, without using AI assisted tools.

The pain was debugging through logs and system traces. And understanding how things work.

Now managed to ship this one much faster, as an after hours project. Started it in may 2025, and around end of November 2025 started using claude on it.

Just by dumping logs into claude, and explaining the attack vector for the problems, saved me the FML moments of grindings walls of syscalls on 3 platforms.

I would say much easier to progress, and ship with the same rigour, minimize my time, focus and brain power involvement such that I can put the energy somewhere else.

comment 6mo ago · link · parent

I've been through Introduction to Modern Cryptography by Katz and Lindell. Can recommend, as it starts with Caesars cipher, one time pads, and builds towards modern cryptography.

comment 6mo ago · link · parent

I will add this on the roadmap. At the moment I am trying to add persistent identity, as by default it is ephemeral.

But I warn you, there are still some kinks. Only 75% pjdfstest (filesystem test suite) passes in terms of POSIX compliance. I do not support hardlinks/symlinks by design.

I was trying last to use postgresql on the virtual filesystem, then once the server is stoped, to remove the lock file, and open it on the peer. and some files got corrupted while running this test.

12