frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: P2Party – Encrypted WebRTC Room URLs

https://github.com/p2party/p2party-js
2•fuzzc0re•2h ago
Hi HN,

I’ve been working for the past 10 months on p2party, a TypeScript/C/WASM library which you can find at https://github.com/p2party/p2party-js and demo at https://p2party.com , that lets you spin up an encrypted peer-to-peer mesh with nothing more than a shared URL.

Why I built it: I wanted something between https://file.pizza and “ephemeral Signal chat”, but with my custom cryptographic idea (I know I know... WebRTC is already encrypted and it is easy to go wrong etc.). The project started as a toy for sharing large DAW files with my bandmates (and to flex some applied crypto skills), then grew into a general toolkit. It is also a nice side project to test LLMs as companion coders and to know where the world is at right now regarding this subject (personal opinion - super small and well-defined tasks ok).

The cryptography: The messages, either strings or files, get split and included into isomorphic chunks of 64kb which are stored in IndexedDB until they are sent. Each chunk has some metadata like file hash, name, Merkle proof etc., the actual information and then padding left and right with noisy data. The real info starts at random positions on each chunk. The whole thing is then e2e encrypted with ChaChaPoly1305 with sender ephemeral keys and sent in random order.

Inspiration: To an observer of the message traffic, every chunk is isomorphic and contains a lot of useless info and some real ones. But to analyze it they need to store all the junk. The inspiration came from a principle of counter-surveillance that I learned from the adblock tool https://adnauseam.io .

Caveat: Before sending the message, all the chunks need to be created so that the Merkle proofs can be calculated and the browser can send the chunks in random ordering.

The p2p: I could not find a good example online of how to create a WebRTC mesh network so I built a tool for myself. It works acceptably now so that's why I uploaded it here after 10 months of working on it (on and off) :D

The WASM: I had experience with compiling C to WASM when I developed this project in the past https://github.com/deliberative/crypto and I wanted the same efficiency gains here.

Status: It works, but it is not security-audited yet → don’t trust it with your deepest secrets. API is stable enough to embed in your own apps. Open-source under AGPL-3.0.

Try it here: https://p2party.com (open in two browsers or devices). Code is here: https://github.com/p2party/p2party-js.

I'd love your feedback on everything! Enjoy!

Keyboard Is Holding Your AI Back

https://jdstaerk.substack.com/p/your-keyboard-is-holding-your-ai
1•DDerTyp•49s ago•0 comments

Survival, Resistance, and Fitness Dynamics of E. Coli After Exposure to Copper

https://academic.oup.com/emph/advance-article/doi/10.1093/emph/eoaf015/8182076
1•PaulHoule•1m ago•0 comments

Static AI Is Already Cutting Jobs; What Happens When It Starts to Learn?

https://promptql.io/blog/continuously-learning-ai-impact-employment
1•tango12•2m ago•0 comments

Tesla Model Y Performance Available in Europe [video]

https://www.youtube.com/watch?v=_XvHhFjrbn0
1•jiriro•3m ago•0 comments

OpenAI lost the plot on 'boring' LLM use-cases

https://softwaredoug.com/blog/2025/08/21/open-ai-lost-plot
1•mooreds•4m ago•0 comments

GPT-5 Made SEO Irreplaceable

https://dejan.ai/blog/gpt-5-made-seo-irreplaceable/
1•DeusExMachina•5m ago•0 comments

Rubberduck: Emulate OpenAI/Anthropic locally with caching and failure injection

https://github.com/Zipstack/rubberduck
1•naren87•5m ago•0 comments

Geministorybook-Instantly Create Illustrated Books with AI

https://www.geministorybook.com
1•RyanMu•5m ago•1 comments

Ask HN: Is any logic instinctive, or all trained?

2•davidajackson•6m ago•0 comments

Ask HN: Avoiding AI slop in music services

2•kermatt•6m ago•0 comments

Pypistats.org is now operated by the Python Software Foundation

https://pyfound.blogspot.com/2025/08/pypistats-org-is-now-operated-by-the-psf.html
1•runningmike•7m ago•0 comments

Tell HN: Crazy sloppiness in X.com Content Security Policy

3•plehoux•7m ago•0 comments

A Troubled Man, His Chatbot and a Murder-Suicide in Old Greenwich

https://www.wsj.com/tech/ai/chatgpt-ai-stein-erik-soelberg-murder-suicide-6b67dbfb
1•sebastian_z•9m ago•0 comments

Naylib – A Raylib Nim Wrapper

https://github.com/planetis-m/naylib
1•TheWiggles•10m ago•0 comments

Ask HN: Should we stop worrying that AI will replace developer jobs?

2•_pdp_•12m ago•3 comments

Steps of AI Implementation in Defect Detection

https://www.slideshare.net/slideshow/6-steps-of-ai-implementation-in-defect-detection/282777730
1•iprogrammerau•12m ago•0 comments

Chicken Scheme internals: the garbage collector

https://www.more-magic.net/posts/internals-gc.html
2•fanf2•14m ago•0 comments

Gemini-srv – Gemini-CLI on your box

https://github.com/Apaezmx/gemini-srv
1•paezand•14m ago•1 comments

From Black Box to Blueprint

https://martinfowler.com/articles/black-box-to-blueprint.html
1•tanelpoder•14m ago•0 comments

Complementary, alternative and integrative medicine for autism: umbrella review

https://www.nature.com/articles/s41562-025-02256-9
1•bookofjoe•17m ago•0 comments

How we made Kagi Assistant load twice as fast

https://jacobwinters.com/kagi-assistant-optimization/
2•freediver•18m ago•0 comments

Show HN: Nano Banana Games – AI Image Playground for Creative Experimentation

https://nanobanana.games/
1•colin50•19m ago•1 comments

Fake accounts drove the DeepSeek AI hype and distorted markets

https://www.evai.ai/en/post/disinformation-the-deepseek-hype-was-all-made-up-how-fake-accounts-ma...
4•evai•19m ago•1 comments

YouTube Ordered to Grant Austria Users Access to Their Data

https://www.ndtv.com/world-news/youtube-ordered-to-grant-austria-users-access-to-their-data-9181784
1•buzer•20m ago•0 comments

Detecting and Countering Misuse of AI

https://www.anthropic.com/news/detecting-countering-misuse-aug-2025
1•Garbage•21m ago•0 comments

Show HN: PianoReader – Gets the Notes and Chords from Piano Tutorial Videos

https://pianoreader.app/
1•catchmeifyoucan•24m ago•1 comments

The Hacker Pager

https://hackerpager.net/
2•alxjsn•25m ago•0 comments

Condor RISC-V Performance core with novel Gantt chart work scheduling

https://www.servethehome.com/condor-computings-cuzco-a-high-perf-risc-v-design-at-hot-chip-2025/
2•childintime•37m ago•0 comments

Show HN: VR.dev – a developer network for VR/XR/AR devs

https://www.vr.dev/
6•vrdev•39m ago•0 comments

SilverBullet v2 released: open-source, self hosted, programmable notes

https://community.silverbullet.md/t/silverbullet-v2-released/3100
9•zef_hemel•39m ago•3 comments