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

@radmen/git-task

v0.1.0

Published

Silly GIT-based local todo list

Downloads

1

Readme

git-task

asciicast

It's quite common for me to plan next commits. I've been looking for some suitable solution which could help me manage the things I want to do.

But not a todo app. Something that is integrated with git. First I've tried to use mashup of git config and bash prompt. Later I've found about adding empty TODO commits. I've tried using twig. Yet none of those solutions suite my needs.

So I've created my own.

Wait, another todo manager?

Well, yes and no. Yes, it stores a list of todos. No, they're not just todos. Those are my future commits.
git-task allows to define such commits, and later use them during actual commit.

asciicast

Idea is simple. Define future commits (aka tasks), pick one and start working. When finished type git commit.
git-task will generate commit message for you - simply pick one of tasks, uncomment it and save the message. Task will be automatically marked as finished.

Protip: I try to name my commits using imperative mood. It's also quite useful for defining a task so it's a win-win :)

How does it work?

It's really silly project so its mechanics are simple. git-task stores a json file inside .git directory.

This way it's "bound" with the repository and will not "leak" to the server (this is only list of my future step, not a todo for entire team).
This file does not interfere with git so it won't report any problems (or changes).

For advanced usage (preparing commit message; automatic task finishing) it's required to install git hooks in local repository.

Requirements

  • node >= 7.10
  • npm

Installation

@TODO

Available commands

add <task>

Adds new task to a current branch.

It's a default command so add keyword may be omitted.

git task Some important stuff

list / l

Lists tasks for current branch

git task l

finish <id> / f <id>

Marks selected task as finished.
This can be undone with -u flag.

git task f 1
git task f -u 2

prune

Remove all finished tasks for current branch.

git task prune

delete <id>

Remove selected task.

git task delete 1

hooks

Try to install git hooks to local repository.

This step is optional, however highly encouraged. Installed hooks will prepare commit message and automatically marked task as finished once it's commited.

git task hooks

For various reasons this command may fail. If so, hooks need to be installed manually.

Software provided as is

This "software" is for my private use. For my own reasons I decided to skip writing test suite.

This means that you're using it on your own risk :)