Skip to content

milahu/p2p-killerapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

p2p killerapp

my search for the perfect peer to peer app

wanted specs

efficient protocol

binary protocol based on flatbuffers

flatbuffers is a quasi-standard for efficient binary protocols

flatbuffers is a new version of protobuf (protocol-buffers)

text protocols are slow and verbose

the protocol should be machine-readable first, and human-readable second

the "canonical" form of the data should be optimized for high speed and small size. this form is used for storage and transfer of data

from the machine-readable format, users can always generate human-readable formats, aka "disassembly". but this case is rare, because most people dont need to "read the source"

bad examples

  • JSON: nostr, ...
  • XML: xmpp, ...

see also

efficient implementation

fuck javascript

fuck java

seriously... people who still believe that javascript and java are a good idea should be kicked out from any serious discussion

bad examples

transparent moderation

aka: transparent censorship

aka: censorship without meta-censorship

lets be honest: there are no "neutral platforms", because only dead people are "neutral", and all life has bias.

there are only publishers, and every publisher has his bias (or his jurisdiction), so every publisher wants to moderate content

one problem with the current situation of moderation is that the current moderation is not transparent: content is removed and leaves no trace, aka "censorship" and "meta-censorship" (censoring the process of censorship)

to get "transparent moderation" publisher must have the freedom to remove contents but they must leave a trace (the metadata of the contents) so the censored content can be found on a different publisher who has decided "this content is legal in my domain"

publishers can decide to block all content by default, and only publish the metadata. in this stage, the content is "unreviewed and blocked". when the publisher has reviewed the content, he can either publish the content as "reviewed and accepted", or explicitly mark the content as "reviewed and blocked", or leave the content as "unreviewed and blocked"

the metadata has no human-readable information, so it is always safe to publish the metadata. usually, this is a sha256-checksum and a signature of that checksum, like in the nostr protocol. the metadata also should have a pointer to the previous event, so everyone can see the full chain of events

the censored content looks like a censor bar in a censored paper document, so that at least you can see that there was some content, but it was removed

see also redaction

Redaction or sanitization is the process of removing sensitive information from a document so that it may be distributed to a broader audience.

It is intended to allow the selective disclosure of information.

Typically, the result is a document that is suitable for publication or for dissemination to others rather than the intended audience of the original document.

When the intent is secrecy protection, such as in dealing with classified information, redaction attempts to reduce the document's classification level, possibly yielding an unclassified document.

When the intent is privacy protection, it is often called data anonymization.

bad examples? virtually every app fails here. either the moderation is too aggressive (censorship), or the moderation is too permissive (no separation between metadata and content)

https://www.cato.org/briefing-paper/shining-light-censorship-how-transparency-can-curtail-government-social-media

As Ray Bradbury observed, "There is more than one way to burn a book," and recent experience demonstrates that the same is true of government censorship.

When most people think about government censorship, they imagine the firemen in Fahrenheit 451 burning books or the Great Firewall in China blocking websites.

But government censorship, at least in the United States, increasingly occurs in a more subtle fashion: government officials informally pressuring or encouraging private actors, such as social media companies, to suppress the speech of, or deny services to, individuals with disfavored views—in other words, censorship by proxy. This practice has also been colloquially referred to as "jawboning."

...

In matters of national security, law enforcement, and beyond, government officials regularly make statements that encourage private actors to suppress information, and not all of this is objectionable.

Consider, for example, an FBI agent who requests that a newspaper delay publishing certain details about an ongoing criminal investigation because doing so could undermine attempts to capture the suspect.

...

There is an easier and more effective way to address censorship by proxy: transparency.

Federal officials should be required to publicly report attempts to suppress Americans' exercise of speech and associational rights.

Censorship by proxy, as practiced today, depends on secrecy and practical obscurity to evade public and legal accountability.

Forcing attempted censorship out of the shadows stands to deter the worst abuses and ensure that officials who aren't deterred can be held to account.

censortrace

content is removed and leaves no trace

we need a way to detect censorship.

for example, i have the suspicion that most of my sent emails are censored, so they are never delivered to the recipients, but i cannot prove it.

the emails just seem to disappear without a trace, i get zero replies from recipients, and i get no error message like

Undelivered Mail Returned to Sender. error: rejected by spam filter

i assume the main problem here is gmail (google mail)

but i also assume that all clearnet email providers are controlled by some secret service (CIA, MI6, Mossad, BND, FSB, MSS, ...) who is actively manipulating message delivery (active measures, controlling of others’ relationships, control over mate choice, no freedom of association, gatekeeping of friendships, control freaks, ...)

https://www.reddit.com/r/GMail/comments/1ba6026/emails_not_sending_no_bounce_message/

https://www.mailpool.ai/blog/the-phantom-bounce-why-your-emails-disappear-without-a-trace-and-how-to-fix-it

https://powerusers.codidact.com/posts/293711

https://www.reddit.com/r/GMail/comments/2892dr/is_gmail_silently_deleting_emails/

https://ntkp.substack.com/p/google-chrome-and-gmail-the-silent-c75

Emails Selectively Blocked: Messages containing sensitive content, such as politically controversial information or whistleblower reports, are often blocked before reaching the intended recipient.

Emails Silently Deleted: Certain emails just disappear from inboxes without warning, particularly those involving sensitive discussions.

