Skip to main content

🔐📁 FiNo - Secure File Sharing via IPFS + Nostr

FiNo (File + Nostr) is a decentralized, secure file sharing tool that combines IPFS storage with Nostr messaging for truly anonymous and censorship-resistant file transfers.

🌟 Features

  • 🔐 End-to-End Encryption: AES-256-GCM + ECDH key exchange
  • 🌐 Decentralized: No central servers, works globally
  • 🆓 Completely Free: No API keys, no registration required
  • ⚡ Real-Time: Instant file sharing via Nostr DMs
  • 🔒 Privacy-Focused: No central servers, no tracking
  • 🗜️ Smarter Transfers: Files are compressed (gzip) before encryption by default
  • 🎨 Beautiful CLI: Rich-powered output with panels, colors and emojis

🚀 Quick Start

1. Install FiNo

pip install pyfino

2. Install IPFS (one-time setup)

# macOS
brew install ipfs

# Linux
curl -O https://dist.ipfs.io/go-ipfs/v0.36.0/go-ipfs_v0.36.0_linux-amd64.tar.gz
tar -xvzf go-ipfs_v0.36.0_linux-amd64.tar.gz
sudo mv go-ipfs/ipfs /usr/local/bin/

# Windows
# Download from https://ipfs.io/docs/install/

3. Initialize IPFS (one-time setup)

ipfs init
sudo brew services start ipfs  # macOS
# or: ipfs daemon &  # Linux/Windows

4. Generate your keys

fino gen-key

5. Send a file

fino send document.pdf --to npub1abc... --from nsec1xyz...

6. Receive files

fino receive --from nsec1xyz...

7. Show version

fino --version

🤔 How It Works (ELI5)

The Problem

  • Traditional file sharing needs central servers (Google Drive, Dropbox)
  • These can be shut down, censored, or hacked
  • They know who you are and what you're sharing

The Solution

FiNo splits file sharing into two parts:

  1. 📁 File Storage (IPFS)

    • Files are stored on a global network (like a giant, distributed hard drive)
    • No single point of failure
    • Files are accessible from anywhere in the world
    • Free forever - no company owns it
  2. 📨 File Location (Nostr)

    • The "address" of your file is sent via Nostr (like a decentralized email)
    • Only the person you send it to can find the file
    • No central server controls the messages

Behavior & Defaults

  • Files are automatically compressed with gzip before encryption to reduce transfer size (media like .mp4/.jpg may not shrink).
  • IPFS announce (provider routing) is performed in the background to minimize blocking; global discoverability may take a few seconds after send.

How It's Free

  • IPFS: Community-run network, no company owns it
  • Nostr: Decentralized messaging protocol, no company owns it
  • No API keys: You're not using anyone's service
  • No registration: You're just using open protocols

🔐 Security Features

  • AES-256-GCM: Military-grade file encryption
  • ECDH: Perfect forward secrecy for metadata
  • Zero-knowledge: No one can see your files except the intended recipient
  • End-to-end encryption: Files encrypted before transmission
  • Compress-before-encrypt: Reduces plaintext patterns and metadata hints before encryption, and shrinks size for faster, cheaper transfers
  • Decentralized: No central point of failure

📦 Installation Details

Requirements

  • Python 3.8+
  • IPFS daemon
  • Internet connection

🚨 Important Notes

  • Experimental software - Use at your own risk
  • Keep your nsec private - Never share your private key
  • Backup your keys - If you lose them, you can't access your files
  • IPFS persistence - Files may be removed if not pinned by someone

⚡ Performance Tips

  • Start the IPFS daemon before sending to keep it "warm": ipfs daemon
  • Your sender upload speed is the main bottleneck for total time; compression helps most for text/JSON/CSV, not for videos/images/ZIPs.
  • Receivers may need a few seconds after you send for background DHT announce to propagate; if a fetch fails immediately, retry once.

📄 License

MIT License - see LICENSE file for details.


⚠️ Disclaimer: This is experimental software for innovation research only. Use responsibly and in accordance with local laws.

Metadata

Release files for pyfino 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfino 0.3.0
File Size Uploaded Provenance Actions
pyfino-0.3.0.tar.gz 18.6 kB Without provenance Details for pyfino-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfino 0.3.0
File Interpreter ABI Platform Actions
pyfino-0.3.0-py3-none-any.whl Python 3 none any Details for pyfino-0.3.0-py3-none-any.whl

Total release size: 38.2 kB

Release files / pyfino-0.3.0.tar.gz

Download URL pyfino-0.3.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
90584ff7aab59d9cee04036f43f790dbbc0a37da0f2030d259ced97062b42809
BLAKE2b-256 checksum
How to use checksums
4ea671fde996c6e3c549d114b9a310eb9e2c71c5e004a00403d3f037f453d967
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / pyfino-0.3.0-py3-none-any.whl

Download URL pyfino-0.3.0-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
790126e71fefe847029fff2c494395add130f73ad40eb33bd7d58e57acb40ad0
BLAKE2b-256 checksum
How to use checksums
ef098e8cdd6b0aabe65ee859b05f18153f5b7dd29669cb2cadfec07fba0bef2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for pyfino 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page