https://github.com/codedotjs/bruh
:cow: Quickly open the GitHub repository of a cloned repo in your browser.
https://github.com/codedotjs/bruh
bash browser git github open repository script
Last synced: 7 months ago
JSON representation
:cow: Quickly open the GitHub repository of a cloned repo in your browser.
- Host: GitHub
- URL: https://github.com/codedotjs/bruh
- Owner: CodeDotJS
- License: mit
- Created: 2024-05-19T08:26:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-20T13:31:07.000Z (over 1 year ago)
- Last Synced: 2025-03-20T00:41:16.407Z (8 months ago)
- Topics: bash, browser, git, github, open, repository, script
- Language: Shell
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

- __Description__
Bash script to open a GitHub repository in your browser from any directory within the repository or by specifying the repository folder as an argument. It also supports setting your username for quickly accessing your repositories.
- __Install__
```sh
curl -O https://raw.githubusercontent.com/CodeDotJS/bruh/master/bruh.sh && chmod +x bruh.sh
```
*and... global*
```sh
sudo mv bruh.sh /usr/local/bin/bruh
```
- __Usage__
To run the script from the current directory:
```sh
$ bruh
```
To specify a repository folder:
```sh
$ bruh /path/to/repo_folder
```
Set username
```sh
$ bruh --set-username torvalds
```
```sh
$ bruh -o linux
```
- __Screenshot__

- __License__
MIT