An open API service indexing awesome lists of open source software.

https://github.com/nad-bit/mino

A fast and lightweight macOS menu bar app to track GitHub releases. Features inline actions and Homebrew integration. Built entirely with Swift and AppKit, zero dependencies.
https://github.com/nad-bit/mino

appkit github-releases homebrew mac-app macos menubar no-dependencies swift

Last synced: 13 days ago
JSON representation

A fast and lightweight macOS menu bar app to track GitHub releases. Features inline actions and Homebrew integration. Built entirely with Swift and AppKit, zero dependencies.

Awesome Lists containing this project

README

          



Mino Logo


Mino


A lightweight, native macOS menu bar app to track GitHub releases with Homebrew integration. Built entirely with Swift and AppKit — no frameworks, no dependencies, no Xcode project required.



[![macOS](https://img.shields.io/badge/macOS-12.0+-000000?style=flat&logo=apple&logoColor=white)](https://apple.com/macos)
[![Swift](https://img.shields.io/badge/Swift-5.0+-FA7343?style=flat&logo=swift&logoColor=white)](https://swift.org)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

https://github.com/user-attachments/assets/3ca0d651-5059-4683-812f-c9f24b8aa8fc

## Features

- **👀 Menu Bar Integration**: Unobtrusive status bar icon with inline repository information
- **⚡️ Inline Actions**: Hover over any repository to reveal contextual action buttons with expanded, easy-to-click target areas — view release notes, open releases, install via Homebrew, or delete
- **🍺 Homebrew Integration**: Detects installed Casks automatically and enables one-click install/update directly from the menu (only shown if Homebrew is installed)
- **🧩 Integrated Search**: A sleek, centered search field built directly into the menu header for instant repository filtering.
- **🧠 Hybrid Quick Add**: Copy a GitHub repository URL, open the menu, and the header intelligently transforms into a "Quick Add" action. Bypass modal windows completely!
- **⏱ Tooltip Tracker**: The refresh countdown is hidden for a cleaner look — simply hover over the refresh icon to see the time remaining.
- **🎯 Multi-Hunt Window**: The floating "Add Repositories..." window acts as a persistent tracking hub. Keep it open while you browse Safari, and simply hit `CMD+C` on sequential GitHub URLs. Mino automatically sniffs your clipboard and queues them up for rapid batch-ingestion without ever losing focus.
- **📂 Quick Reveal**: After installing a Cask, the app reveals the application in Finder
- **🔐 Secure Token Storage**: GitHub Personal Access Tokens stored in macOS Keychain — never in plain text
- **★ Favorites**: Right-click any repository to mark it as a favorite. A gold ★ appears inline — toggles instantly without closing the menu.
- **🌍 Localized**: English, Spanish, French, German, Italian, Portuguese, Mandarin Chinese, Hindi, Arabic, Russian, and Japanese with automatic system detection
- **🔄 Auto-Start**: Launch at login via native macOS LaunchAgent
- **🎨 Light & Dark Mode**: Full support, including a forced-dark HUD panel for notifications

## Installation

### Prerequisites

- macOS 12.0+
- Xcode Command Line Tools (`xcode-select --install`)
- [Homebrew](https://brew.sh/) (optional, for Cask integration)

### Homebrew (Recommended)

```bash
brew install nad-bit/tap/mino
```

### Build from Source

```bash
git clone https://github.com/nad-bit/Mino.git
cd Mino/SwiftApp
chmod +x build.sh
./build.sh
```

The compiled app bundle will be at `build/Mino.app`. Move it to `/Applications` or run it directly:

```bash
open build/Mino.app
```

> **Note**: No Xcode project needed. The `build.sh` script compiles all Swift sources directly with `swiftc`.

> **Important**: If macOS blocks the compiled application from running (saying it's damaged or cannot be verified), remove the quarantine attribute by running:
> ```bash
> xattr -dr com.apple.quarantine /Applications/Mino.app
> ```

## Usage

### Adding Repositories

**Fastest Way (Hybrid Quick Add):**
1. Copy any GitHub repository URL to your clipboard.
2. Click the Mino menu bar icon. A **Quick Add** button will instantly appear at the top.
3. Click it. You're done.

**Multi-Hunt Way (Batch Processing):**
Click the `(+)` button in the menu to open the floating Window.
- Don't close the window! Keep it hovering on your screen.
- Go to your browser, copy a URL (`CMD+C`). Watch Mino automatically catch the link. Click the Add button.
- The window remains open and the text field clears. Cycle through your browser tabs, copying and adding rapidly.
- Includes a cute, animated visual confirmation (`paw swipe`) for successful additions.

**Standard Manual Input:**
- Enter `owner/repo` format (e.g., `microsoft/vscode`).
- Toggle the segment to Homebrew to select from your installed Casks.

### Menu Interface

Each repository displays its name, latest version, and time since release. Hover over a row to reveal action buttons aligned to the right:

| Button | Action |
|--------|--------|
| 📦 | Install/update via Homebrew (if available) |
| 📄 | View release notes |
| ↗ | Open releases page on GitHub |
| 🗑 | Remove from watch list |

Click the row itself to open the repository's main GitHub page.

Repos with a recent release show a **●** freshness indicator (green / orange / grey) before the name when the *New Release Indicator* option is enabled in Preferences. The threshold (1–30 days) is configurable.

Right-click any row to toggle a **★** favorite mark.

### Filtering
Simply start typing in the **Integrated Search** field at the top of the menu to filter your repository list in real-time. The search field is compact and accessible without extra clicks.

### Preferences

Accessible via the **Preferences** menu item:

| Option | Description |
|--------|-------------|
| **GitHub Account** | Connect via OAuth for 5,000 req/hr limit (vs 60/hr unauthenticated) |
| **Refresh Interval** | Slider: 1-24 hours between auto-checks |
| **Start at Login** | Toggle macOS LaunchAgent |
| **Show Owner Name** | Toggle `owner/` prefix in repo names |
| **New Release Indicator** | Toggle the ● freshness dot (Columns/Cards) or dynamic pill color (Tags) and configure threshold (1-30 days) |
| **Sort by** | Segmented control: Date or Name |
| **Menu layout** | Segmented control: Choose between 3 distinct UI arrangements (Columns, Cards, Tags) |
| **Compact Menu** | Toggle extreme density (shrinks rows from 22pt to 16pt) |

### System Permissions

Mino requires certain macOS permissions to function seamlessly:
- **Background Activity (Login Items)**: Required to allow the app to run persistently in the menu bar and start automatically when you log into your Mac.
- **App Management (Privacy & Security)**: Required because Mino executes background scripts (`brew reinstall`) that modify or install other applications inside your `/Applications` folder. macOS enforces this protection to prevent silent app tampering.

### Security

Your GitHub authentication token is stored securely in **macOS Keychain**:
- Encrypted, never saved in raw config files
- Visible in Keychain Access under "Mino"
- Uses GitHub's official Device Authorization Flow (OAuth)

## Configuration

Configuration is stored in:
```
~/.config/Mino/repos.json
```

> **Note**: Tokens are NOT stored in this file — they're in Keychain.

## Architecture

```
SwiftApp/
├── build.sh # One-step build script (no Xcode required)
└── Sources/
├── main.swift # App entry point
├── AppDelegate.swift # Menu bar, lifecycle, NSMenuDelegate
├── RepoMenuItemView.swift # Custom inline menu item with hover actions
├── SettingsWindowController.swift # Preferences window
├── ConfigManager.swift # JSON config + Keychain management
├── GitHubAPI.swift # GitHub REST API client
├── GitHubAuth.swift # GitHub Device Flow OAuth handling
├── HomebrewManager.swift # Homebrew Cask detection and installation
├── HUDPanel.swift # Floating notification panel
├── UIHandlers.swift # Dialogs and alert helpers
├── Models.swift # Data structures (RepoInfo, AppConfig)
├── Constants.swift # App-wide constants
├── Translations.swift # i18n (English, Spanish, French, German, Italian, Portuguese)
└── Utils.swift # Date formatting utilities
```

## License

This project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details.

## Credits

Built with pure Swift and AppKit. No external dependencies.