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

postkit

v0.3.0

Published

Scaffold a Claude-Code-native social-media post workspace — skills for brand setup, drafting, reviewing, and rendering HTML/CSS carousels to PNG.

Readme

Postkit

npm version npm downloads license node GitHub stars

A Claude-Code-native workspace for social-media posts. Scaffold once, then let Claude skills handle brand setup, drafting, critique, and rendering.

Slides are HTML/CSS. Rendering is Puppeteer. Exports are native dimensions for TikTok, Instagram, X, and LinkedIn.

npx postkit            # scaffolds ./postkit/
cd postkit
claude                 # open Claude Code
/postkit-setup         # answer a few brand questions
/postkit-new           # draft a post (or a whole series)
/postkit-render        # export PNGs

That's it — no more postkit new, postkit render, postkit watch. The workflow lives in Claude skills.

What npx postkit gives you

postkit/
├── .claude/skills/
│   ├── postkit-setup/      brand/voice/visual intake → saves to Claude memory
│   ├── postkit-idea/       creative brainstorm + sequence planning (brand-aware)
│   ├── postkit-new/        draft a post or series (reads brand memory + theme.css)
│   ├── postkit-render/     shell out to `npx postkit render` for PNG export
│   └── postkit-review/     strategy + copy + design critique in one pass
├── theme.css               palette, fonts, component classes — edit freely
├── CLAUDE.md               guide Claude uses inside this workspace
├── posts/                  your posts
└── assets/                 images, photos, backgrounds

Your brand profile (handles per platform, voice, audience, goals, hook formulas, …) lives in Claude Code's per-workspace memory, not as a file in the project tree. /postkit-setup writes it there; /postkit-new and /postkit-review read it from there.

Re-run npx postkit anytime to upgrade the skills. Managed files (.claude/skills/*) are refreshed. User files (theme.css, CLAUDE.md, posts/, assets/) and your brand memory are left alone.

Why postkit?

  • HTML/CSS is the source of truth. Full control of every pixel, version-controllable.
  • Brand-aware drafting. /postkit-new reads your brand profile from Claude's memory so every post matches your voice, audience, and goals — no generic AI slop.
  • Theme once, reuse everywhere. Palette and type live in theme.css; slides pull from it.
  • Native export dimensions for every major platform (9:16, 4:5, 1:1, 16:9, 3:4).
  • Skills over commands. The workflow is conversational, not a CLI cheat-sheet.
  • Docker fallback when you'd rather not install Chrome locally.

Install

Postkit needs Node 20+ and a Chrome/Chromium binary (Puppeteer downloads one on first install; a system install works too). You don't install postkit — you run it via npx each time you scaffold or upgrade:

npx postkit            # scaffold or refresh ./postkit/
npx postkit@latest     # same, but pin to the newest version

On minimal Linux systems you may also need native libs for Chromium:

sudo ./setup.sh        # apt-based

Or see Docker.

Formats

Every post has a post.json with a format:

{ "format": "9:16" }

| Key | Dimensions | Platforms | | ------ | ----------- | -------------------------------- | | 9:16 | 1080 × 1920 | TikTok, Instagram Reels, Stories | | 4:5 | 1080 × 1350 | Instagram feed (portrait) | | 1:1 | 1080 × 1080 | Instagram feed, X posts | | 16:9 | 1920 × 1080 | X, YouTube thumbnails, LinkedIn | | 3:4 | 1080 × 1440 | LinkedIn carousels |

/postkit-new asks which format you want; /postkit-render uses what post.json says (or override with npx postkit render posts/<slug> --format 1:1).

Theming

All visual choices are CSS custom properties in theme.css:

:root {
  --bg: #ffffff;
  --primary: #2563eb;
  --accent: #f59e0b;
  --text: #111827;
  --font-display: "Inter", system-ui, sans-serif;
  /* …etc */
}

Slides link to ../../theme.css and can layer per-slide overrides in a <style> block. See examples/quickstart/ for a complete dark-mode theme.

Docker

Prefer not to install Chrome? The repo ships a Dockerfile that bakes in everything:

docker build -t postkit .
docker run --rm -v "$PWD":/work -w /work postkit render posts/my-post

The skills

| Skill | Purpose | | ------------------ | ----------------------------------------------------------------------------- | | /postkit-setup | Interviews you about brand, audience, voice, visuals → saves to Claude memory | | /postkit-idea | Brand-aware creative brainstorm, then plans a resonant sequence of follow-ups | | /postkit-new | Drafts a post (or a series) using the brand memory + theme.css | | /postkit-render | Exports slides to PNG via Puppeteer | | /postkit-review | Critiques a draft on strategy, copy, and design in one pass |

CLI (used internally by skills)

Only two commands exist; you rarely type them yourself:

npx postkit                      Scaffold or refresh ./postkit/
npx postkit render <post>        Render slides to PNG  (called by /postkit-render)

Roadmap

  • [ ] /postkit-schedule — plan a posting calendar from the brand memory
  • [ ] Built-in asset optimizer
  • [ ] Template gallery (community themes)
  • [ ] Direct upload hooks (Buffer, Typefully, …)
  • [ ] Figma import

Have an idea? Open an issue.

Contributing

PRs welcome — see CONTRIBUTING.md.

License

MIT