nzb 0.2.0

Get Things DoneĀ® with nzb, a beautiful terminal interface for Nozbe. Inspired by Wunderline
nzb-0.2.0 is not a library.

Nzb

A beautiful CLI front-end for Nozbe written in Rust.

The core functionality of the excellent Wunderline app for Wunderlist is already present.

Features

  • Extremely usable interface

  • Takes literally 10 seconds to set up

  • Add tasks to your Nozbe inbox in 2 seconds flat

  • Mark multiple tasks as done, or star them, with Fuzzy Search. All in a couple of jiffies! Made possible by the skim library

  • Conky integration for printing a nice summary (an Android widget but for your desktop)

    2019-03-16-195651_1366x768_scrot

Usage

$ nzb help
Nozbe front-end written in Rust.

Usage:
  nzb [options] [<command> [<args>...]]
  nzb -h | --help
  nzb --version

Options:
  -a <token> --auth=<token>    Specify an alternate Nozbe authentication token (Refer Nozbe API Documentation)
                               (Note: The default authentication token is at $HOME/.local/.nozbe_token)
  -h --help                    Show this screen
  -V --version                 Show version

Commands:
  add                          Add a task to your Nozbe Inbox
  all                          View all of your tasks (This is the default action)
  conky                        A conky-friendly, colourful summary of all your tasks
  done                         Mark task(s) as done with fuzzy search
  help                         Show this screen
  inbox                        View your inbox
  list [<list>...]             Show specific lists
  login                        Login to Nozbe
  now | priority | starred     View starred tasks
  open                         Open Nozbe in your browser
  star                         Star task(s) with fuzzy search
  unstar                       Unstar task(s) with fuzzy search

Adding tasks

Simply run nzb add <task title>

asciicast

Starring/Unstarring/Marking tasks as done

Running nzb <star|unstar|done> [query] opens a fuzzy search window with all the tasks that match the optional query. Multi-select tasks with Tab and select any one with Enter.

asciicast

Click on the link above to see a demo.

Conky integration

Unfortunately, right now this needs the installation of the ansifilter tool, because of the way escape sequences are handled in conky. If someone knows a better way, please drop a PR!

Make a new script called nzbWrap and put it in your $PATH with the following contents.

#!/usr/bin/env sh
nzb conky | ansifilter

Now, in your conky.conf, find the conky.text section. add

${texecpi 60 nzbWrap}

where 60 is how often(in seconds) you want the view to be updated.

Installation

From Binaries

Binary releases can be found at the Releases page. Unzip artifacts.zip to obtain your binary at target/release/nzb.

  • Currently only linux-x86_64 is supported, but I will support other targets once I figure out how to get cross compilation working on Gitlab CI.

From Crates.io

cargo install nzb

From Source

git clone https://github.com/reisub0/nzb
cargo install --path nzb

WIP:

  1. Get Cross compilation to Windows working
  2. Filter tasks by context
  3. Add feature for adding links directly to comments + task name

License

Nzb is licensed under the MIT License.