HACKER Q&A
📣 aliqot

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


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?


  👤 theowenyoung Accepted Answer ✓
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

👤 stefanos82
Personally I've done the following: I have bookmarked my profile as https://github.com/?tab=repositories and when I click on "Sign in" and insert my credentials, I'm already there; that's it.

👤 chasenjohnson
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.

👤 uberman

👤 kurtreed
What's a dash?

👤 villgax
Just bookmark it &/or in your favourites. There's also apps allow you to save it as a local electron app