Skip to content

mariyancholakov/pync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pync

Peer-to-peer encrypted secrets for developer teams

No cloud. No server. Secrets never leave your device unencrypted.

Built at HackUPC 2026 Pear Protocol JetBrains Plugin

The Problem

Teams share secrets over Slack DMs, cloud vaults, or .env files in shared drives. All of these are either plaintext, centralized, or both.

The Solution

pync encrypts secrets on your device (AES-256-GCM) and syncs them directly between teammates over the Pear/Holepunch P2P protocol. No server ever sees your plaintext.

                ┌──────────────────┐
                │  IntelliJ Plugin │
                └────────┬─────────┘
                         │
                ┌────────▼─────────┐
                │     Sidecar      │
                └────────┬─────────┘
                         │
                ┌────────▼─────────┐
                │    PyncCore +    │
                │   AES-256-GCM   │
                └────────┬─────────┘
                         │
                ┌────────▼─────────┐
                │  Hyperswarm P2P  │
                └───┬──────────┬───┘
                    │          │
           ┌────────▼───┐  ┌──▼───────────┐
           │ Teammates  │  │ Relay        │
           │            │  │ pync.nyc     │
           └────────────┘  └──────────────┘

Features

Feature Description
E2E Encryption AES-256-GCM with HKDF-derived keys
Realtime sync Change a secret — teammates see it instantly
Offline support Missed changes replay automatically on reconnect
IntelliJ plugin Add/edit/delete secrets, reveal/hide, copy, export .env
CLI pync set DB_URL postgres://... from the terminal
No central server The relay is just a peer — remove it and everything still works
Auto .env sync Secrets write to your .env files as they change

Getting Started

Install the Plugin

  1. Download pync-plugin-1.0.0.zip
  2. IntelliJ → SettingsPluginsGear iconInstall Plugin from Disk...
  3. Select the zip, restart, find Pync in the right sidebar

Usage

  1. Create a workspace — click Create Workspace, enter a room name and passphrase
  2. Share the topic key — click Copy Workspace Key in the toolbar, send it to your team
  3. Teammates join — they click Join Workspace, paste the key, enter the same passphrase
  4. Add secrets — click +, enter key and value (e.g. DB_URL = postgres://prod:5432)
  5. Edit / Delete — select a secret, click Edit or Delete in the toolbar
  6. Copy a value — click the copy icon on any secret card
  7. Export .env — click Export .env to write all secrets to a .env file
  8. Reveal / Hide — click the eye icon on any secret to toggle visibility

All changes sync instantly to every connected teammate.

Security

  • AES-256-GCM encryption via sodium-native
  • HKDF key derivation from passphrase + room name
  • Random 12-byte nonce per secret
  • Relay has zero knowledge — only sees encrypted blobs, never has the passphrase

Tech Stack

Hyperswarm · Autobase · Hyperbee · sodium-native · IntelliJ Platform SDK · Cloudflare Tunnel

Testing

node test/integration.js   # 12 end-to-end tests

Built at HackUPC 2026 in Barcelona

About

pync - is a peer-to-peer secret management system for developers. Share API keys, database credentials, and environment variables directly with teammates — encrypted on-device, never touching a centralized server. No cloud breach can compromise your secrets because there's no cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors