
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
Run and test the Tracklify CLI locally (without compiling or publishing to npm). This guide also explains how the CLI stores your personal token separately for local vs production use.
This folder (npm-cli) contains the CLI entry tracklify.js. The package.json already maps the binary name tracklify to this file.
npm-cli/
├─ tracklify.js # CLI entry point
└─ package.json # exposes `tracklify` bin
The CLI keeps your secret in your home directory under ~/.tracklify/:
~/.tracklify/key--local): ~/.tracklify/key_localThis separation lets you use different tokens for production and local stacks without overwriting each other.
You have two easy options.
From the repo root:
# Show help
node npm-cli/tracklify.js --help
# Log in (prod)
node npm-cli/tracklify.js login <SECRET>
# Log in (local) — stores token in ~/.tracklify/key_local and uses local API
node npm-cli/tracklify.js login <SECRET> --local
# Print current-task branch name (prod)
node npm-cli/tracklify.js branch
# Print current-task branch name (local)
node npm-cli/tracklify.js branch --local
# Print current-task commit suffix (prod)
node npm-cli/tracklify.js task
# Print current-task commit suffix (local)
node npm-cli/tracklify.js task --local
If you prefer to use the tracklify command directly without node prefix:
cd npm-cli
npm link
# Then anywhere on your machine you can run:
tracklify --help
tracklify login <SECRET>
tracklify login <SECRET> --local
tracklify branch
tracklify branch --local
tracklify task
tracklify task --local
To remove the link later:
cd npm-cli
npm unlink -g
login <secret> [--local]
~/.tracklify/key (prod) or ~/.tracklify/key_local (local).--local is provided, subsequent commands with --local talk to http://tracklify.localhost:3102.branch [--local]
task [--local]
<project>/<taskHid>/<taskSlug> suffix for commit messages.# Create a new branch for the current task (prod)
git checkout -b $(node npm-cli/tracklify.js branch)
# Same, but against your local Tracklify stack
git checkout -b $(node npm-cli/tracklify.js branch --local)
# Add task suffix to commit message (prod)
git commit -m "my text $(node npm-cli/tracklify.js task)"
# Local stack variant
git commit -m "my text $(node npm-cli/tracklify.js task --local)"
Regenerating the token in the web UI will require you to run the CLI login again.
2.login again with the correct token (remember to include --local if you’re testing locally).3 and tells you you’re not tracking any task. Start tracking a task in Tracklify and retry.1 and prints the error message.--local switches both the API base URL and the secret file (key_local).--local is used but key_local isn’t present, the CLI will try falling back to key when reading the token.0600 permissions under a 0700 directory for safety.FAQs
Tracklify CLI integration tool (get active task)
The npm package tracklify receives a total of 20 weekly downloads. As such, tracklify popularity was classified as not popular.
We found that tracklify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.