Skip to content
NiightGamezPublic

About

NullPoint is a decentralized, serverless peer-to-peer (P2P) communication platform built with Tauri v2, Rust, and React.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

NullPoint Emblem

NullPoint

Zero-server, privacy-first P2P communication platform powered by embedded Tor v3 (arti), iroh QUIC, and a local Argon2id + ChaCha20-Poly1305 cryptographic vault.

Current Release: v0.2.2 • License: AGPL-3.0-or-later


NullPoint is a cross-platform (Linux & Windows) decentralized chat and community platform inspired by Discord and TeamSpeak—engineered to run without central login servers, hosted account databases, or third-party relays. Your machine is your cryptographic node: private 1:1 Direct Messages and Ghost Decks route inside embedded Tor v3 (Arti) onion circuits with zero clearnet DNS leaks, while Live Decks use authenticated iroh QUIC streams for low-latency room sync (with an explicit Zero-DNS toggle and clear IP-visibility telemetry).


Core Values & Architecture Principles

  • Zero Central Infrastructure: No corporate servers, phone-number/email verification, telemetry pipelines, or central directories. Accounts exist strictly inside your encrypted local vault (vault.db).
  • Fail-Closed Anonymity & No Clearnet Leaks:
    • Embedded Arti Tor v3 runs natively in-process—never shelling out to system Tor or leaking clearnet DNS.
    • Link previews (fetch_link_preview) are fetched exclusively over Tor circuits with SSRF/private-IP blocking, a 3-second timeout, and a 512 KB read cap—and fail closed rather than ever falling back to host OS DNS/HTTP.
    • Strict Zero-DNS iroh Mode prevents Live Decks from touching clearnet DNS/Pkarr discovery unless explicitly opted out by the user.
  • Explicit Privacy Transparency: NullPoint visibly distinguishes Ghost Decks (IP-hidden Tor v3 .onion) from Live Decks (direct peer-to-peer QUIC where your IP can be visible to room peers) so users never confuse low-latency transport with Tor anonymity.
  • Self-Sovereign Cryptographic Identity: Every user identity is a deterministic Ed25519 master keypair backed by Argon2id + ChaCha20-Poly1305 local encryption and portable multi-tier recovery.
  • Community-Safe Decentralization: Room owners retain signed, host-enforced roles, timeouts, kicks, and persistent Ed25519 bans without handing moderation authority to any central platform.

AI Inclusion & Transparency

  • Zero Cloud AI / Zero Chat Telemetry Inside the Client: NullPoint does not route your messages, contacts, keys, or metadata through external LLM APIs, cloud analytics, or remote inference services. Everything inside the running application stays local or inside your encrypted P2P/Tor sessions.
  • AI-Assisted Engineering Disclosure: NullPoint is designed, directed, and reviewed by its human maintainer alongside AI coding assistants for rapid Rust/TypeScript prototyping, refactoring, and automated test generation. All cryptographic boundaries, transport fail-closed guarantees, and protocol decisions are verified in source and unit tests.
  • Future AI Philosophy (Strict Local-Only Opt-In): If AI utilities (e.g., message translation, local thread summaries, or offline spam triage) are ever introduced later, they will remain strictly opt-in, local/on-device only, and completely isolated from network egress.

Working Features (v0.2.2)

Identity, Vault & Recovery

  • Argon2id + ChaCha20-Poly1305 Local Vault (vault.db): Bundled SQLite vault (rusqlite) storing your Ed25519 identity, contacts, channels, messages, and outbox encrypted at rest.
  • Deterministic Tor v3 .onion Identity: Automatically derives a persistent 56-character .onion hidden service keypair (HsIdKeypair) deterministically from your Ed25519 seed, with isolated per-instance Arti state/cache directories (0700).
  • 3-Tier Account Backup & Recovery: Export encrypted portable .npkey backup kits, 1-click Password Manager integration (1Password op CLI or universal Bitwarden/1Password/KeePassXC .csv), offline 12-word BIP39 mnemonic phrase recovery, and opt-in OS Keyring auto-unlock (keyring).

1:1 Direct Messaging & Friend System

  • Embedded Tor v3 Direct Messages: Native Rust arti-client 0.47 rendezvous circuits with nested stream negotiation, u32-length-prefixed JSON framing, Ed25519 signature verification, persisted SQLite outbox queue, and automatic background retry.
  • Signed 3-State Friend Handshakes: Explicit pending_outgoing, incoming_request, and accepted peer lifecycle with cryptographically signed friend_request, friend_accept, and friend_deny packets.
  • Encrypted Blind Deck Mailbox Fallback: When a friend's Tor DM service is unreachable, senders can seal DMs using X25519 + ChaCha20-Poly1305 into a shared Deck host's blind mailbox (mailbox_drop / mailbox_fetch), with automatic client decryption and server-side deletion on pickup + 7-day TTL cleanup.

