frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

P⁴ – Persistent Point-to-point protocol

https://github.com/Masterjx9/p4
1•PythonicIT•1h ago

Comments

PythonicIT•1h ago
I’ve been working on a new protocol called P⁴ (Persistent Point-to-Point Protocol).

It persists the point-to-point protocol by using tor onion-style rendezvous for cross-network reconnects, but otherwise relies on the normal webRTC data channel for direct communication. (like PPP)

The result is that it lets apps talk directly (desktop ↔ mobile) without servers, accounts, or cloud infra.

I first thought of this when building an open source social media scheduler app where your content is on your desktop (or mobile) but you want to access the scheduler on your phone (or desktop). A server is an obvious choice but since this is open source, I wanted to avoid the need for users to setup a server or vpn, etc.

However this also has applications beyond just that: - Personal file sync (Dropbox alternative) - Password manager cross-device sync - Notes/tasks syncing (offline-first apps) - Home automation control (phone to local hub) - Game state sync (local-host multiplayer) - Camera/IoT monitoring without cloud - Clipboard sharing between devices - Local-first databases (CRDT peer sync) - Encrypted chat without central servers - Dev tools: logs/metrics between local machines

I personally tested this for windows and linux with the python bindings, but would like people to test this out on macOS if possible.

This supports: - Windows - Linux - macOS

Language options: - JavaScript/TypeScript - Python - C++ - PHP - Java - Rust

Why didn't I just use tor's onion relays fully for traffic if I am using it for rendezvous? Because tor's relays are optimized for low-bandwidth traffic and have high latency, which is not ideal for real-time communication. By using tor only for the initial rendezvous, I can establish a direct peer-to-peer connection using webRTC, which is much faster and more efficient for ongoing communication.

The protocol is still in early stages, but the core features are working. I’m looking for feedback on the design and implementation, as well as help with testing and documentation.

Show HN: BallotGuessr – Guess the 2024 election margin from a Street View photo

https://ballotguessr.com
1•jiratickets•34s ago•0 comments

Constructing an LLM-Computer

https://www.percepta.ai/blog/constructing-llm-computer
1•Philpax•1m ago•0 comments

Show HN: Stella Foster – iMessage on Any Phone

https://stellafoster.com/
1•jacobgc•1m ago•0 comments

An open source benchmarking framework for IT automation

https://github.com/itbench-hub/ITBench
1•pranay01•3m ago•0 comments

A Former Anthropology Student from Los Angeles Might Be the George Lucas of AI

https://www.hollywoodreporter.com/movies/movie-news/gossip-goblin-zack-london-ai-films-watch-1236...
1•Kaibeezy•3m ago•0 comments

Air Force tanker tore up asphalt at Alaska airport with engine test

https://taskandpurpose.com/news/air-force-tanker-asphalt-accident/
1•ilamont•6m ago•0 comments

Making React ProseMirror Fast

https://handlewithcare.dev/blog/making_react_prosemirror_really_really_fast/
1•smoores•9m ago•1 comments

5 AIs. One Answer on iOS

https://apps.apple.com/us/app/pingpongit/id6758229301
1•husky8•11m ago•0 comments

Show HN: Rick – Open-source AI CEO that autonomously runs your startup

https://meetrick.ai
1•MeetRickAI•12m ago•0 comments

Running Tesla Model 3's Computer on My Desk Using Parts from Crashed Cars

https://bugs.xdavidhu.me/tesla/2026/03/23/running-tesla-model-3s-computer-on-my-desk-using-parts-...
3•driesdep•12m ago•0 comments

Ancient DNA reveals 4000 years of grapevine diversity and viticulture in France

https://www.nature.com/articles/s41467-026-70166-z
1•layer8•21m ago•0 comments

The Military Failures of Fascism

https://acoup.blog/2024/02/23/fireside-friday-february-23-2024-on-the-military-failures-of-fascism/
2•JumpCrisscross•21m ago•0 comments

Brad Feld – Quality (Essay on Zen and the Art of Motorcycle Maintenance)

https://feld.com/archives/2026/03/quality/
1•rmason•24m ago•0 comments

Health NZ staff told to stop using ChatGPT to write clinical notes

https://www.rnz.co.nz/news/national/590645/health-nz-staff-told-to-stop-using-chatgpt-to-write-cl...
13•billybuckwheat•25m ago•1 comments

Specula: A framework for finding deep bugs in system code using TLA+

https://github.com/specula-org/Specula
1•matt_d•27m ago•0 comments

Nonfiction Publishing, Under Threat, Is More Important

https://newrepublic.com/article/207659/non-fiction-publishing-threat-important-ever
1•Hooke•27m ago•0 comments

Show HN: Text2troff – automatically converts plain text to TROFF format

https://github.com/jazzfan2/text2troff
1•robtoscani•27m ago•0 comments

Silence is the KPI: agents that don't talk

https://diegodella1.github.io/chango-daily/2026/03/03/silence-is-the-kpi-agents-that-do-not-talk/
1•changobot_dg•28m ago•0 comments

China is mass-producing hypersonic missiles for $99,000

https://kdwalmsley.substack.com/p/on-sale-now-china-is-mass-producing
29•zdw•28m ago•0 comments

RedSwarm Adversarial AI security scanner, one file, zero deps

https://github.com/beee003/redswarm
1•bee003•29m ago•1 comments

UK bans crypto donations to political parties in bid to curb foreign influence

https://apnews.com/article/uk-political-donations-cryptocurrency-ban-4deae8e71d664a042363fa79d617...
2•toomuchtodo•29m ago•1 comments

FairPhone: Industry First Nature Report

https://www.fairphone.com/stories/we-just-released-the-industrys-first-ever-nature-report
1•kruffalon•30m ago•1 comments

A lawyer won Anthropic's hackathon – what everyone missed

https://hadleylab.org/blogs/2026-03-22-the-lawyer-who-won/
2•idrdex•30m ago•1 comments

Creating Your First React Component Is Easy

https://www.youtube.com/watch?v=lVzYw35oRrk
1•stormsidali2001•31m ago•1 comments

Moon: The Lonely Life of a Man on the Moon

https://reactormag.com/moon-the-lonely-life-of-a-man-on-the-moon/
1•mindracer•31m ago•0 comments

Supreme Court rules ISPs aren't liable for subscribers' music piracy

https://www.engadget.com/entertainment/streaming/supreme-court-rules-isps-arent-liable-for-subscr...
6•zdw•32m ago•1 comments

Show HN: Whorl – Fingerprinting LLMs as horrible password generators

http://bountyplz.xyz/ai,/security/2026/03/15/Model-Fingerprinting-With-Whorl.html
1•tehryanx•33m ago•0 comments

Meta Lays Off 700 Employees, While Rewarding Top Executives

https://www.nytimes.com/2026/03/25/technology/meta-layoffs-ai-executives.html
4•nickvec•34m ago•3 comments

Sculpting Code

https://olshansky.info/posts/2026-03-25-sculpting-code
1•Olshansky•37m ago•0 comments

Daniel Stenberg – Emails

https://daniel.haxx.se/email/
1•leephillips•38m ago•0 comments