Skip to content

Golinks, powered by Cloudflare Workers

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

ryanpbrewster/golinks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golinks

A simple utility to redirect from short-links, like go/foo, to full urls, like https://google.com.

In order to use this, you'll want to download a browser extension (the main interaction involves browser navigation). Available for Chrome and Firefox.

Backend

Powered by CloudFlare workers. Check out worker/.

Extension

Does two things:

  • has a popup to let you set new shortlinks
  • intercepts requests to https://go/<path> and redirect them to the CloudFlare worker backend.

Firefox

Firefox is particularly reluctant to actually navigate to a URL like "go/foo". Because they don't look like valid links, it will usually default to performing a Google search.

To fix this, go to about:config and add a config entry for browser.fixup.domainwhitelist.go = true. This will tell Firefox that go is a valid domain, all on its own, and it should try resolving it.

References:

About

Golinks, powered by Cloudflare Workers

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published