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

@seoassist/seo-writer-cli

v1.0.0

Published

Professional SEO content generation CLI with AI-powered article creation

Downloads

12

Readme

SEO Writer CLI

Professional SEO content generation CLI with AI-powered article creation. Generate unlimited SEO-optimized articles using your own OpenAI API key.

Installation

npm install -g @seoassist/seo-writer-cli

Configuration

Create a .env file:

# Your OpenAI API key (required)
OPENAI_API_KEY=sk-...

# Your license key (required - get one at seowriter.com)
SEO_WRITER_LICENSE_KEY=

# Optional settings
SEO_WRITER_MODEL=gpt-4o-mini
SEO_WRITER_OUTDIR=out
SEO_WRITER_CONCURRENCY=3

Quick Start

  1. Get a license:
seo-writer billing subscribe --plan pro
  1. Set your license:
seo-writer license --set YOUR-LICENSE-KEY
  1. Generate an article:
seo-writer generate --keyword "content marketing" --words 1500 --images 3 --format pdf

Commands

Generate Single Article

seo-writer generate [options]

Options:
  -k, --keyword <keyword>      Primary keyword (required)
  -s, --secondary <keywords>   Secondary keywords (comma-separated)
  -w, --words <count>         Target word count (default: 1500)
  -t, --title <title>         Article title
  -a, --audience <audience>   Target audience
  --tone <tone>               Writing tone
  -b, --brand <brand>         Brand voice
  -f, --faq <count>           Number of FAQ items
  -d, --density <range>       Keyword density (e.g., "1.0,2.0")
  --schema                    Generate schema markup
  -i, --images <count>        Number of images
  --image-style <style>       Image style
  --image-aspect <ratio>      Aspect ratio (16:9, 4:3, 1:1, 9:16)
  --format <format>           Output format (pdf, docx, rtf, markdown)

Bulk Generation

seo-writer bulk -i <input-file> [-f <format>]

Supported input formats:
  - JSON
  - CSV
  - YAML

License Management

# Set license key
seo-writer license --set <KEY>

# Check license status
seo-writer license --status

Billing

# Subscribe to a plan
seo-writer billing subscribe --plan <solo|pro|agency>

# Open billing portal
seo-writer billing portal

Examples

Basic Article

seo-writer generate \
  --keyword "seo basics" \
  --words 1000

Full-Featured Article

seo-writer generate \
  --keyword "technical seo" \
  --secondary "site speed,core web vitals" \
  --words 2000 \
  --title "Technical SEO: The Developer's Guide" \
  --audience "web developers" \
  --tone "technical" \
  --brand "authoritative" \
  --faq 6 \
  --density "1.5,2.5" \
  --schema \
  --images 4 \
  --image-style "tech diagrams" \
  --image-aspect 16:9 \
  --format pdf

Bulk Generation

# Using JSON
seo-writer bulk -i articles.json -f pdf

# Using CSV
seo-writer bulk -i articles.csv -f docx

Output Structure

out/
├── article-slug-1/
│   ├── article-slug-1.pdf
│   ├── article-slug-1.meta.json
│   └── images/
│       ├── img-01.png
│       ├── img-02.png
│       └── img-03.png
└── article-slug-2/
    ├── article-slug-2.docx
    ├── article-slug-2.meta.json
    └── images/
        └── img-01.png

Plan Limits

| Feature | Solo | Pro | Agency | |---------|------|-----|--------| | Images per article | 2 | 6 | 10 | | Bulk articles | 5 | 20 | 20 | | Concurrent tasks | 2 | 3 | 5 | | Templates | ❌ | ✅ | ✅ | | Schema | ❌ | ✅ | ✅ |

Troubleshooting

OPENAI_API_KEY Required

  • Set your OpenAI API key in .env or environment
  • Get one at: https://platform.openai.com/api-keys

No Active License

  • Purchase a license: seo-writer billing subscribe --plan <plan>
  • Set your license: seo-writer license --set <KEY>

Limits Exceeded

  • Check your plan limits: seo-writer license --status
  • Upgrade if needed: seo-writer billing portal

Support

  • Documentation: https://seoassist.io/docs/seo-writer
  • GitHub: https://github.com/seoassist/seo-writer-cli
  • Email: [email protected]

License

MIT © SEO Assist


Note: This tool requires a valid license key to function. All commands are protected and will not work without proper authentication.