Ask HN: Is there a way for github.com to send me to my repos instead of my dash?

14 points by aliqot ↗ HN
Help me HN, you're my only hope. I don't get much use from the dash and usually just want to see a list of my repos. Is there a plugin that does this, or a setting somewhere that I don't know about?

10 comments

[ 4.0 ms ] story [ 33.4 ms ] thread
Set up a custom search engine with a 'gh' shortcut so that a 'g h <space> <enter>' will take you there.

Right click the omnibar.

Even simpler, if you enter that URL a number of times, the browser autocomplete will take you there after only typing the first 'g' of github.com.
What's a dash?
I'm assuming they mean "the dashboard", the page that shows at `https://github.com/` if you're logged in. That page has the latest changes from people you follow, recent blog posts from GitHub, etc. Pretty useless IMHO.

The answer to OP's question is that there is no plugin for this, there is a URL for this. If they type in "github.com" in their browser that is what they will get, but if they bookmark the page they want to go to (or select it enough times among the address bars' suggestions) it will automatically become the first suggestion for "git<enter>". A surprising Ask HN indeed.

Or use this GreaseMonkey script:

    if(window.location.href == 'https://github.com/') {
        window.location.href = 'https://github.com/aliqot?tab=repositories';
    }
Assuming that you know the name of the repo you are looking for you can use the cntrl/cmd + k shortcut. This brings up a command window that allows you to navigate the site. It has autocomplete too. Hope this helps.
I have the same problem, so I use my personal domain [0] to redirect to repos page, it works great. here is the javascript code:

    async function handleRequest(request) {
      const requestUrl = new URL(request.url);
      let target = "https://github.com/theowenyoung?tab=repositories"
      if(requestUrl.pathname!=="/"){
        target = "https://github.com/theowenyoung"+requestUrl.pathname
      }
      return Response.redirect(target, 302);
    }
    addEventListener('fetch', async event => {
      event.respondWith(handleRequest(event.request));
    });
[0]: https://git.owenyoung.com
Just bookmark it &/or in your favourites. There's also apps allow you to save it as a local electron app