H3RALD

DAYS · NOW · ARTICLES · PROJECTS · GRIMOIRE

Introducing RedBook (and the new Code section)

[date] Saturday, 29 September 2007

I'm somehow pleased to announce the opening of a new section on this site. Nothing too big actually, it's just a page with a few (one for now) brief descriptions of open source programs and scripts I made and I'd like to share with my readers.

Don't expect fancy stuff: (luckily) I don't code for a living, I code for pleasure and I code small things. Lately I've been trying to write a small Ruby program able to log my daily activities and also display them in a pleasant enough way, so I started using my lunch breaks at work more constructively and I came up with RedBook an interactive command-line program written in Ruby.

Main features:

  • Log timestamped and tagged messages to a single YAML file
  • Load and display messages containing a certain string, or certain tags or within a time frame.
  • Calculate the time elapsed between two or more tasks.
  • Export loaded messages to YAML, TXT or CSV format.

All done via command line via simple commands:

:log This is a test message :tags test

:load :last 30 :from last week

:timecalc 2 5

:save test.txt

Thanks to the wonderful Chronic library, you can specify your time frames using natural language expressions like “8 in the morning”, “this tuesday”, “last month” and so on…

Here's a screenshot showing RedBook in action:

RedBook is of course free, open source software licensed under the terms of the BSD license. It can be installed on any machine able to run Ruby and there's also an EXE version for the lazy windows folks who don't want to install Ruby, packed with RubyScript2Exe. A more in-depth article explaining how RedBook works will hopefully be completed soon is available :here

H3RALD Web Site v540-B

© 2004—2026 Fabio Cevasco

ABOUT · BOOKMARKS · TOOLS · CODE
xxiivv webring @h3rald@merveilles.town lieu
Unless stated otherwise, all the content published on this web site is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. The source code of this web site, such as its layout, stylesheets, custom min rules and code is licensed under the terms of the MIT License and it is available on Sourcehut.