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

@mkterswingman/5mghost-timber

v0.0.6

Published

Bun-first TikTok data CLI with a companion cloud runtime.

Readme

5mghost-timber

Bun-first TikTok data CLI with a companion cloud runtime.

This repository replaces the previous TikTok MCP direction. The local CLI should stay simple: auth, diagnostics, output formatting, exports, and calls into cloud-backed TikTok data APIs. Cloud code owns no-cookie TikTok transport, shared limits, retries, caching, and long-running browser jobs.

Install

5mghost-timber requires Bun >=1.2.0.

npm install -g @mkterswingman/5mghost-timber

Then authenticate with the shared 5mghost auth flow or provide a token:

5mghost-timber auth login
# or
TIMBER_TOKEN=<token> 5mghost-timber check

Data commands use the production Timber cloud by default:

https://mkterswingman.com/5mghost/timber

Use TIMBER_CLOUD_BASE_URL only when targeting another Timber runtime.

Development

bun install
bun run build
bun run test
bun run start:api

CLI

5mghost-timber --help
5mghost-timber auth status
5mghost-timber check
5mghost-timber diagnostics --out diagnostics.json
5mghost-timber search videos "cooking"
5mghost-timber search suggestions "cook"
5mghost-timber trending hashtags --country US --period 7 --limit 20
5mghost-timber trending creators --country US --period 7 --limit 20
5mghost-timber trending sounds --country US --period 7 --limit 20
5mghost-timber video detail "https://www.tiktok.com/@user/video/123"
5mghost-timber comments list 123 --limit 20

Current Stable Scope

Stable in the public package:

  • search videos
  • search suggestions
  • trending hashtags
  • trending creators
  • trending sounds
  • video detail
  • comments list
  • auth, check, diagnostics

search videos auto-loads the available general-search video pages behind the cloud API and returns compact filtered video items; users do not need to choose a result count for the normal path. The cloud route loads until TikTok stops pagination or Timber hits its safety budget, and returns partial results if a later page hits an upstream login challenge after earlier pages produced videos.

Deferred or experimental:

  • video-list submit/status/result: command and job shell exist, but production collection is deferred until the browser identity-slot path is proven.
  • trending videos: command/API contract exists, but TikTok's current public upstream returns unavailable/404.

The CLI contract is documented in docs/CLI_CONTRACT.md. Cloud runtime details are documented in docs/CLOUD_RUNTIME.md.

Status

GSD planning is in .planning/. The current implementation has the CLI command contract, cloud API boundary, search transport seam, native read-only providers, and SQLite video-list job runtime. Trending hashtags, creators, and sounds run through Timber cloud code; trending videos remain limited by TikTok's currently unavailable public upstream.

Migration Notes