Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deanishe/alfred-resolve-url

Alfred workflow to resolve HTTP redirects and return the canonical URL
https://github.com/deanishe/alfred-resolve-url

alfred alfred-workflow python resolve url workflow

Last synced: about 2 months ago
JSON representation

Alfred workflow to resolve HTTP redirects and return the canonical URL

Awesome Lists containing this project

README

        

Resolve HTTP Redirects in Alfred
================================

Follows any HTTP redirects and returns the canonical URL. Also displays information about the primary host (hostname, IP address(es), aliases).

![](https://raw.githubusercontent.com/deanishe/alfred-resolve-url/master/demo.gif "demo.gif")

You can paste a URL into Alfred's query box or grab a URL directly from the
clipboard. If the URL contains no scheme (`http://`, `https://`, etc.),
`http://` will be assumed.

## Usage ##

- `resolve URL` — Find and display the canonical URL after all redirects.
+ `↩` — Open the new URL in your default browser
+ `⌘+↩` — Copy the new URL to the clipboard
- `resolvepb` — Grab the URL from the clipboard and resolve any redirects as above.

If the URL has no redirects, a "URL is canonical" message will be displayed.

## Licence, thanks ##

This workflow is released under the [MIT licence](http://opensource.org/licenses/MIT). It uses [Alfred-Workflow](http://www.deanishe.net/alfred-workflow/index.html) for the plumbing and to resolve HTTP redirects.