https://github.com/swarnimcodes/turepo
Go to your git repo in your browser in a flash
https://github.com/swarnimcodes/turepo
Last synced: 5 months ago
JSON representation
Go to your git repo in your browser in a flash
- Host: GitHub
- URL: https://github.com/swarnimcodes/turepo
- Owner: swarnimcodes
- License: gpl-3.0
- Created: 2025-12-16T07:41:40.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-12-27T11:51:03.000Z (6 months ago)
- Last Synced: 2025-12-29T03:52:23.753Z (6 months ago)
- Language: Emacs Lisp
- Size: 41 KB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# turepo
Open your project's git repository in the browser in a flash.
[](https://melpa.org/#/turepo)
[](https://github.com/swarnimcodes/turepo/actions/workflows/byte-compilation.yml)

## Features
- Jump from code to web repository instantly
- Supports GitHub, GitLab, Codeberg and SourceHut (both SSH and HTTPS URLs)
- Works with SSH config aliases
- Compatible with self-hosted instances (https only)
## Installation
### From MELPA (recommended) ~~(awating-merge)~~ (merged)
Check melpa merge status here: https://github.com/melpa/melpa/pull/9726
```elisp
(use-package turepo
:ensure t
:bind (("C-c g r" . turepo)))
```
### Manual Installation
1. Clone this repository:
```bash
git clone https://github.com/swarnimcodes/turepo ~/.emacs.d/turepo
```
2. Add to your init file:
```elisp
(use-package turepo
:ensure nil
:load-path "~/.emacs.d/turepo"
:bind (("C-c g r" . turepo)))
```
## Usage
Run `M-x turepo` or press `C-c g r` (if you set up the keybinding above) while in any project buffer.
your default browser will open to the repository's web page.
## Configuration
### Debug Mode
By default, turepo operates silently and only displays error messages. You can enable debug mode to see detailed execution information:
```elisp
;; Enable debug mode
(setq turepo-debug-mode t)
```
Or with `use-package`:
```elisp
(use-package turepo
:ensure t
:bind (("C-c g r" . turepo))
:custom
(turepo-debug-mode t))
```
When enabled, debug messages will show:
- Git repository location
- Config file path
- Matched URL pattern (HTTP/SSH/git@)
- URL being opened
## License
GPL-3.0-or-later. See [LICENSE](LICENSE) file for details.
## Contributing
Contributions welcome! Please open an issue or submit a pull request.
## Author
Swarnim Barapatre ([@swarnimcodes](https://github.com/swarnimcodes))