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

kapture-sdk

v1.0.0

Published

SDK for Kapture Cloud — Slack Huddle transcription as a service by fikar.ai

Readme

kapture-sdk

Official SDK for Kapture Cloud — Slack Huddle transcription as a service by fikar.ai.

Zero dependencies. Works in any Node.js app.


Install

npm install kapture-sdk

Quick start

const { KaptureClient } = require('kapture-sdk');

const kapture = new KaptureClient({ apiKey: 'kap_your_api_key_here' });

// Register your Slack workspace
await kapture.connectWorkspace('T0A7SPP18MC', 'My Company');

// Tell Kapture which channel to monitor for huddles
await kapture.monitorChannel('T0A7SPP18MC', 'C0A87NLSQ57', 'general');

// Register a webhook to receive results automatically
await kapture.setWebhook('https://yourapp.com/kapture-results');

// Or poll for a transcript after a huddle
const transcript = await kapture.getTranscript('R0AL5QZ49CY');
console.log(transcript.transcript); // full text

const participants = await kapture.getParticipants('R0AL5QZ49CY');
console.log(participants.participants); // [{user_id, name, email}]

const status = await kapture.getStatus('R0AL5QZ49CY');
console.log(status.status); // 'recording' | 'done' | 'not_found'

API Reference

new KaptureClient({ apiKey, baseUrl? })

| Option | Required | Description | |---|---|---| | apiKey | ✅ | Your Kapture API key (kap_...) | | baseUrl | ❌ | Override server URL. Default: https://kapture.duckdns.org |


.connectWorkspace(workspaceId, workspaceName, botToken?)

Register a Slack workspace with Kapture.

await kapture.connectWorkspace('T0A7SPP18MC', 'Acme Corp');

.listWorkspaces()

List all workspaces registered to your API key.

const workspaces = await kapture.listWorkspaces();

.monitorChannel(workspaceId, channelId, channelName?)

Tell Kapture to watch a specific channel for huddles.

await kapture.monitorChannel('T0A7SPP18MC', 'C0A87NLSQ57', 'general');

.getTranscript(huddleId)

Get the full transcript for a completed huddle.

const result = await kapture.getTranscript('R0AL5QZ49CY');
// result.transcript — full text
// result.duration   — seconds
// result.start_time / end_time
// result.workspace / channel

.getParticipants(huddleId)

Get participants who were in the huddle.

const result = await kapture.getParticipants('R0AL5QZ49CY');
// result.participants — [{user_id, name?, email?}]

.getStatus(huddleId)

Check if a huddle is still recording, done, or not found.

const result = await kapture.getStatus('R0AL5QZ49CY');
// result.status — 'recording' | 'done' | 'not_found'

.setWebhook(webhookUrl, workspaceId?)

Register a webhook. Kapture will POST to this URL when a transcript is ready.

await kapture.setWebhook('https://yourapp.com/kapture-results');

Webhook payload (POST to your URL):

{
  "transcription_id": 42
}

Use getTranscript with the huddle ID to fetch full details.


Getting an API key

  1. Visit https://kapture.duckdns.org/oauth/install
  2. Connect your Slack workspace
  3. Your API key is shown on screen — save it immediately

How it works

  1. Your Slack workspace sends huddle events to Kapture Cloud
  2. Kapture's bot joins the huddle as a headless Chrome instance
  3. Audio is captured via PipeWire and transcribed via OpenAI Whisper
  4. Results are saved to the database and delivered via webhook
  5. You fetch them via this SDK

fikar.ai • kapture.duckdns.org