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

timescout-bridge

v0.1.0

Published

TimeScout Screenpipe bridge — reads local Screenpipe data, runs pattern detection locally, and uploads observations to TimeScout. Screenshots/audio/clipboard are not uploaded, but observations include on-screen text and meeting transcript excerpts; secret

Readme

timescout-bridge

The TimeScout bridge reads your local Screenpipe database, runs pattern detection on your machine, and syncs the resulting observations to TimeScout.

What is uploaded: aggregated observations ("Used iTerm2 12 times for 45 minutes today") — and each observation carries text alongside the aggregate. Specifically, screen-reading observations include up to 500 characters of the text read off your screen, and meeting observations include the transcript of the meeting (up to 5,000 characters). Browser URLs and window titles are included verbatim.

What is not uploaded: screenshot images, audio files, and clipboard contents.

Before upload every text field is passed through a best-effort scrubbing pass for obvious machine-readable secrets. That pass is incomplete — see What gets scrubbed, and what does not. Run the bridge only if you are comfortable with the text on your screen and in your meetings being sent to TimeScout.

Install

# Prereq — Screenpipe running locally
brew install screenpipe && screenpipe

# Install the bridge
npm install -g timescout-bridge

Configure

  1. Go to https://timescout.ai/settings/bridge
  2. Click Create API key, copy the key (shown only once)
  3. Run:
timescout-bridge login
# Paste the key when prompted

Usage

# One-shot sync of everything new
timescout-bridge sync

# Daemon — sync every 5 min
timescout-bridge watch

# Inspect current state
timescout-bridge status

# Remove local config
timescout-bridge logout

Custom Screenpipe path

If Screenpipe's DB isn't at the default (~/.screenpipe/db.sqlite):

timescout-bridge login --db /custom/path/db.sqlite
# or
SCREENPIPE_DB_PATH=/custom/path/db.sqlite timescout-bridge sync

Self-hosted TimeScout

timescout-bridge login --api-url https://timescout.example.com
# or
TIMESCOUT_API_URL=https://timescout.example.com timescout-bridge sync

What gets synced

The bridge reads three Screenpipe tables (frames, audio_transcriptions, ocr_text) and produces four types of observations:

| Type | When | Example | |---|---|---| | app_switch | App used 3+ times in the sync window | "Used Slack 47 times (128 min) today: #ops, #engineering" | | meeting | 5+ consecutive audio segments <2 min apart | "Meeting 42 min, 3 speakers: 'let's align on the Q2 roadmap…'" | | screen_capture | 6+ consecutive OCR frames in same app, >3 min | "Spent 18 min reading HubSpot (Pipeline)" | | clipboard | (reserved — Screenpipe doesn't yet expose clipboard events) | — |

What gets scrubbed, and what does not

Every text field is passed through a regex scrubbing pass before upload (src/redact.ts). It is best-effort pattern matching, not a guarantee. Treat it as a safety net for accidental key leaks, not as a privacy boundary.

Patterns it does catch:

  • Credit card numbers (13-19 digit sequences)
  • US SSNs (NNN-NN-NNNN)
  • AWS access keys (AKIA…) and 40-char base64 blobs
  • GitHub tokens (ghp_, gho_, ghs_)
  • Anthropic keys (sk-ant-…)
  • OpenAI keys (sk-…)
  • Slack tokens (xoxb-, xoxp-)
  • JWTs
  • PEM private-key blocks
  • Bearer / Basic / Authorization header values
  • password / passwd / pwd / secret / apikey / api_key query parameters in URLs

Patterns it does NOT catch — these are uploaded as-is:

  • Anything spoken aloud in a meeting. The transcript is uploaded verbatim (post-pattern-scrub), so a password, account number or private detail said out loud is sent.
  • Anything written in prose rather than a recognized token format — names, addresses, health or financial details, internal project names, contract terms read off your screen.
  • OAuth and session values in URLs: code=, access_token=, id_token=, state=, sig=, and session cookies.
  • Token formats not in the list above, including sk-proj-…, Stripe (sk_live_, rk_live_), Google (AIza…), GitLab (glpat-), Twilio (SK…), npm (npm_), and Slack app/refresh tokens.
  • Credentials embedded in a connection string or DSN (postgres://user:pass@host).
  • Email addresses and phone numbers.

Field lengths are hard-capped (summary ≤ 500, context ≤ 5000, appName ≤ 200, actionUrl ≤ 2000). Note that the cap truncates; it does not drop the field. A 5,000-character slice of a meeting transcript is still uploaded.

You can add your own patterns via redactPatterns in the config file (see below) — that is the supported way to scrub something the built-in list misses.

Configuration file

Stored at ~/.timescout/config.json with 0600 perms:

{
  "apiKey": "timescout_bridge_...",
  "apiUrl": "https://timescout.ai",
  "screenpipeDbPath": "/Users/you/.screenpipe/db.sqlite",
  "redactPatterns": []
}

Add extra redaction regex strings (applied globally, replaced with [REDACTED:USER]) via redactPatterns. E.g. to scrub a specific internal project codename:

{ "redactPatterns": ["\\bProjectRedacted\\b"] }

Cursor state lives at ~/.timescout/cursor.json — delete to force a full re-sync.

Development

git clone https://github.com/liorwn/timescout
cd timescout/bridge
npm install
npm run build
node dist/cli.js status

License

MIT