Files
bitchat/Frameworks/README.md
T
jack 37d655d065 feat(tor): Tor-by-default scaffold and integration
- Add TorManager with static/dlopen start, torrc generation, SOCKS probe
- Add TorURLSession; route Nostr/Web fetches via SOCKS proxy
- Add chat system messages for Tor status; show progress (macOS) and ready
- Disable ControlPort bootstrap monitor on iOS; keep it on macOS
- Make Tor waits non-blocking; avoid main-actor stalls on startup
- Queue & flush Nostr subscriptions on relay connect; skip duplicates
- Always rewrite torrc at launch to fix iOS container path mismatches
- Link libz; add project wiring for tor-nolzma.xcframework
- Minor fixes: SOCKS probe resumeOnce guard, entitlement for network.server (macOS)
2025-09-07 13:52:07 +02:00

646 B

Place Tor.xcframework here

Instructions

  • Obtain a prebuilt Tor Apple xcframework (iCepa/Onion Browser lineage) or build your own minimal client-only Tor.
  • Rename it (if needed) to Tor.xcframework and drop it in this Frameworks/ directory.
  • Regenerate the Xcode project if you use XcodeGen (project.yml already references Frameworks/Tor.xcframework).
  • Build the app; TorManager will automatically bootstrap Tor and route all networking through it.

Notes

  • For iOS, the framework will be embedded and code-signed automatically.
  • For macOS, it will be linked and embedded as well (you may prefer a system tor for smaller bundles).