question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Link to gh.com repo/user from .io page.

See original GitHub issue

There’s a surprising number of persons whom have a project page, but it doesn’t link to the repo.

When at username.github.io/projectname, link to github.com/username/projectname.

Implementation is not straightforward.
First, I’d be against modifying the .io page. The add-on has toolbar presence (currently opens gh.com when opened). It could be used to instead open the repo/user page.

projectname isn’t always available on github.com. Checking, if it’s 404 should direct the user to github.com/username instead. Not sure, what’s the best way to check, and what to do, when checking fails/isn’t available.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
kidonngcommented, Apr 26, 2021

I remember seeing some extensions that do this, but they are really old. Perhaps still work, I don’t know.

But I have a userscript for this use case: https://github.com/kidonng/cherry/blob/master/scripts/README.md#pages-source

2reactions
fregantecommented, Apr 9, 2021

This is tough because it requires UI either on the page (👎) or as a browser icon context menu (so undiscoverable) + it requires adding a *.github.io permission, which disables the extension for everyone.

I don’t think it’s worth it. The same could be achieved by manually selecting .io/ in the URL bar, pressing <kbd>space</kbd> and then <kbd>enter</kbd>

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create a how to create a ** GitHub.io URL, pointing to ...
Click your Name section & Select Your Profile · Open your saved repository · Open PAGES from SETTINGS · Then you will get...
Read more >
GitHub Pages | Websites for you and your projects, hosted ...
Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.
Read more >
Determining your GitHub Pages URL | The Least You Need to ...
The GitHub Pages repository URL is always https://{userid}.github.io/{reponame}. The GitHub Pages URL is based on the GitHub repo URL, and takes the format ......
Read more >
Getting Started with GitHub Pages - YouTube
Hey gang, in this tutorial I'll show you how to get up and running with GitHub pages to host your projects on the...
Read more >
Hosting your website on Github (article) | Khan Academy
You don't need a paid plan for a public website repository. ... Make sure to name your project exactly “YOUR_USERNAME.github.io”. That tells Github...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found