Core Storage & P2P Networking

This sub-specification outlines the functional requirements for Nube’s core storage capabilities, virtual filesystem presentation, and peer-to-peer transport layers.

Data Integrity & Deduplication

  • [FUNC-CORE-INTEGRITY]: Nube must ensure bit-perfect, mathematical verification of all ingested and transferred data. Every byte of content stored within the fabric must be cryptographic-hash-addressable.

  • [FUNC-CORE-DEDUPLICATION]: Nube must automatically detect and deduplicate redundant data at the chunk boundary when importing or updating files, optimizing local and network resources.

Filesystem Presentation & UI

  • [FUNC-FUSE-MOUNT]: Nube must expose a native OS directory path via a FUSE (Filesystem in Userspace) mount point. Any file operations performed in this directory (e.g., creation, modification, deletion) must be transparently tracked by the daemon.

  • [FUNC-WUI-BROWSER]: Nube must provide a rich, responsive graphical Web UI dashboard served locally to manage storage folders, check transfer progress, view connected peers, and inspect diagnostics.

P2P Networking & Data Syncing

  • [FUNC-P2P-DISCOVERY]: Nube must discover and route peers autonomously without relying on central trackers or servers. Peer discovery must operate over both local networks (LAN) and the public Internet (WAN).

  • [FUNC-SYNC-FABRIC]: Nube must maintain eventual consistency across configured folders, performing incremental syncing of directories and files over secure, peer-to-peer network connections.