New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@thinqmesh/hrkit

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thinqmesh/hrkit

Local, white-label, AI-augmented HR app. One Python package, one SQLite file, no SaaS. This npm wrapper bootstraps and runs HR-Kit so users who only know npm can `npx @thinqmesh/hrkit serve`.

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

@thinqmesh/hrkit

npx wrapper for HR-Kit — a local, white-label, AI-augmented HR app in one Python package. This npm package shells out to python -m hrkit so users who only know npm can install and run HR-Kit without touching pip directly.

npm License: MIT GitHub stars

What HR-Kit is

A complete HR application that runs entirely on the HR person's laptop. Eleven modules (employees, departments, roles, documents, leave, attendance, payroll, performance, onboarding, exits, recruitment), one SQLite file, one Python process. AI assistant via your own OpenRouter or Upfyn key. Composio integrations for Gmail / Calendar / Drive. No SaaS, no per-seat fees, no vendor lock-in. MIT licensed.

The full repo, source, and Python README live at github.com/AnitChaudhry/HRKit.

Quick start

# Run with npx (recommended — no global install)
npx @thinqmesh/hrkit serve

# Or install globally
npm install -g @thinqmesh/hrkit
hrkit serve

That's it. The wrapper will:

  • Detect a Python 3.10+ interpreter on your system.
  • Check whether the hrkit Python package is installed.
  • If not, run pip install hrkit from PyPI (override the source with HRKIT_INSTALL_SOURCE=git if you want the GitHub main branch instead).
  • Forward your command to python -m hrkit <args>.

When npx @thinqmesh/hrkit is run with no arguments, it defaults to serve — the same as python -m hrkit serve.

Available commands

Anything the underlying Python hrkit CLI accepts. The most common ones:

CommandWhat it does
npx @thinqmesh/hrkit serveStart the app on your own machine at http://127.0.0.1:8765/. Browser opens automatically. The URL is local-only and stops working when you close the terminal.
npx @thinqmesh/hrkit init <dir>Scaffold a new HR workspace folder
npx @thinqmesh/hrkit settingsShow or set BYOK API keys (AI provider, Composio)
npx @thinqmesh/hrkit migrateApply pending DB migrations to the workspace
npx @thinqmesh/hrkit statusPrint workspace + database health
npx @thinqmesh/hrkit activityTail the workspace activity log
npx @thinqmesh/hrkit --helpShow all subcommands (delegates to the Python CLI)

There is no hosted version of HR-Kit. http://127.0.0.1:8765/ is served by the hrkit serve process running on your own machine. It is unreachable from the public internet and dies the moment you stop the command.

Each HR module also adds its own subcommands (e.g. employee-add, leave-approve, payroll-run-create). Run with --help to see them.

Configuration

White-label your app instance via environment variables:

APP_NAME="Acme HR"            # title shown everywhere in the UI
AI_PROVIDER="openrouter"      # or "upfyn"
AI_API_KEY="sk-..."           # your provider key
COMPOSIO_API_KEY="..."        # for Gmail/Calendar/Drive integrations

You can also set these later via the in-app /settings page.

Wrapper-specific env vars

These tune how this npm wrapper bootstraps Python:

VariableDefaultPurpose
HRKIT_PYTHON(auto-detected)Absolute path to a specific Python interpreter to use
HRKIT_INSTALL_SOURCEpypiWhere to install from. pypi = pip install hrkit (default); git = pip install from the GitHub main branch (useful for testing unreleased features)
HRKIT_PIP_NAMEhrkitOverride the PyPI distribution name
HRKIT_GIT_URLgit+https://github.com/AnitChaudhry/HRKit.gitOverride the GitHub install URL

Requirements

  • Node.js ≥ 18 (for this wrapper)
  • Python ≥ 3.10 with pip available
  • A modern web browser (Chrome / Edge / Firefox / Safari)

That's it. No Docker, no databases to provision, no Redis.

How it works

This wrapper is intentionally tiny — under 200 lines of Node.js. On invocation it:

  • Looks for python3 / python / py -3 (Windows) until it finds a working interpreter ≥ 3.10. Honors HRKIT_PYTHON if set.
  • Runs python -c "import hrkit" to check whether the Python package is present.
  • If missing, prompts for confirmation and runs python -m pip install --user <source>.
  • Spawns python -m hrkit <your args> with stdio: 'inherit' so you see the Python app's output directly.

The actual app, all the data, and all the logic live in the Python package at github.com/AnitChaudhry/HRKit. This package is just the install ergonomics for npm-native users.

Troubleshooting

"No Python 3.10+ interpreter found" — Install Python from https://python.org/downloads/. On Windows, choose the "Add to PATH" option during install, or use HRKIT_PYTHON=C:\path\to\python.exe.

"pip install exited with code N" — Run the printed command yourself to see the full error. Most often it's a network issue or a missing build toolchain (the Python deps for pydantic-ai-slim[openai]).

"hrkit installed but still not importable" — pip install --user sometimes installs into a directory that isn't on the active Python's sys.path. Try python -m site --user-site to see where, and ensure that matches the Python the wrapper picked up.

License

MIT © HR-Kit contributors

Keywords

hr

FAQs

Package last updated on 27 Apr 2026

Related posts