DEV Community

Alex Pliutau
Alex Pliutau

Posted on

O means open. Simple CLI tool to open repository in browser.

Here is my small bash function! When you run it from the terminal it opens the GitHub/BitBucket/GitLab page in your browser for the git repository you are currently in. It has a short simple name o. I find myself doing this quite a lot as I am working with multiple repositories at the same time and switching to a browser, searching for correct link, etc.

Just type o :)

How to install

curl https://raw.githubusercontent.com/plutov/o/master/install.sh | sh
Enter fullscreen mode Exit fullscreen mode

Contribution

I have a plan to improve it to support remotes with usernames inside, and to support custom Git remotes. If you have more ideas you're welcome on this GitHub page.

Original post in my blog

Image of Wix Studio

2025: Your year to build apps that sell

Dive into hands-on resources and actionable strategies designed to help you build and sell apps on the Wix App Market.

Get started

Top comments (1)

Collapse
 
defman profile image
Sergey Kislyakov

Thanks for this tool, I like it.

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay