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

@cozymantis/ideon

v0.1.0

Published

CLI for generating rich articles and images from ideas.

Readme

ooooo oooooooooo.   oooooooooooo   .oooooo.   ooooo      ooo
`888' `888'   `Y8b  `888'     `8  d8P'  `Y8b  `888b.     `8'
 888   888      888  888         888      888  8 `88b.    8
 888   888      888  888oooo8    888      888  8   `88b.  8
 888   888      888  888    "    888      888  8     `88b.8
 888   888     d88'  888       o `88b    d88'  8       `888
o888o o888bood8P'   o888ooooood8  `Y8bood8P'  o8o        `8

Ideon

Ideon is a TypeScript CLI that turns an idea into one or more Markdown outputs, with optional generated images for article runs.

Features

  • End-to-end pipeline with stage visibility: planning, sections, image prompts, image rendering, and output assembly
  • Interactive terminal UI with clear per-stage status and summaries
  • Non-interactive fallback logging for CI and piped runs
  • Resume support through local stage checkpoints in .ideon/write/state.json
  • Config precedence across saved settings, job files, environment variables, and CLI flags
  • Secure secret storage in OS keychain (OpenRouter + Replicate tokens)
  • Runtime validation for generated plan and image prompt payloads
  • Retry + timeout hardening on OpenRouter requests

Installation

Prerequisites:

  • Node.js 20+
  • npm 10+

Install dependencies:

npm install

Run the CLI in development mode:

npm run dev -- --help

Getting Started

  1. Configure credentials interactively:
npm run dev -- settings
  1. Generate your first article:
npm run dev -- write "How small editorial teams can productionize AI writing"
  1. Generate multi-output runs:
npm run dev -- write "How small editorial teams can productionize AI writing" --target article=1 --target x-post=2 --style professional
  1. Run a safe pipeline dry run (no provider calls):
npm run dev -- write --dry-run "How AI changes technical publishing"

Core Commands

ideon settings
ideon write "An article idea"
ideon write --job ./job.json
ideon write --dry-run "An article idea"
ideon write resume
ideon delete my-article-slug
ideon preview

Preview Generated Articles

Serve the latest generated article locally with assets and open it in your browser:

npm run preview

You can also preview a specific article and choose a port:

npm run dev -- preview ./output/my-article.md --port 4173

Credentials

Live runs require:

  • IDEON_OPENROUTER_API_KEY
  • IDEON_REPLICATE_API_TOKEN

You can set these as environment variables, or save them via ideon settings (recommended).

Output

By default, Ideon writes:

  • Generation directories: /output/<timestamp>-<slug>/
  • Markdown outputs per target: article-1.md, x-1.md, linkedin-1.md, and others
  • Run artifacts per generation: job.json, generation.analytics.json
  • Local resume artifacts: .ideon/write/state.json

Development Scripts

npm run lint
npm test
npm run build
npm run preview
npm run pricing:refresh

Documentation

  • User and technical docs site source: docs-site/
  • Start docs locally: npm run docs:start
  • Build docs: npm run docs:build

Key docs:

  • CLI commands: docs-site/docs/reference/cli-reference.md
  • Configuration and precedence: docs-site/docs/guides/configuration.md
  • Pipeline and resume: docs-site/docs/guides/pipeline-stages.md
  • Output artifacts: docs-site/docs/guides/output-structure.md
  • Performance tuning: docs-site/docs/guides/performance-and-costs.md

Planned GitHub Pages URL:

  • https://cozymantis.github.io/ideon/