A cross-platform browser extension that adds an "Open with Fork" button to GitHub repository pages, allowing you to quickly open repositories in the Fork Git client application.
Supported Browsers:
- ✅ Chrome (Manifest V3)
- ✅ Safari (Manifest V2)
- Adds "Open with Fork" option to GitHub repository "Code" button dropdown menu
- Automatically opens the current repository in Fork application when clicked
- Cross-platform support for Chrome and Safari browsers
- Lightweight with minimal permissions required
- Navigate to any GitHub repository page
- Click the green "Code" button
- Find the "Open with Fork" option in the dropdown menu
- Click to open the repository in Fork application
Make sure you have the Fork Git client installed on your system.
# Install dependencies
npm installnpm run build:chromenpm run build:safariAll built files will be output to the dist folder.
npm run build:chrome- Open Chrome browser
- Navigate to
chrome://extensions/ - Enable "Developer mode" in the top right corner
- Click "Load unpacked"
- Select the project's
distfolder
The extension will be automatically enabled after loading. You can see "Clone with Fork" in the extensions management page.
- macOS 10.14 or later
- Safari browser
npm run build:safari- Open Safari browser
- Go to Safari > Preferences (or press
Cmd + ,) - Click the Advanced tab
- Check "Show Develop menu in menu bar"
- In Safari menu bar, select Develop > Allow Unsigned Extensions
- Enter your administrator password when prompted
- In Safari menu bar, select Safari > Preferences
- Click the Extensions tab
- Click the "+" button in the bottom left
- Navigate to and select the project's
distfolder - Click "Choose Folder"
- Find "Clone with Fork" in the extensions list
- Check the checkbox next to the extension name to enable it
- If prompted for permissions, click "Always Allow"
Extension won't load:
- Ensure Developer mode is enabled
- Check that
distfolder containsmanifest.jsonandindex.js - Try rebuilding:
npm run build:chrome
Extension not working:
- Open Developer Tools (F12) and check console for errors
- Ensure Fork application is properly installed
- Refresh the GitHub page and try again
Extension doesn't appear:
- Ensure you've completed the developer features and unsigned extensions steps
- Restart Safari browser
- Check Safari > Preferences > Extensions for the extension list
Extension not working:
- Check Safari > Develop > Show JavaScript Console for error messages
- Ensure Fork application is installed
- Go to Safari > Preferences > Websites > Extensions and ensure the extension is enabled for GitHub
Permission issues:
- If Safari blocks the extension, go to Safari > Preferences > Websites > Extensions
- Ensure the extension is enabled for
github.com
# After modifying src/index.ts
npm run build:chrome # Rebuild Chrome version
npm run build:safari # Rebuild Safari version- Chrome: Click "Inspect views" in the extensions management page
- Safari: Use Safari > Develop > Show JavaScript Console
See the LICENSE file for license information.
Issues and Pull Requests are welcome to improve this project.
- Safari version is a development build; you may need to re-allow unsigned extensions after Safari updates
- For distribution to other users, consider publishing through respective app stores
- Chrome version can be packaged as .crx file for distribution
- Safari version should be code-signed through Apple Developer Program for wider distribution
