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

did

v0.5.0

Published

A command line interface to idonethis.

Downloads

44

Readme

did

A Node based CLI for iDoneThis

Installation

  1. Install Node.js
  2. Run npm install -g did. You may have to preface this with sudo depending on your permissions.
  3. Set up your iDoneThis API Token. See below for help with that. You can get your api key here: https://idonethis.com/api/token/

Help

Run did --help or did COMMAND --help for help using the tool

Options

API Tokens

Did will first look on process.env for the IDONETHIS_API_TOKEN variable. It will then attempt to load a "didconfig.json" file in your Operating Systems data directory. A token loaded from this file will take precedence over one on process.env. If you're too lazy to add your token to your environment, you can specify it at runtime with -t or --api-token. This method has the higest precedence when determining which token to use.

did -t top-secret-api-token do MyTeamName "I fixed a thing!"

Set or change your token by running:

did config --api-token <token>

This saves it to a didconfig file in your Operating System's data directory.

Goals

Add a done as a goal by using the -g or --goal flag. This basically will just append '[] ' to the task you enter.

Interactive mode

Add dones interactively. You must specify a valid Team. enter 'done' to exit interactive mode.

did -i Webmaker

With default team set: did do -i <- sadly, commander is kinda sketchy so 'did -i' won't work.

Default team

Set your default team by passing the --default-team option to the config command.

did config --default-team Webmaker

Command Reference

List your teams

did teams

Create a new done for a Team you're on

did do [team name] "The done that you did"

With default team set:

did do "The done that you did"

Assuming your team name isn't 'teams', you can omit the do

did [team name] "yay shorthand!"

With default team set:

did "such ease, wow"

Add a goal!

did -g "fixed this thing and that!"

If you're not sure what the team name is, run did teams to list your teams

Open iDoneThis in your default browser

did open [optional team name]

As stated above, if you don't know what your teams are, run did teams. Leaving out a team name will bring you to your iDoneThis homepage.

Set a default team and api token

did config --default-team Webmaker --api-token mySecretToken

Print your config with: did config