Skip to content
bakirgdevPublic

About

Unofficial native SwiftUI app for croc on iPhone, iPad and Mac: send files, folders and text to any device with a short code phrase. Free, open source and end-to-end encrypted.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Repository files navigation

CrocApp

Send files with a code phrase
A free, open-source native SwiftUI app for iPhone, iPad and Mac.

CI OpenSSF Scorecard OpenSSF Best Practices Latest release Platforms MIT License Website

What it is

CrocApp sends files, folders, and text between two devices anywhere in the world, end-to-end encrypted, using a short code phrase like apple-house-car. No account and no shared network needed.

It is a graphical front end for croc, the command-line file-transfer tool by Zack Scholl. CrocApp embeds croc's Go library rather than shelling out to the binary, so a code phrase from the croc CLI works in the app, and the reverse.

Note

CrocApp is unofficial and not affiliated with or endorsed by croc's author.

Download

Platform Where
iPhone, iPad, Mac (App Store) CrocApp on the App Store
Mac (Apple silicon only) CrocApp-<version>-arm64.dmg from GitHub Releases
Mac (Homebrew cask) Not available yet. Homebrew accepts a cask once the repo shows enough public interest: 225 stars, 90 watchers, or 90 forks. Starring the repo helps

The disk image is Developer ID signed, notarized, and updates itself through Sparkle (Check for Updates… in the app menu). Verify it with gh attestation verify <file> --repo bakirgdev/CrocApp (SECURITY.md). Install guide: crocapp.dev/docs/getting-started/install. To check a download, see Verify a release. Or build from source.

How it works

flowchart LR
    S["Sender<br/>CrocApp or croc CLI"]
    R["Other device<br/>CrocApp or croc CLI"]
    L(["Direct path<br/>same network"])
    X(["Relay<br/>ciphertext only"])

    S -- "code phrase, spoken or scanned" --> R
    S -- "preferred" --> L
    L --> R
    S -. "fallback" .-> X
    X -. "fallback" .-> R
Loading
  1. The sender picks files, a folder, or text.
  2. CrocApp shows a code phrase. Say it, message it, or show it as a QR code.
  3. The other device enters the phrase, previews the file list, and accepts.

Both devices run PAKE over the code phrase to derive a session key, so the phrase never crosses the network in the clear and the relay never learns the key. CrocApp tries the local network and the relay at once; on the same network the transfer goes direct.

Screenshots

CrocApp on macOS, ready to send: the code phrase, a Copy Code button, a QR code and a Share Link button.
macOS: send, with code phrase and QR
CrocApp on iOS showing an incoming transfer of three files with Decline and Accept buttons.
iOS: receive, preview then accept
CrocApp Settings on macOS General tab, showing the Exclude from sends, Confirmation and About sections.
macOS: settings, with exclude patterns and confirmation

Security and privacy

Transfers are end-to-end encrypted, the code phrase authenticates both devices (PAKE), and the relay only ever sees ciphertext.

Warning

Neither croc nor CrocApp has had a formal third-party security audit.

  • No accounts, analytics, ads, or tracking. The privacy policy lists every server the app can contact.
  • Transfer history stays on the device.
  • You can use your own croc relay instead of the default public ones.
  • Report vulnerabilities privately through GitHub Security Advisories, never in a public issue. See SECURITY.md. The threat model and trust boundaries are in docs/THREAT-MODEL.md.

Build from source

You need a Mac with macOS 26 or newer, Xcode and Go (exact versions).

git clone https://github.com/bakirgdev/CrocApp.git
cd CrocApp
scripts/build-xcframework.sh   # builds the Go engine into CrocKit/Croc.xcframework
open app/CrocApp.xcodeproj     # run the CrocApp scheme

Signing, tests and the transfer harnesses: docs/BUILDING.md.

More

Documentation (guides and the FAQ), CONTRIBUTING.md, CHANGELOG.md, the contributor docs and the threat model. Questions and ideas go to Discussions, and everyone follows the Code of Conduct. CrocApp has no paid tier; donations through GitHub Sponsors or Buy Me a Coffee are optional, and so is starring the repo.

Credits and license

  • croc by Zack Scholl, the transfer engine that makes this possible. MIT.
  • CrocApp by Bakir Gracić. MIT.
  • Projects that inspired CrocApp:
    • magic-wormhole: the original code-phrase transfer, and croc's own inspiration.
    • LocalSend: proof that a cross-platform transfer app can be genuinely pleasant to use.
    • croc-app: the Android client, and the best mobile reference for what a croc GUI should feel like.
    • crock: a desktop croc GUI, and where the QR deeplink idea comes from.
    • crocgui: the long-running cross-platform croc GUI.

About

Unofficial native SwiftUI app for croc on iPhone, iPad and Mac: send files, folders and text to any device with a short code phrase. Free, open source and end-to-end encrypted.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages