mirror of
https://github.com/pawelorzech/MacTorn.git
synced 2026-01-29 19:54:27 +00:00
Native macOS menu bar app for monitoring your Torn game status - energy, nerve, travel, attacks, faction, and market watchlist
Introduces new models for status, chain, events, and messages in TornModels.swift, along with notification rules and sound options. Adds a SoundManager utility for playing notification sounds. Implements new SwiftUI components: ChainView, EventsView, and StatusBadgesView for displaying chain progress, recent events, and status badges. Updates app icon assets and Contents.json for proper macOS icon support. |
||
|---|---|---|
| MacTorn | ||
| .DS_Store | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
MacTorn
Menu bar companion for the Torn game on macOS. It polls the Torn API and surfaces your current bars, cooldowns, and travel status in a lightweight menu bar window.
Features
- Menu bar status window with energy, nerve, happy, and life bars.
- Cooldown timers for drug, medical, and booster.
- Travel status with remaining time and destination.
- Local notifications when bars fill, cooldowns end, or you land.
- Quick links grid for Torn pages with editable labels and URLs.
- Launch at login toggle.
Requirements
- macOS 13.0 or later.
- A Torn API key.
Setup
- Open the app and paste your Torn API key.
- Click "Save & Connect".
- (Optional) Enable "Launch at Login" and edit Quick Links.
Get an API key from https://www.torn.com/preferences.php#tab=api.
Build and Run
- Open
MacTorn/MacTorn.xcodeprojin Xcode. - Select the MacTorn scheme.
- Run the app (it appears in the menu bar).
Notes
- The app polls the Torn API every 30 seconds.
- Your API key and Quick Links are stored locally in
UserDefaults.