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

@loomta/cli

v0.1.1

Published

Loomta CLI — the cheapest way to grow your app on TikTok. Schedule and publish TikTok posts (video + photo slideshows), generate captions, and manage media from the command line or an AI agent.

Readme

Loomta CLI

The cheapest way to grow your app on TikTok — from your terminal or an AI agent.

loomta is a thin, JSON-in/JSON-out command-line wrapper over the Loomta public API. It lets you (or an AI agent) schedule and publish TikTok posts, upload media, and generate captions without touching the web app.

Install

npm install -g @loomta/cli
# or
pnpm install -g @loomta/cli

Requires Node.js ≥ 20.

Authenticate

Create an API key in your Loomta workspace settings (API Keys → Create key), then:

loomta auth:login --api-key loomta_sk_xxx
# or
export LOOMTA_API_KEY=loomta_sk_xxx

loomta auth:status

Credentials are stored at ~/.loomta/credentials.json (mode 600). The LOOMTA_API_KEY environment variable takes priority. Point at a self-hosted backend with LOOMTA_API_URL.

Quick start

# Find your TikTok platform id
loomta platforms:list

# Upload media (required before posting — returns a READY object with an id)
MEDIA_ID=$(loomta upload launch.mp4 | jq -r '.id')

# Publish now
loomta posts:create -c "We just shipped 🚀 #buildinpublic" \
  -m "$MEDIA_ID" -i "<platform-id>" --mode now

# Or schedule
loomta posts:create -c "Coming soon" -m "$MEDIA_ID" -i "<platform-id>" \
  -s "2026-07-01T12:00:00Z"

Hands-off photo slideshow (AI writes captions, generates images, and creates the post):

# --wait polls the async job until it finishes and prints the final result
loomta slides:generate -i "<platform-id>" --mode draft \
  --topic "3 reasons indie devs love our app" --wait

Commands

| Command | Description | |---|---| | auth:login --api-key <key> | Validate and store an API key | | auth:status | Check the current key | | auth:logout | Remove stored credentials | | platforms:list | List connected accounts and their IDs | | platforms:schema <id> | Posting limits + settings for a platform | | upload <file> | Upload an image/video, returns a READY media object | | media:list | List uploaded media (--folder-id, --media-type, --source) | | media:folders:list / media:folders:create <name> | Manage folders | | posts:create | Create a post (-c content, -i platform ids, -m media ids, --mode, -s, --comments) | | posts:list | List posts in a date range | | posts:get <id> | Fetch one post group | | posts:reschedule <id> -s <iso> | Change scheduled time | | posts:publish <id> | Publish or schedule a DRAFT (--mode now\|schedule, -s) | | posts:delete <id> | Delete a post | | slides:caption | Generate AI captions for a slideshow (uses credits) | | slides:composite | Bake captions onto images (free) | | slides:generate | Hands-off slideshow: captions + AI images + post, async (--wait to poll) | | slides:generate:status <jobId> | Check a generation job's status |

Both posts:create and posts create syntaxes work. Run loomta <command> --help for details.

Use as an AI agent skill

This repo ships a SKILL.md and a .claude-plugin manifest so agents can install and drive the CLI directly. See SKILL.md for the full agent playbook.

License

MIT