https://github.com/chamal1120/gropen
A simple bash script to open gh repos without leaving your lovely terminal
https://github.com/chamal1120/gropen
bash bash-script cli-app git
Last synced: about 1 year ago
JSON representation
A simple bash script to open gh repos without leaving your lovely terminal
- Host: GitHub
- URL: https://github.com/chamal1120/gropen
- Owner: Chamal1120
- License: mit
- Created: 2025-06-13T12:28:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-13T13:26:11.000Z (about 1 year ago)
- Last Synced: 2025-07-02T05:04:30.779Z (about 1 year ago)
- Topics: bash, bash-script, cli-app, git
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gropen
#### What is GROPEN?
Gropen is a simple bash script that can open the remote repo of your CWD's git repo from your browser.
#### How to install (Manual)
1. Place the script in one of your `PATH`s.
2. Source your shell configuration.
3. That's it! (Try typing `gropen` inside a git directory)
#### For maximum productivity
1. Map a keybind in your shell configuration file.
Example for zsh:
```bash
# Run gropen with ctrl + g
bindkey -s '^g' 'gropen\n'
```
2. Add custom command to your terminal IDE.
Example for neovim:
```lua
-- Add this to your init.lua
-- Create a custom command for gropen
vim.api.nvim_create_user_command("Gropen", function()
vim.fn.jobstart({ "gropen" })
end, {})
-- Create a keybind for the custom command (Run gropen with ctrl + g)
vim.keymap.set("n", "", ":Gropen", { noremap = true, silent = true })
```
#### TODO
- [ ] Add support for multiple remotes.
- [ ] Add an install script.
- [ ] Switch to bubble tea for better UX.