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 🙏

© 2026 – Pkg Stats / Ryan Hefner

toggl-pilot

v0.10.0

Published

Unofficial CLI for Toggl Track time management

Downloads

815

Readme

toggl-pilot

npm version License: MIT GitHub

Unofficial CLI for Toggl Track time management, using the Toggl Track API v9.

Track your time from the terminal — start/stop timers, log entries, list projects and tags, edit and delete entries.

Install

npm install -g toggl-pilot

Quick Start

tgp auth <your-api-token>
tgp me
tgp track "Working on feature" -p "My Project"
tgp stop
tgp entry-list

Get your API token from your Toggl Profile (scroll to API Token section).

Running tgp auth saves your token so you don't need to pass it every time. You can also set the TOGGL_API_TOKEN environment variable, which takes priority over the saved config.

Run tgp without arguments to see all available commands.

Commands

General

| Command | Description | Docs | | -------------------- | --------------------- | ------------------------------------------------ | | tgp auth <token> | Save API token | | | tgp version | Show CLI version | | | tgp me | Verify authentication | docs/me.md | | tgp workspace-list | List workspaces | docs/workspace-list.md |

Entries

| Command | Description | Docs | | --------------------------------------- | --------------------------- | -------------------------------------------- | | tgp entry-list | List time entries for a day | docs/entry-list.md | | tgp track "Desc" -p "Project" -t tags | Start a timer or log time | docs/track.md | | tgp stop | Stop running timer | docs/stop.md | | tgp resume | Resume last stopped timer | docs/resume.md | | tgp entry-edit <id> -d/-p/-t/--dur | Edit a time entry | docs/entry-edit.md | | tgp week | Weekly summary by project | docs/week.md | | tgp entry-delete <id> | Delete a time entry | docs/entry-delete.md |

Clients

| Command | Description | Docs | | ----------------- | ---------------------- | ------------------------------------------ | | tgp client-list | List workspace clients | docs/client-list.md |

Projects

| Command | Description | Docs | | ------------------------------------- | ----------------------- | -------------------------------------------------- | | tgp project-list | List workspace projects | docs/project-list.md | | tgp project-create | Create a project | docs/project-create.md | | tgp project-edit <project> | Edit a project | docs/project-edit.md | | tgp project-rename <project> <name> | Rename a project | docs/project-rename.md | | tgp project-delete <project> | Delete a project | docs/project-delete.md | | tgp project-archive <project> | Archive a project | docs/project-archive.md | | tgp project-restore <project> | Restore a project | docs/project-restore.md |

Tags

| Command | Description | Docs | | -------------------------------- | ------------ | ---------------------------------------- | | tgp tag-list | List tags | docs/tag-list.md | | tgp tag-create "Tag Name" | Create a tag | docs/tag-create.md | | tgp tag-rename <id> "New Name" | Rename a tag | docs/tag-rename.md | | tgp tag-delete <id> | Delete a tag | docs/tag-delete.md |

Configuration

Run tgp auth <token> to save your API token to ~/.config/tgp/config.env (macOS/Linux) or %APPDATA%\tgp\config.env (Windows).

You can also set environment variables, which take priority over the config file:

| Variable | Required | Description | | -------------------- | -------- | ---------------------------------- | | TOGGL_API_TOKEN | Yes | Your Toggl Track API token | | TOGGL_WORKSPACE_ID | No | Defaults to your primary workspace |

License

MIT · Made by Stefano Locati