Skip to content

luoos/glink

Repository files navigation

glink

Chrome extension to create aliases for URLs. Then you just enter a short alias to go to certain page.

For example,

  1. type c/ to go to Google Calendar
  2. type y/ to go to Youtube
  3. type xxx/yyy to go to certain page

You can customize all these rules.

Recommendation:

  1. Use one-character aliases for the most frequent pages. Like c/ for Google Calendar
  2. Use aliases start with go/ for less frequent pages. Like go/doc-xxx for Google docs

Install

1. Install from Chrome Web Store.

glink on Chrome Web Store

2. Install Manually

  1. Clone or download the source code
  2. Go to chrome://extensions/ (type the link in the address bar)
  3. Enable Developer mode. It should locate on the top-right corner of the page
  4. Click the Load unpacked and select the folder that contains the source code

Usage

1. Add rules

Click the icon to open the popup. You will see a form with Alias and URL as inputs.

  1. By default, the alias starts with go/. It's a template. You can change it if you want.
  2. The URL is the URL of current tab. You can also change it if you want.
  3. For aliases with only characters (no slash /), a slash will be appended, because we want explicitly differentiate the alias from a search engine keyword. For example, if you type bi in the address bar, it could be either the alias or a keyword to search.

Then click the Add if everything looks good.

popup

2. View rules and Delete rules

Click the Options button on the popup to open the options page. You can see all rules and delete rules there.

add_rules

3. Use alias

After adding rules, you can just type alias in the address bar and hit Enter, you will then be redirect to the corresponding URL.

use_alias

Troubleshooting

Please use the issue tracker for troubleshooting.

License

Copyright Jun Luo, 2020

Apache 2.0

About

Chrome extension to create aliases for URLs

Resources

License

Stars

Watchers

Forks

Packages

No packages published