Open the GitHub page of the given or current directory repo

Related tags

Command Line gh-home
Overview

gh-home

Open the GitHub page of the given or current directory repo

It will attempt to open the upstream repo if there is one or the forked repo.

Install

$ npm install --global gh-home

Usage

$ gh-home --help

  Usage
    $ gh-home [repo | user/repo]

  Examples
    $ gh-home
    $ gh-home myrepo
    $ gh-home avajs/ava

Tips

Add alias gh=gh-home to your .zshrc/.bashrc, so that you can run it with $ gh instead.

You can also use the official GitHub CLI instead:

$ gh alias set home "repo view --web"
$ gh home

Related

  • npm-home - Open the npm page of a package
You might also like...

Statichunt is a free open-source Jamstack directory that lists hundreds of themes, starters, and resources for Jamstack sites.

Statichunt Statichunt is an open-source directory that enlists hundreds of themes, starters, and resources for static site generators submitted by the

Dec 29, 2022

This tool uses native browser APIs to take screenshots of a given web page, tab, window, or the user's entire screen.

This tool uses native browser APIs to take screenshots of a given web page, tab, window, or the user's entire screen.

This tool uses native browser APIs to take screenshots of a given web page, tab, window, or the user's entire screen.

Jan 1, 2023

This Is A Simple WhatsApp Bot Mode From *DhaniGans* Repo Hope you guys Will like it Repo Updates in Every Two Days

This Is A Simple WhatsApp Bot Mode From *DhaniGans* Repo Hope you guys Will like it Repo Updates in Every Two Days

ALIEN ALFA BOT Contact Me: Scan QR Code For Session FORK THIS BEFORE PROCEEDING Use This Button To Fork Now THINGS TO CHANGE IN HEROKU 𝘾𝙃𝘼𝙉𝙂𝙀 𒆜

Dec 21, 2022

This is email scheduler made using MERN. This repo contains server code, client repo is linked in readme.

Email Scheduler Client This is an email scheduler server (client in different repository). It is made using node.js/express.js. Overview User can sign

Dec 3, 2022

Chrome extension that applies phrase-based line breaking and visible phrase boundaries to the current page.

Chrome extension that applies phrase-based line breaking and visible phrase boundaries to the current page.

BudouX Chrome Extension This extension applies the phrase-based line breaking or the Japanese Wakachi-gaki style line breaking to the current page. Pl

Nov 18, 2022

Videogame page [current version]

Videogame page [current version]

ENGLISH PlayHoenicka is Josue Hoenicka's first official project PlayHoenicka is a video game page with 4 video games Dino.cka, Wordie.cka, Listenme.ck

Sep 21, 2022

Extracts favicon of the current page and calculates their murmurhash. Firefox extension source code.

Favicon to Murmurhash Extracts favicon of the current page and calculates their murmurhash. Shows links to shodan search based on favicon murmurhashes

Dec 17, 2022

Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's Contribute To Open-source First Contributions This project aims to simplify and guide the way, beginners can make their first contribution towar

Dec 3, 2022

Get the current local time of a GitHub user.

Get the current local time of a GitHub user.

dev-time-cli Get the current local time of a GitHub user. Install $ npm install --global dev-time-cli Usage $ dev-time --help Usage $ dev-time

Jun 29, 2022

Directory of free JavaScript ebooks

JSbooks JSbooks is a showcase of the bests free ebooks about Javascript. Find here the best publications about your favourite programming language wit

Dec 30, 2022

A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.

A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.

eleventy 🕚 ⚡️ A simpler static site generator. An alternative to Jekyll. Written in JavaScript. Transforms a directory of templates (of varying types

Jan 4, 2023

An example project using Node.js to run some common tasks including directory backup

An example project using Node.js to run some common tasks including directory backup

All code from this tutorial as a complete package is available in this repository. If you find this tutorial helpful, please share it with your friend

Sep 28, 2022

Validate directory structure and file contents with an extension of JSON schema.

directory-schema-validator Description Validate directory structure and file contents with an extension of JSON schema. Install Install using NPM or s

Nov 1, 2022

Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks)

Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks)

eleventy-plugin-directory-output Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks). Sample output from eleven

Oct 27, 2022

Google-Drive-Directory-Index | Combining the power of Cloudflare Workers and Google Drive API will allow you to index your Google Drive files on the browser.

🍿 Google-Drive-Directory-Index Combining the power of Cloudflare Workers and Google Drive will allow you to index your Google Drive files on the brow

Jan 2, 2023

JavaScript Express.js app serving static vanilla JS. This sample app is used in Microsoft Docs to demonstrate how to integrate Azure Storage, Azure Cosmos DB, and Azure Active Directory.

JavaScript on Azure Learn Path - Module 2 - Deploying a basic app to Azure This Learn module requires the following Azure resources to deploy correctl

Dec 31, 2022

A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete .

BOOK-DIRECTORY-NODEJS A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete . What I u

May 18, 2022

A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete .

Book-Directory-NodeJS A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete . What I u

May 13, 2022

Find and parse the tsconfig.json file from a directory path

get-tsconfig Find and parse tsconfig.json files. Features Zero dependencies (not even TypeScript) Tested against TypeScript for accuracy Supports comm

