npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

adn2do

v0.1.2

Published

A Node.js application that imports App.net posts into Day One using the Day One CLI.

Downloads

26

Readme

adn2do (App.net to Day One)

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

Dependencies

Usage

./adn2do/bin/adn2do

Introduction

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: http://www.tuaw.com/2008/04/14/mac-101-schedule-your-scripts/.

Important

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.

Options

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)

Todo

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

License

Copyright (c) 2012 Michael Diolosa <[email protected]>

The adn2do application is licensed under the MIT license.