Nabo is a simple, extendable and fast blog engine written in Elixir. This blog post shows how easy it is to integrate Nabo into your Phoenix application.
I would like to introduce Worque (pronounced as
which is a CLI to manage all your daily notes like a boss, with vim integration.
Coders hate report. Yes, let me recap: CODERS HATE REPORT!
- Ever got stunned when your boss suddenly asked what you’ve done yesterday?
- To look back at your tasks for today without leaving your beloved terminal and VIM.
If so, worque might be a fit for you.
$ gem install worque
How to use Worque?
Add this to your
$ export WORQUE_PATH='/path/to/your/lovely/notes'
Personally I’d like to map it to my Dropbox.
$ export WORQUE_PATH='~/Dropbox/Notes/Todos'
After that, executing the command below will create a today’s note for you
$ worque todo --for=today # ~/notes/checklist-2016-07-19.md
Or look back what’s done yesterday.
$ workque todo --for yebsterday # ~/notes/checklist-2016-07-18.md
Oops! Today is Monday? No worries, worque got you covered
# If today is Monday 25-07-2016 $ workque todo --for yesterday # ~/notes/checklist-2016-07-22.md
It’s chain-able with other commands
$ vim worque $ vim $(worque todo --for=yesterday) $ cat $(worque todo --for=yesterday) | grep pending
Anyway this is how I alias it in my
$ alias today="vim $(worque todo --for today) +':cd $WORQUE_PATH'" $ alias ytd="vim $(worque todo --for yesterday) +':cd $WORQUE_PATH'"
Yes, you can publish your daily notes to Slack too!
Just make sure you have set
SLACK_API_TOKEN accordingly to spare your fingers typing everytime. See this post to get an idea of how to generate Slack API Token.
$ export SLACK_API_TOKEN="something-very-secret"
Then you can use
worque push to push your notes to Slack
$ worque push --channel=daily-report # or forgot do it yesterday? No worries! $ worque push --channel=daily-report --for=yesterday
Yes, worque loves VIM too!!!
Add this to your vimrc
Plug 'qcam/vim-worque' # if you're using vim-plug Plugin 'qcam/vim-worque' # or Vundle
:YTD in your VIM to view the notes for today and yesterday respectively
Any thoughts or ideas are welcome!!!