Giter Club home page Giter Club logo

alfred-xkcd-workflow's Introduction

xkcd workflow

Description

Simple Alfred 2 workflow to preview comics from the xkcd blog.

Usage

This is pretty straight forward:
xkcd [optional argument]

Alfred Window

The optional argument can take one of several forms:

  1. xkcd 5 will show the comic with the specified offset from the latest one
  2. xkcd #1279 will show the comic with the specified number
  3. xkcd ..3 will show the last specified number of comics (last 3 comics in this case), from newer to older.
  4. xkcd #1277..#1275 will show the comics with the numbers from the specified range (#1275, #1276, #1277 in this case), older to newer.

If no argument is provided, or it doesn't match any of the previous patterns, the latest comic will be shown. Note that the limit of the number of comics shown in a single run is set to 5 (hardcoded on line 5 of the script). Feel free to change that.

QuickLook Window

This workflow fetches images from the blog and displays them using QuickLook. To close an image one can just press the Space bar (as with any QuickLook previews).

alfred-xkcd-workflow's People

Contributors

romanroibu avatar

Watchers

 avatar  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.