node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


adn2do ( to Day One)

adn2do is a Node.js application that imports posts into Day One after they have been pre-processed by IFTTT.





This script parses the files generated by the IFTTT recipe above and passes the parsed data through the Day One CLI. It keeps track of the processed posts through the use of a configuration file (~/.adn2do) in the user's home directory on their Mac. In theory this could be applied to Twitter posts as well.

If you would like to run adn2do at intervals throughout the day you could potentially utilize iCal's Run script alarm. More information can be viewed here:


If the configuration file ~/.adn2do is somehow truncated the script will attempt to import all of your posts over again. Ensure you keep backups of your Day One journal. Backups can be generated automatically by Day One.


If you alter the code in adn2do/bin/adn2do you can pass in various options:

  • alterPost: a method that will alter the post prior to passing it onto the Day One CLI. I personally use this method to add hashtags (#adnpost) prior to creating a Day One entry. The method takes a single argument, a Post object. The Post object has four properties (message, link, via, and date) and two methods (key and dayOneEntry). You should not override the key method when altering the post. (default: undefined)
  • configPath: You can assign a new path to the adn2do configuration file, this must be the full path to the file itself, not the directly it resides in. (e.g. /Users/mbrio/.adn2do). The paths specified are not expanded so the use of ~ for a user's home directory is forbidden. (default: /Users/{username}/.adn2do)
  • dayonePath: The full path to the Day One CLI. (default: /usr/local/bin/dayone)
  • postsPath: The full path to the directory the IFTTT processed files reside. (default: /Users/{username}/Dropbox/adn2do)


  • Support downloading and attaching images to Day One entries.
  • Remove the IFTTT and Dropbox dependencies by connecting directly to


Copyright (c) 2012 Michael Diolosa <>

The adn2do application is licensed under the MIT license.