Giter Site home page Giter Site logo

trello-bookmarklet's Introduction

javascript:(function(a){window.trelloAppKey="optional";window.trelloIdList="optional";var b=a.createElement("script");b.src="https://raw.github.com/danlec/Trello-Bookmarklet/master/trello_bookmarklet.js";a.getElementsByTagName("head")[0].appendChild(b)})(document);

This is a bookmarklet you can use to create a card in Trello from ...

  • FogBugz cases
  • JIRA issues
  • GitHub issues and commits
  • The selected text from an arbitrary URL
  • ... more? I'm happy to take pull requests that add support for other websites!

The first time you run it on a site, it will walk you through a simple setup:

  1. Input your API Key (which you can get at https://trello.com/1/appKey/generate)
  2. Authorize the site to interact with Trello
  3. Select the list that you'd like the bookmarklet to add cards too

You'll only need to go through those steps once per domain; from then on, you should be able to send your issues/cases/whatever directly to Trello in a single click.

The card created in Trello will

  • attempt to use the name of the FogBugz/JIRA/GitHub/etc case
  • include a link to the case in the card description
  • (optionally) include any selected text in the description

If you modify the unminified bookmarklet, you can re-build it by running the source through a javascript minifier (e.g. the Closure Compiler), and prepending javascript: to the front.

If you'd rather not add your appKey and idList for every new domain, you can modify the bookmarklet and include values for window.trelloAppKey and window.trelloIdList (currently both have the value "optional")

Note: This basic concept originated with https://github.com/markdrago/cardorizer; this approach doesn't require you to run a server

trello-bookmarklet's People

Contributors

danlec avatar imicky avatar sinelaw avatar sodoku avatar ubuntudroid avatar wosc avatar zeroasterisk avatar

Watchers

 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.