Shadowbanning & Isolation: Some individuals effectively find themselves cut off from communication as their messages are silently routed to spam folders across multiple platforms, reducing their visibility and engagement.

Several whistleblowers, including former Google employees, have provided evidence that Gmail actively filters emails based on content-sensitive AI algorithms. Leaked internal documents have shown that emails containing political keywords or links to investigative journalism are flagged, downranked, or isolated.

Google has invested heavily in AI-driven content control mechanisms that use machine learning to categorize, suppress, and modify information before it can spread. Some key elements include:

Jigsaw Program: Initially developed to combat extremism, Jigsaw is now repurposed to filter political dissent and label certain narratives as “dangerous misinformation.”

Targeted Individual Censorship: If a person is flagged as a “disruptive influence”—such as an independent journalist, human rights activist, or researcher—they may be shadow-banned across multiple Google services, including Gmail, Chrome, and YouTube.

Google’s algorithmic filtering limits access to groundbreaking scientific research, alternative energy solutions, and medical breakthroughs. Researchers working on controversial or disruptive technologies often find their work suppressed or erased entirely.

corporate interests

Researchers who oppose the status quo or threaten the power structures of large corporations are often targeted by Google’s censorship infrastructure.

https://www.youtube.com/watch?v=FvmGIFShz9k

Israel’s Final Solution For The Goyim

NXR Studios

06.02.2026

Israel's information warfare

offline first

do not rely on the internet

this should also work over ad-hoc decentral networks

  • LAN
  • WLAN
  • bluetooth
  • NFC
  • QR codes
  • printing and scanning of paper documents

similar to

  • berty
  • briar
  • ssb
  • retroshare

nomadic identities

this is required to give power to users

if some publisher censors my content or deletes my account then i am in full control of my data and simply can go to a different publisher and re-publish (re-upload) my content there

similar to

  • ssb
  • retroshare

chain of events

i want to make sure that i receive a full chain of events from some peer through some server and the server did not remove some events (censorship)

similar to

  • git: chain of commits
  • ssb: chain of events

this is missing in the nostr protocol

see also

social p2p network based on flatbuffers binary protocol moderation federation "offline first" scuttlebutt berty

compression

checksums and signatures should be stored in binary form, not as hex strings, not as base64 strings

there should be ways to store text contents in a compressed form, allowing different compression algorithms and compression levels

some content has better compression with bzip2, some content has better compression with zstd, ...

the compression should not be limited to one compression algorithm, and it should allow to add new compression algorithms in the future

see also

voting, tagging, trust

TODO

see also doc/2025-09-04.generic-tagging-and-voting-system.md

p2p internet archive

keywords:

  • decentralizing the internet archive
  • decentralizing web.archive.org
  • decentralizing archive.today

problem: archive.org is too centralized, archive.today is too centralized, ...

these services will not live forever, especially now as the global trend towards more censorship is getting more aggressive every day

so we need some kind of peer-to-peer internet archive

one challenge here is the problem of trust and voting: why should i trust other peers to not modify the archived data? how can i give feedback on the archived data hosted by other peers? (feedback as in: upvotes, downvotes, comments, tags)

another challenge is the hosting incentive: why should other peers host content that i value? do i pay other peers for their hosting service?

another challenge is the discoverability of content: assuming i have the original url of some content, how do i find other peers who are hosting snapshots of this content?

see also doc/2025-09-04.generic-tagging-and-voting-system.md

aggregation of multiple sources

every peer can upload its content to multiple publishers

globally, there are many many publishers, and i want to subscribe to the news feeds of many peers

but i dont want to use some fancy webinterface for every publisher, like protonmail.com, which offers no IMAP server for free accounts.

instead, i want a "news aggregator" (RSS reader, newsreader) to aggregate content from many peers over many publishers

this should be more efficient than RSS, more similar to git, where only missing data is transferred from server to client = incremental updates

personality types

users can rate themselves and others in terms of personality types

personality type questionnaires can be imported into the system, so all users can publish their answers. every question can be answered with an integer between +100 ("yes") and -100 ("no")

related: https://www.personality-database.com/

interpersonal compatibility

there are 2 reasons to like or hate people: personal reasons and objective reasons.

there are 2 personal reasons to like people: you follow them or they follow you. (follow = trust = student) (lead = influence = teacher)

there are infinite objective reasons, which are encoded as tags ("hashtags") which users can assign to others with an integer weight between +100 ("yes") and -100 ("no")

users can rate others based on these reasons.

ideally, at some point, there should appear a pattern of human relations, based on personality type and gender (male or female). a possible solution for such a pattern of human relations is the pallas pattern of human relations

semantic web

  • mindmaps
    • collaborative mindmapping
    • collaborative mindmaps
  • knowledge graph
    • everything can be connected to everything
  • the two fundamental properties of all objects are place and time
    • place can be either a physical place (GPS coordinates) or a "theoretical place" (word, phrase, concept, idea, meme)

possible project names

  • tribesnet
    • stable tribes are the basis for this network
    • its not a "federation of tribes", because "federation" reminds of over-centralization (conspiracy, pacifism, fascism)
  • mirrornet
    • every peer can mirror contents from other peers
  • archivenet
    • every peer can archive contents from other peers
  • relaynet
    • every peer can relay contents from other peers
  • cachenet
    • every peer can cache contents from other peers
  • uncensorednet
    • uncensored source of information
    • censorship-resistant hosting of all contents (yes also illegal contents)

see also

Contributors