• Stars
    star
    309
  • Rank 135,306 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

✅️ Command-line client for Wunderlist, the easiest way to get stuff done.

Wunderlist has shut down, so unfortunately wunderline no longer serves a purpose.

Wunderline

Wunderlist for your command line!

Build Status npm styled with prettier

Installation

npm install -g wunderline

Authentication

Wunderline requires you to create your own Wunderlist application and store the client id and an access token locally. You can create a new application here.

When creating an application you will be asked for an app url and an auth callback url, you can just use dummy values for these.

Once that's done, click CREATE ACCESS TOKEN as highlighted here:

access-token

Your ACCESS TOKEN will show up above

access-token modal

Now you can run wunderline auth and enter the values.

Usage

$ wunderline --help

Commands:

    auth            Authenticate Wunderline
    add [task]      Add a task to your inbox
    done            Mark a task as done
    inbox           View your inbox
    starred         View starred tasks
    today           View tasks due today
    week            View tasks due this week
    all             View all of your tasks
    overdue         View overdue tasks
    search [query]  Search your tasks
    list [query]    Search your lists
    lists           List your lists
    open            Open Wunderlist
    export          Export your data
    whoami          Display effective user
    gc              Delete completed tasks
    set-platform    Set your preferred application platform
    flush           Flush the application cache
    help [cmd]      display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Adding Tasks

Add tasks to your inbox.

$ wunderline add Hello, World!

The add command also supports creating tasks from stdin.

$ cat todo.txt | wunderline add --stdin

You can also add tasks to a list, that list will be created if it doesn't exist.

$ wunderline add Hello, World! --list Greetings

Due dates are now supported using one of the following options.

$ wunderline add Hello, World! --today --tomorrow --due 2015-12-25

You can add subtasks at task creation time.

$ wunderline add 'Run a marathon' --subtask 'Train for the marathon' --subtask 'Register for the marathon'

Completing Tasks

Tasks can be completed using the done subcommand.

$ wunderline done

completing tasks

Viewing Lists

All of Wunderlists smart lists are supported, so there are various ways to see what tasks you have to do.

$ wunderline inbox
$ wunderline starred
$ wunderline today
$ wunderline week
$ wunderline all

Alternatively, you can view any other list by using the list subcommand.

$ wunderline list shopping

Open

Open Wunderlist, defaults to opening the web app.

$ wunderline open

The only other platform currently supported is mac, use the set-platform command to change your settings.

$ wunderline set-platform mac

Export

Exports your data to stdout.

$ wunderline export > export.json

Filtering with jq

The export command will give you all of your data, unfiltered, which can be a lot. If you'd like to search, filter or manipulate your data then check out jq.

Here are some examples, filtering out completed and starred tasks.

wunderline export | jq '.data.lists[].tasks[] | select(.completed == true)'
wunderline export | jq '.data.lists[].tasks[] | select(.starred == true)'

Bonus Points

Ack / Ag

You could search for the word "todo" in a project and pipe the input into wunderline. Each line will be parsed and turned into a task, be careful because this could result in a lot of tasks!

This might be a terrible idea, even useless at best, but hopefully it will get you thinking.

$ ag todo --nocolor --nofilename | wunderline add -s

Debugging

wunderline uses request so if you want to inspect api requests just set the NODE_DEBUG variable.

$ NODE_DEBUG=request wunderline inbox

License

MIT © Wayne Ashley Berry

More Repositories

1

phplint

Lightning fast concurrent PHP linter for Node.js, Grunt & Gulp! ⚡️
JavaScript
63
star
2

awesome-podcasts

A curated list of awesome podcasts related to programming, technology and business
62
star
3

terminal-dimensions

Terminal Dimensions is a simple Go package for finding your the width & height of your terminal
Go
36
star
4

truecolor

Truecolor is a Go package that provides methods for printing 24-bit true color text in your terminal
Go
17
star
5

lut

LUT contains command-line tools and Go packages for applying colour adjustments to images using lookup tables
Go
12
star
6

vscode-entropy-scanner

Entropy Scanner is a Visual Studio Code extension that detects high entropy strings which may contain tokens, passwords, secrets or keys that should not be committed to source control
TypeScript
10
star
7

phpl

concurrent php linter, written in go
Go
6
star
8

things

Things URL Scheme helper command and package
Go
6
star
9

selectize-enter-key-submit

Submit Selectize forms using the enter key :)
JavaScript
5
star
10

go-proverbs

Go Proverbs as a package and cli.
Go
5
star
11

eeemo

G͗͜ŏ̧̍ͮ̇̈ͩ ̷ͧ̆i͛͛m̓ͫ͒ͧ̽̓̆p̋́lͣ͛e̅̐̂ͩ̍̚m̅ȇ̆̈́͡n̾t͋͛ͮã͡t̢ͫī̶onͭ̑͆́͜ ͑͑ͥ͞of͛͊ͧ̂ͮ̋̄ ̸̃ͭͦ͌̽tͧ̒͋ͤ̅̀̚͟hͩͪͦ̎eͮ͂̑ͣ ͒Z̸̿̌͐ͬ͒ͭ͋a̵̿̈̐̓̂ͩl̃g͛͑̓̈̓̃͆o̍̆̓ͬ͢ ̚Tͨ̇͢ex̄́̽͞t̃̾ͦ͏ G̃̓̿͂͑҉e̍ͩͧͣ̇́n̸͌͂ͪ̈ͪeͭ̂ͪ̀͠řͮͯ̀ͧ̀ā̃̌̂͊t̵̓ͬ̓̽̂̑̇o͊͒͒̒̅r̀̆ͧͦ͊͂ ͐̀͟b̽ÿ́̋͜ ̑̈ͩ͆T̒͗̇̄͋ͯ̂c̽̑̋͗̈́hͤ̏͊̒́o̽uͬǩ̅͒̏̾͆̊yͪ̽̉
Go
5
star
12

awesome-horology

⏱️ Delightful horology related links and resources
4
star
13

things-alfred-workflow

Alfred Workflow for Things 3.4
2
star
14

hn

An opinionated hacker news client for your command-line
Go
2
star
15

awesome-newsletters

A curated list of awesome newsletters related to programming, technology and business.
2
star
16

dontpanic

dontpanic is a go linter that warns against calls to panic() in your code
Go
1
star
17

prunedb

command prunedb will drop mysql databases that being with the test_ prefix
Go
1
star
18

sfnt

cli for inspecting truetype font metadata
Go
1
star
19

uuid

generate a uuid from the command-line
Go
1
star
20

supernova

Supernova is a Go command that backs up your GitHub stars and removes them from GitHub.com
Go
1
star
21

splitrgb

Split an image into rgb(a) component images
Go
1
star
22

jsonstructlint

An opinionated linter for json struct tags in Go
Go
1
star
23

logfmt

An opinionated log formatter that you probably don't want to use.
Go
1
star
24

clone-github-org

Clone an entire GitHub organisation.
Go
1
star