Dual-Mode Decentralized Decks (Servers & Channels)

  • Ghost Decks (nullpoint-deck://ghost/... — IP-Hidden Tor v3): Each Ghost Deck launches a dedicated Tor v3 hidden service (RunningOnionService kept alive in background tasks with ipt_mgr/publisher status monitoring), generous 60-second circuit/descriptor join timeout, and automatic retries on transient ObtainHsCircuit / descriptor lookup errors.
  • Live Decks (nullpoint-deck://live/... — iroh QUIC P2P): Fast iroh v1 QUIC streaming with embedded ?addr= endpoint address tickets, configurable Zero-DNS Strict Mode (strict_no_dns_iroh), and visible room privacy warnings.
  • Edit, Delete & Leave Decks: Hosts can rename Decks, edit descriptions/MOTD, add/rename/remove channels (with signed DeckMetadataUpdate broadcasts), or permanently delete a Deck (DeckDeleted); peers can cleanly leave Decks.
  • Headless Daemon Hosting Mode (--headless): Spin up standalone CLI/VPS Deck hosts (--create-deck <name> [--ghost], --host) without a GUI window.

Cryptographic Moderation & Rich Messaging

  • Signed Wire Frames: Ed25519 signatures verified on incoming Deck actions (AuthSubscribe, PostMessage, AddChannel, SetRole, ModAction, DeleteMessage, ToggleReaction, MailboxDrop, MailboxFetch) and host moderation/metadata broadcasts.
  • Roles, Kick, Persistent Ban & Timeout: Hierarchical roles (owner, admin, mod, member) enforced on the Deck host. Kicking or banning immediately removes the peer from the roster, closes their live stream, persists bans to banned_pubkeys (DECK_BANNED / DECK_KICKED rejection), lets moderators unban keys, and locks the client composer UI with a revocation banner.
  • Rich Messages & Fail-Closed Tor Link Previews: Quote replies (reply_to_id), live emoji reactions (deck_reactions), 500-message ring buffer + 7-day TTL pruning with orphan reaction cleanup, and Tor-only OpenGraph URL previews.

Desktop Experience, Cross-Platform & Diagnostics

  • Background System Tray & Autostart: Native tray icon ("Open NullPoint" / "Quit NullPoint"), close-to-tray persistence so Tor hidden services stay online, --minimized tray startup flag, and OS login autostart toggle (tauri-plugin-autostart).
  • Cross-Platform Linux & Windows Support: Linux XDG desktop/hicolor integration + .AppImage/.deb bundles alongside native Windows support (WebView2, Windows Credential Manager via windows-native-keyring-store, %APPDATA%/%LOCALAPPDATA% paths, and .exe NSIS installer via GitHub Actions).
  • Obsidian Cyberdeck UI: Custom NullPoint circular emblem across window/taskbar, system tray, loading splash, login/vault unlock screen, and header; native OS notifications with DND/keyword filters; verified [DEV] badge pinning; dynamic version telemetry (v0.2.2); and multi-instance local testing (PORT env + ephemeral UDP bind fallback).

Roadmap — What We Want to Add Next

  • E2EE Real-Time Voice, Video & Screen Sharing: Peer-to-peer WebRTC/QUIC voice channels, push-to-talk, noise suppression, camera streams, and hardware-accelerated screen sharing over authenticated Live Decks.
  • Encrypted Media & File Sharing: Chunked E2EE image/file attachments over Tor streams (for DMs/Ghost Decks) and iroh QUIC streams (for Live Decks), with explicit preview/download consent and automatic EXIF metadata stripping.
  • Multi-Device Identity Linking: Cryptographically delegated device subkeys with revocable per-device sessions so one identity can sync cleanly across multiple machines.
  • Federated Friend Blind Mailboxes: Distributed encrypted offline mailbox caching across mutually trusted accepted friends when no shared Deck host is online.
  • Mobile Support & Hardware Key Vault Unlock: Android/iOS builds via Tauri v2 Mobile and optional FIDO2 / YubiKey / biometric vault unlocking.
  • Optional Strictly Local On-Device AI Helpers: User-opt-in, zero-network-egress on-device tools (local translation or thread recap) without any external API dependencies.
  • Signed Releases & Automated Package Publishing: Code-signed Windows NSIS .exe installers, .AppImage / .deb releases, and automated checksum sync for the Arch AUR (nullpoint-bin) package.

Tech Stack

  • Desktop & Daemon Runtime: Tauri v2 (tauri, tauri-plugin-autostart, tauri-plugin-notification)
  • Backend & Networking: Rust (Edition 2024), Tokio, arti-client 0.47 (Tor v3), tor-hsservice / tor-hscrypto, iroh 1 (QUIC P2P), tokio-rustls
  • Cryptography & Storage: ed25519-dalek, x25519-dalek, argon2, chacha20poly1305, bip39, zeroize, rusqlite 0.36 (bundled SQLite), keyring
  • Frontend: React 19, TypeScript, Tailwind CSS v4, Vite

Getting Started

System Prerequisites

  • Debian / Ubuntu (Linux):
    sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
  • Arch Linux:
    sudo pacman -S --needed webkit2gtk-4.1 base-devel curl wget openssl gtk3 libayatana-appindicator librsvg
  • Windows 10 / 11:
    • Install Rust (rustup), Node.js LTS, and Microsoft C++ Build Tools (Desktop development with C++ workload). WebView2 is pre-installed on Windows 10/11.

Local Development, Testing & Production Build

  1. Install frontend dependencies:
    npm install
  2. Start the desktop app in development mode:
    npm run tauri dev
  3. Run verification checks:
    cargo check --manifest-path src-tauri/Cargo.toml
    cargo test --offline --manifest-path src-tauri/Cargo.toml
    npm run build
  4. Build release bundles:
    • Linux (.AppImage & .deb):
      npm run build && npm run tauri build
    • Windows (.exe NSIS installer):
      npm run build
      npm run tauri build -- --bundles nsis

License

This project is licensed under the GNU Affero General Public License v3 (AGPLv3) — see LICENSE for details.

Copyleft & Distribution Terms

  • Source Disclosure: Any party modifying this software or offering it over a network must provide their complete source code under the identical AGPLv3 license.
  • Brand Protection: The "NullPoint" name, logos (nullpoint_icon.jpg / public/nullpoint-icon.png), and UI assets are proprietary. Independent forks or redistributions must be rebranded and cannot use the official project identity.

About

NullPoint is a decentralized, serverless peer-to-peer (P2P) communication platform built with Tauri v2, Rust, and React.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages