Giter VIP home page Giter VIP logo

writelightly's Introduction

WriteLightly

WriteLightly is a console based personal journal/diary manager that uses the curses library to build a minimalistic user interface. It features an interactive calendar, support for tags, edit history for each entry and more.

Diary entries are date-based - you can create one entry for one day. To write entries you can use your favorite editor (I use Vim, for example) which will be invoked each time you need to create a new entry or edit an existing one. After editing the difference between the old version and the new one (if any) along with the time of modification will be saved.

To use tags, include a line of comma-delimited words prepended by a label. Default label is TAGS: (can be changed in the configuration file). For example:

TAGS: flowers, waterfalls

Installation

python setup.py install

Then you can use wl to run WriteLightly.

Usage

  • wl - show a calendar for the current month
  • wl today - open up editor to edit the entry for today
  • wl 2011-01-01 - open up editor to edit the entry for 1 January 2011
  • wl -t - show a list of all tags ever used
  • wl -t flowers - show a list of entries for tag "flowers"

Default keys

Calendar mode: use arrow keys and hjkl to move around, H and L to switch months, Enter to edit the selected entry. List mode: down arrow/j, up arrow/k to move down or up; Ctrl-E, Ctrl-Y to scroll; g, G to go to bottom or top, / to search.

Configuration

Configuration file is stored in ~/.writelightlyrc. Default config is created by setup.py. You can change there all key bindings used by the program and some general options like the directory for storing data, external editor, etc.

writelightly's People

Contributors

thesealion avatar

Stargazers

Nazeeruddin Ikram avatar  avatar

Watchers

 avatar Craig Moyer avatar James Cloos avatar Jose Salvatierra avatar

writelightly's Issues

locale.Error on mac os x

bash-3.2$ wl
Traceback (most recent call last):
File "/usr/local/bin/wl", line 3, in
from writelightly.main import main
File "/Library/Python/2.7/site-packages/writelightly/main.py", line 10, in
from writelightly.tags import show_tags, show_tag
File "/Library/Python/2.7/site-packages/writelightly/tags.py", line 14, in
locale.setlocale(locale.LC_ALL, ('en_US', 'UTF-8'))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 531, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

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.