Jan 2, 2023
Comments
  • Add check for upstream remote first

    Add check for upstream remote first

    opened by RichardLitt 7
  • Add ability to go to different routes of github repo

    Add ability to go to different routes of github repo

    I would like the ability to go to different pages of a GitHub repository. For example:

    gh-home --pulls
    

    Would be helpful if I could pass a param like this and it would take me to the pull requests of a repository. Similar for issues and other commonly visited pages.

    Let me know if you would accept this. I will create a PR for this.

    enhancement help wanted 
    opened by aviskarkc10 1
  • Bitbucket repo throws TypeError

    Bitbucket repo throws TypeError

    TypeError: Expected a `target`
    at module.exports (/home/developer/.nvm/versions/node/v9.3.0/lib/node_modules/gh-home/node_modules/open/index.js:18:9)
    at __dirname (/home/developer/.nvm/versions/node/v9.3.0/lib/node_modules/gh-home/cli.js:45:9)
    at <anonymous>
    

    Not exactly an important issue since it's not github anyway, but maybe it should at least fail gracefully.

    enhancement help wanted 
    opened by SunflowerFuchs 1
  • Exception thrown on executing gh-home without any args

    Exception thrown on executing gh-home without any args

    Executed gh-home without any arguments inside a repository directory. Result: The correct page of upstream opened on the default browser, yet an exception is thrown, like so:

    Error: Expected a `target`
        at module.exports (/Users/raisedadead/.nvm/versions/node/v6.9.4/lib/node_modules/gh-home/node_modules/opn/index.js:8:25)
        at open (/Users/raisedadead/.nvm/versions/node/v6.9.4/lib/node_modules/gh-home/cli.js:21:2)
    

    Not a blocking issue, but maybe needs revisiting? Is this expected?

    opened by raisedadead 0
Releases(v4.0.0)
  • v4.0.0(Oct 14, 2021)

  • v3.1.0(Jul 2, 2021)

    • Add flags for opening pull requests and issues of a GitHub repo (#10) f8d221a

    https://github.com/sindresorhus/gh-home/compare/v3.0.0...v3.1.0

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0(Dec 18, 2020)

  • v2.0.1(May 21, 2019)

  • v2.0.0(May 13, 2019)

    Breaking:

    • Require Node.js 8 6425ce1

    Enhancements:

    • Performance improvements

    https://github.com/sindresorhus/gh-home/compare/v1.4.1...v2.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
Sindre Sorhus
Full-Time Open-Sourcerer. Wants more empathy & kindness in open source. Focuses on Swift & JavaScript. Makes macOS apps, CLI tools, npm packages. Likes unicorns
Sindre Sorhus
Get the current local time of a GitHub user.

dev-time-cli Get the current local time of a GitHub user. Install $ npm install --global dev-time-cli Usage $ dev-time --help Usage $ dev-time

Sam Verschueren 176 Jun 29, 2022
Windows command line tool to block outbound connections for files within a directory.

fwg A Windows command line tool to block outbound connections for files within a directory. fwg utilizes the power of PowerShell and Windows Network S

raymond wang 3 Jul 19, 2022
Get current wifi password

wifi-password Get current wifi password Install $ npm install wifi-password Usage const wifiPassword = require('wifi-password'); wifiPassword().then

Kevin Mårtensson 591 Dec 17, 2022
An extension geared towards Spotify users with larger libraries; view all your playlists that contain a specific song with the click of a button. Designed for Spicetify (https://github.com/khanhas/spicetify-cli)

ViewPlaylistsWithSong An extension developed for Spicetify that allows you to view all the playlists in your library that contain a certain song. Idea

null 21 Dec 13, 2022
This action sets up Supabase CLI on GitHub's hosted Actions runners.

⚙️ Supabase CLI Action About This action sets up the Supabase CLI, supabase, on GitHub's hosted Actions runners. This action can be run on ubuntu-late

Supabase 26 Jan 5, 2023
Node.js Open CLI Framework. Built with 💜 by Heroku.

oclif: Node.JS Open CLI Framework ?? Description ?? Getting Started Tutorial ✨ Features ?? Requirements ?? CLI Types ?? Usage ?? Examples ?? Commands

oclif 8k Jan 4, 2023
The awesomebooks project is a simple list, but separated into 3 parts and given a retro feel. The main page is where we can add books, and on another page we can see the list, and remove items. There is also a "contact-us" page.

Awesome Books This is the restructured version of the famous awesome-books project! Here you can find JavaScript broken into modules, using import-exp

Matt Gombos 12 Nov 15, 2022
⚡️The Fullstack React Framework — built on Next.js

The Fullstack React Framework "Zero-API" Data Layer — Built on Next.js — Inspired by Ruby on Rails Read the Documentation “Zero-API” data layer lets y

⚡️Blitz 12.5k Jan 4, 2023
Open the npm page, Yarn page, or GitHub repo of a package

npm-home Open the npm page, Yarn page, or GitHub repo of a package Install $ npm install --global npm-home Usage $ npm-home --help Usage $ npm

Sindre Sorhus 180 Dec 18, 2022
BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book.

Project Name : BookStore CMS BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book. In or

Chris Siku 10 Aug 22, 2022