This guide explains how to distribute EyeBreak so others can easily install and use it.
- GitHub Account: Create a repository at
https://github.com/YOUR_USERNAME/lookaway - macOS Development: Xcode installed on your Mac
- (Optional) Apple Developer Account: For code signing and notarization ($99/year)
# Initialize git if not already done
cd /path/to/eyebreak
git init
git add .
git commit -m "Initial release of EyeBreak v1.0.0"
# Create GitHub repo and push
# (Replace YOUR_USERNAME with your actual GitHub username)
git remote add origin https://github.com/YOUR_USERNAME/lookaway.git
git branch -M main
git push -u origin main# Run the build script
./build_release.sh
# This creates:
# - Build/Export/EyeBreak.app (the application)
# - Build/EyeBreak-v1.0.0.dmg (installer)
# - Build/EyeBreak.zip (for Homebrew)- Go to your GitHub repository
- Click "Releases" → "Create a new release"
- Tag:
v1.0.0 - Title:
EyeBreak v1.0.0 - Description: Copy from CHANGELOG.md
- Upload files:
Build/EyeBreak-v1.0.0.dmgBuild/EyeBreak.zip
- Click "Publish release"
- Edit
INSTALLATION.mdand replaceYOUR_USERNAMEwith your GitHub username - Edit
Casks/eyebreak.rband replaceYOUR_USERNAMEwith your GitHub username - Commit and push changes
What users do:
- Go to your releases page:
https://github.com/YOUR_USERNAME/lookaway/releases - Download
EyeBreak-v1.0.0.dmg - Open DMG, drag app to Applications
- Done! ✅
Pros:
- No technical knowledge required
- Works immediately
- Most familiar to Mac users
Cons:
- Manual updates (users must check for new versions)
Setup (One-time):
-
Create a Homebrew tap repository:
# Create new repo on GitHub: homebrew-eyebreak git clone https://github.com/YOUR_USERNAME/homebrew-eyebreak.git cd homebrew-eyebreak mkdir Casks cp /path/to/lookaway/Casks/eyebreak.rb Casks/ git add Casks/eyebreak.rb git commit -m "Add EyeBreak cask" git push
-
Users can now install with:
brew tap YOUR_USERNAME/eyebreak brew install --cask eyebreak
Pros:
- Easy updates:
brew upgrade eyebreak - Automated installation
- Popular among developers
Cons:
- Requires Homebrew installed
- More setup work for you
Requirements:
- Apple Developer Program ($99/year)
- App notarization and code signing
- App Store review process
Not recommended for free open-source apps due to cost and complexity.
Without code signing, users will see a warning: "EyeBreak is from an unidentified developer"
The build script already does this automatically. Users can still open the app by:
- Right-click → Open
- Or System Settings → Privacy & Security → "Open Anyway"
If you want to remove warnings completely:
- Join Apple Developer Program ($99/year)
- Get a Developer ID certificate
- Update build script with your certificate:
CODE_SIGN_IDENTITY="Developer ID Application: Your Name (TEAMID)" - Notarize the app (required for macOS 10.15+)
When releasing a new version:
- Update version in
Info.plist - Update
CHANGELOG.md - Run
./build_release.sh - Create new GitHub release with new tag (e.g.,
v1.0.1) - Upload new DMG and ZIP
- Update Homebrew cask with new version and SHA256:
shasum -a 256 Build/EyeBreak.zip
-
Primary: GitHub Releases with DMG file
- Most users can download and use immediately
- Include clear instructions in README.md
-
Secondary: Homebrew Cask
- For developer users who prefer CLI
- Easy to set up and maintain
-
Optional: Build from source
- For advanced users and contributors
- Include clear build instructions
lookaway/
├── README.md (Overview, features, quick start)
├── INSTALLATION.md (Detailed installation guide)
├── CHANGELOG.md (Version history)
├── DISTRIBUTION.md (This file)
├── LICENSE (MIT or similar open-source license)
├── build_release.sh (Build script)
├── Casks/
│ └── eyebreak.rb (Homebrew formula)
└── .github/
└── workflows/
└── release.yml (Optional: Auto-build on release)
# EyeBreak 👁️
A free, open-source macOS app to help you take care of your eyes.
## ✨ Features
- 20-20-20 rule reminders
- Animated eye exercises
- Ambient reminders while working
- Customizable schedules
## 📥 Installation
### Download (Recommended)
1. Download [EyeBreak.dmg](releases/latest)
2. Open and drag to Applications
3. Open EyeBreak and grant permissions
### Homebrew
\`\`\`bash
brew tap YOUR_USERNAME/eyebreak
brew install --cask eyebreak
\`\`\`
See [INSTALLATION.md](INSTALLATION.md) for more options.
## 🖼️ Screenshots
[Add screenshots here]
## ⌨️ Keyboard Shortcuts
- ⌘⇧S - Start timer
- ⌘⇧B - Take break now
- ⌘⇧R - Show reminder
## 🤝 Contributing
Pull requests are welcome!
## 📄 License
MIT License - Free to use and modify
## ❤️ Support
If you like EyeBreak, please star ⭐ the repo!"cannot be opened because the developer cannot be verified"
- This is normal for unsigned apps
- Users can right-click → Open, or go to System Settings → Privacy & Security
Homebrew cask fails
- Make sure the ZIP file is publicly accessible
- Update SHA256 hash in
eyebreak.rb - Test with
brew install --cask --debug eyebreak
Build fails
- Ensure Xcode Command Line Tools are installed:
xcode-select --install - Check macOS version compatibility
- Create GitHub Issues for bug reports
- Add Discussions for questions
- Include System Info: macOS version, EyeBreak version
Your app is now ready for the world to use for free! 🚀