Open any Git repository in browser with one click
| Feature | Description |
|---|---|
| 🔗 Multi-Platform | GitHub, GitLab, Gitea, Bitbucket, Codeberg, SourceHut & more |
| ⚡ Self-Contained | No dependencies on other extensions |
| 🔍 Auto-Detect | Automatically detects remote type and platform |
| 🖱️ Status Bar Button | One-click to open repository in browser |
| 📁 Multi-Repo | Supports projects with multiple Git remotes |
| 📄 Open File | Open current file at specific line in browser |
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X/Cmd+Shift+X) - Search for "Git Opener"
- Click Install
Or install via command:
ext install Foshati.git-openerFor Cursor, Windsurf, Antigravity, VSCodium, or offline installation:
-
Download the
.vsixfile from Releases -
Install via terminal:
# VS Code
code --install-extension git-opener-1.1.3.vsix --force
# Cursor
cursor --install-extension git-opener-1.1.3.vsix --force
# Antigravity
antigravity --install-extension git-opener-1.1.3.vsix --force
# VSCodium
codium --install-extension git-opener-1.1.3.vsix --force- Or drag the
.vsixfile into the Extensions view
Click the orange link icon
Git Open: Open Repository in Browser- Opens the repositoryGit Open: Open Current File in Browser- Opens current file with line number
| Command | Windows/Linux | macOS |
|---|---|---|
| Open Repository | Ctrl+Alt+G |
Ctrl+Cmd+G |
| Open File | Ctrl+Alt+F |
Ctrl+Cmd+F |
| Setting | Type | Default | Description |
|---|---|---|---|
git-open.statusBar.enabled |
boolean | true |
Show button in status bar |
git-open.statusBar.alignment |
string | "left" |
Button alignment (left or right) |
git-open.statusBar.priority |
number | 0 |
Button priority (higher = more left) |
git-open.preferHttps |
boolean | true |
Use HTTPS instead of HTTP |
- ✅ GitHub
- ✅ GitLab (including self-hosted)
- ✅ Gitea / Forgejo
- ✅ Bitbucket
- ✅ Codeberg
- ✅ SourceHut
- ✅ Azure DevOps
- ✅ Any Git server with web interface
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License © 2024 Foshati
Made with ❤️ for developers
