mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 18:05:19 +00:00
- 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)
13 lines
646 B
Markdown
13 lines
646 B
Markdown
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).
|
|
|