GithubHelp home page GithubHelp logo

imclab / alfred-amazon-affiliate-links Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wkoffel/alfred-amazon-affiliate-links

0.0 2.0 0.0 1.02 MB

Alfred 2 Workflow for generating Amazon Product links with custom affiliate codes.

alfred-amazon-affiliate-links's Introduction

Alfred 2 Amazon Affiliate Link Generator Workflow

An Alfred workflow for generating simple Amazon Affiliate links with your own tag. Designed for anyone who generates a lot of custom links from URLs. This workflow will clean up all the parameters from an amazon.com URL, and then append the configured tag to it.

Screenshot: Alred Workflow Topology

Setting Your Affiliate Code

The keyword trigger alink code will set a new affiliate code, which all subsequent calls to alink will use.

Screenshot: Set Affiliate Code

Generating Links

The keyword trigger alink will strip extra junk from the URL (all the query params, which aren't necessary for Amazon product links), and append "tag=your-affiliate-tag" to it, copying the result to the clipboard.

Screenshot: Generate Affiliate Link

You will get an error message if you haven't set an affiliate code yet (see above), or if the target link is not a valid Amazon link.

Install Notes

Download the compiled workflow directly at https://github.com/wkoffel/alfred-amazon-affiliate-links/

Visit the repository for the full source code at https://github.com/wkoffel/alfred-amazon-affiliate-links/

In theory, I've bundled all the necessary ruby gems in the workflow package proper, so it should be a simple double-click install. If you do need to install manually, please let me know. To install manual dependencies, you would run just "sudo gem install alfredo addressable", and that should suffice.

This has been tested on OS X 10.9 Mountain Lion. I didn't bundle the necessary gems for earlier ruby versions. If you need support for an earlier OS version, reach out and I can help easily.

Credits

Thanks to Bryan McKelvey for the simple Alfredo Gem Thanks to phyllisstein for Alleyoop

Release Notes

  • v1.0 (Mar 1, 2014) - Initial release

alfred-amazon-affiliate-links's People

Contributors

wkoffel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.