{"id":23412650,"url":"https://github.com/lzhenhong/clonewithfork","last_synced_at":"2026-04-10T15:46:54.052Z","repository":{"id":211054086,"uuid":"728082665","full_name":"LZhenHong/CloneWithFork","owner":"LZhenHong","description":"Chrome extension which clone GitHub repository with Fork app.","archived":false,"fork":false,"pushed_at":"2025-03-04T03:44:09.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T04:28:12.379Z","etag":null,"topics":["chrome","chrome-extension","chrome-extensions","git","github"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LZhenHong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-06T07:33:47.000Z","updated_at":"2025-03-04T03:44:12.000Z","dependencies_parsed_at":"2023-12-06T08:42:25.887Z","dependency_job_id":"ddda7a49-d2d1-403d-b500-f0ee0d45205f","html_url":"https://github.com/LZhenHong/CloneWithFork","commit_stats":null,"previous_names":["lzhenhong/clonewithfork"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LZhenHong%2FCloneWithFork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LZhenHong%2FCloneWithFork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LZhenHong%2FCloneWithFork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LZhenHong%2FCloneWithFork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LZhenHong","download_url":"https://codeload.github.com/LZhenHong/CloneWithFork/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974731,"owners_count":21026742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","chrome-extension","chrome-extensions","git","github"],"created_at":"2024-12-22T18:17:57.169Z","updated_at":"2025-12-30T23:05:12.665Z","avatar_url":"https://github.com/LZhenHong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clone with Fork\n\nA cross-platform browser extension that adds an \"Open with Fork\" button to GitHub repository pages, allowing you to quickly open repositories in the [Fork](https://fork.dev/) Git client application.\n\n**Supported Browsers:**\n- ✅ Chrome (Manifest V3)\n- ✅ Safari (Manifest V2)\n\n## Features\n\n- Adds \"Open with Fork\" option to GitHub repository \"Code\" button dropdown menu\n- Automatically opens the current repository in Fork application when clicked\n- Cross-platform support for Chrome and Safari browsers\n- Lightweight with minimal permissions required\n\n## How to Use\n\n\u003cimg src=\"snapshot.png\"\u003e\n\n1. Navigate to any GitHub repository page\n2. Click the green \"Code\" button\n3. Find the \"Open with Fork\" option in the dropdown menu\n4. Click to open the repository in Fork application\n\n## Prerequisites\n\nMake sure you have the [Fork](https://fork.dev/) Git client installed on your system.\n\n## Development Setup\n\n```bash\n# Install dependencies\nnpm install\n```\n\n## Build Instructions\n\n### Build Chrome Version\n```bash\nnpm run build:chrome\n```\n\n### Build Safari Version\n```bash\nnpm run build:safari\n```\n\nAll built files will be output to the `dist` folder.\n\n## Chrome Installation Guide\n\n### 1. Build the Extension\n```bash\nnpm run build:chrome\n```\n\n### 2. Load the Extension\n1. Open Chrome browser\n2. Navigate to `chrome://extensions/`\n3. Enable \"Developer mode\" in the top right corner\n4. Click \"Load unpacked\"\n5. Select the project's `dist` folder\n\n### 3. Enable the Extension\nThe extension will be automatically enabled after loading. You can see \"Clone with Fork\" in the extensions management page.\n\n## Safari Installation Guide\n\n### Prerequisites\n- macOS 10.14 or later\n- Safari browser\n\n### 1. Build the Extension\n```bash\nnpm run build:safari\n```\n\n### 2. Enable Safari Developer Features\n1. Open Safari browser\n2. Go to **Safari \u003e Preferences** (or press `Cmd + ,`)\n3. Click the **Advanced** tab\n4. Check **\"Show Develop menu in menu bar\"**\n\n### 3. Allow Unsigned Extensions\n1. In Safari menu bar, select **Develop \u003e Allow Unsigned Extensions**\n2. Enter your administrator password when prompted\n\n### 4. Load the Extension\n1. In Safari menu bar, select **Safari \u003e Preferences**\n2. Click the **Extensions** tab\n3. Click the **\"+\"** button in the bottom left\n4. Navigate to and select the project's `dist` folder\n5. Click **\"Choose Folder\"**\n\n### 5. Enable the Extension\n1. Find \"Clone with Fork\" in the extensions list\n2. Check the checkbox next to the extension name to enable it\n3. If prompted for permissions, click **\"Always Allow\"**\n\n## Troubleshooting\n\n### Chrome Issues\n\n**Extension won't load:**\n- Ensure Developer mode is enabled\n- Check that `dist` folder contains `manifest.json` and `index.js`\n- Try rebuilding: `npm run build:chrome`\n\n**Extension not working:**\n- Open Developer Tools (F12) and check console for errors\n- Ensure Fork application is properly installed\n- Refresh the GitHub page and try again\n\n### Safari Issues\n\n**Extension doesn't appear:**\n- Ensure you've completed the developer features and unsigned extensions steps\n- Restart Safari browser\n- Check Safari \u003e Preferences \u003e Extensions for the extension list\n\n**Extension not working:**\n- Check Safari \u003e Develop \u003e Show JavaScript Console for error messages\n- Ensure Fork application is installed\n- Go to Safari \u003e Preferences \u003e Websites \u003e Extensions and ensure the extension is enabled for GitHub\n\n**Permission issues:**\n- If Safari blocks the extension, go to Safari \u003e Preferences \u003e Websites \u003e Extensions\n- Ensure the extension is enabled for `github.com`\n\n## Development\n\n### Rebuilding After Code Changes\n```bash\n# After modifying src/index.ts\nnpm run build:chrome  # Rebuild Chrome version\nnpm run build:safari  # Rebuild Safari version\n```\n\n### Debugging\n- **Chrome**: Click \"Inspect views\" in the extensions management page\n- **Safari**: Use Safari \u003e Develop \u003e Show JavaScript Console\n\n## License\n\nSee the [LICENSE](./LICENSE) file for license information.\n\n## Contributing\n\nIssues and Pull Requests are welcome to improve this project.\n\n## Notes\n\n- Safari version is a development build; you may need to re-allow unsigned extensions after Safari updates\n- For distribution to other users, consider publishing through respective app stores\n- Chrome version can be packaged as .crx file for distribution\n- Safari version should be code-signed through Apple Developer Program for wider distribution\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzhenhong%2Fclonewithfork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flzhenhong%2Fclonewithfork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzhenhong%2Fclonewithfork/lists"}