An open API service indexing awesome lists of open source software.

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.

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