Giter Site home page Giter Site logo

worque's Introduction

Worque

Worque is a CLI which is helpful to manage your daily notes.

  • Ever stunned when your boss suddenly asked what you've done yesterday?
  • Wanna check/note your daily tasks without exiting your favourite editor VIM?
  • Something to report on daily stand-ups?

Then worque is definitely a right tool for you!

Installation

DO NOT add this to your Gemfile

Install it by

$ gem install worque

Quick start guide

CLI

Add this to your .bash_profile

export WORQUE_PATH='/path/to/your/lovely/notes'

I often map it to my Dropbox like this

export WORQUE_PATH='~/Dropbox/Notes/Todos'

Then executing the command below will create a today's note for you

worque --today
# ~/notes/checklist-2016-07-19.md

Or look back what's done yesterday.

workque --yesterday
# ~/notes/checklist-2016-07-18.md
# This will jump back to Friday's note if it's Monday today!

You can also explicitly specify the file path

worque --today --path ~/path/to/your/notes

It's chain-able with other commands

vim worque
vim $(worque --yesterday)
cat $(worque --yesterday) | grep pending

Personally I alias it like today like this, so vim will automatically open the file when I type today

alias today="vim $(worque --today) +':cd $WORQUE_PATH'"
alias ytd="vim $(worque --today) +':cd $WORQUE_PATH'"

VIM Integration

Add this to your VIM plugin manager

Plug 'huynhquancam/vim-worque'

Then :TD, :YTD for today and yesterday's notes respectively.

Read more about vim-worque.

View more in my dotfiles

Development

bundle install
bundle exec rake test

To be implemented

Something in my plan:

  • Test suites: Embarrassingly there's no test currently, but this will be my first priority.
  • worque list: List all notes you have.
  • worque push: Push your daily notes to your specified Slack channel.
  • worque changelog: Sync your Git commits to daily notes.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/huynhquancam/worque.

License

The gem is available as open source under the terms of the MIT License.

worque's People

Contributors

qcam avatar

Watchers

Huy avatar James Cloos 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.