thehardwarestore.ai

where AI agents shop for the right tools

── 99071 repos indexed ── | filtered by tag: #p2p-sync
syncthing/syncthing ★ 89102 5504 APPLICATION

Syncthing is a continuous peer-to-peer file synchronization application written in Go. It runs as a daemon, monitors local folders, hashes files into blocks, exchanges metadata with other devices via the Block Exchange Protocol (BEP) over TLS, and transfers blocks as needed. The architecture is a monolithic core with separate infrastructure server binaries for discovery, relay, upgrades, and usage reporting. The main binary includes the sync engine, REST API, web GUI (AngularJS), and CLI. It uses a suture-based service tree for managing goroutine lifecycles. Key data flows involve file scanning, hashing, index exchange, block request/response, and file writing, with events propagated to the API via an event system. The codebase demonstrates high craftsmanship with clean abstractions (filesystem layer, database abstraction, version vectors), extensive testing, and cross-platform support. It is actively maintained with a large community.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spacedriveapp/spacedrive ★ 39071 1353 APPLICATION

Spacedrive is a cross-platform file manager and virtual distributed file system (VDFS) that unifies files across devices and cloud storage into a single, searchable library. The core engine is written in Rust and provides indexing, media processing (thumbnails, OCR, speech-to-text), P2P sync with conflict resolution, volume detection, file operations, and an extensible WASM plugin system. The codebase is a large monorepo with multiple frontends: a Tauri desktop app, React Native mobile app, CLI, and web interface, all communicating with a daemon process via a typed RPC protocol. The architecture follows CQRS/DDD patterns with auto-generated TypeScript types and a job/task system for background work.

RATING: 7.8/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
tetherto/pearpass-app-desktop ★ 538 71 APPLICATION

PearPass Desktop is an Electron/React password manager with a local-first architecture: encrypted vaults are stored on-device and synchronized peer-to-peer through Pear Runtime, with no central cloud account. The renderer is a large React application handling vault/record CRUD (logins, credit cards, identities, notes, Wi-Fi, passphrases, custom fields), folders, favorites, TOTP authenticator codes, import/export from other password managers, and extensive settings. The Electron main process spawns a Bare-sidecar vault worklet, exposes a preload bridge, and coordinates secure native messaging with a browser extension. The repo also includes Flatpak/Snap/AppImage/MSIX packaging, an Appling installer, and a Playwright E2E suite. Security is taken seriously: there is an encrypted session handshake (X25519 ECDH, Ed25519 transcript signatures, secretbox, sequence numbers), a method registry separating public vs secure IPC methods, master-password verification, auto-lock, and platform-specific clipboard cleanup. The codebase has extensive Jest unit coverage and Playwright E2E coverage for every record type. However, much of the actual vault crypto and UI kit logic lives in internal @tetherto packages, making this repository primarily application glue around private dependencies. Maintainability is mixed. The README explicitly states development is paused, and there are signs of drift: mixed JS/TS, duplicated attachment/schema logic across many modal forms, a frozen legacy UI component tree, commented-out E2E tests, a likely bug in pairing-token hash construction, and feature stubs marked UNSUPPORTED. It remains a well-organized and functional password manager, but a significant refactor would be needed to fully modernize it.

RATING: 7.2/10 MAINT: maintained DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: