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

@web-resurrect/cli

v1.2.0

Published

CLI tool for the Web Resurrect API

Readme

@web-resurrect/cli

npm version AI Skill

Command-line interface for the Web Resurrect API. Resurrect expired domains from your terminal.

Installation

npm install -g @web-resurrect/cli

🤖 AI Agent Skill (Claude Code, Codex, Cursor, etc.)

Un skill agent-agnostic est disponible pour piloter la CLI depuis ton agent IA préféré. Il couvre tout le pipeline : création projet → enrichissement SEO → scraping Wayback → réécriture → catégorisation AI → publication WordPress → redirections, avec toutes les astuces et pièges connus.

Compatible avec Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, Windsurf et 40+ autres agents via npx skills :

# Install globalement pour tous tes projets
npx skills add MattiooFR/web-resurrect-skill -g

# Ou uniquement pour le projet courant
npx skills add MattiooFR/web-resurrect-skill

Une fois installé, tu peux simplement demander à ton agent :

"Ressuscite le domaine exemple.com"

Et il suivra automatiquement tout le pipeline documenté dans le skill.

Source du skill : github.com/MattiooFR/web-resurrect-skill

Quick Start

# Authenticate with your API key
wr login

# Check credit balance
wr credits

# Create a project for an expired domain
wr projects create example.fr --name "My Project"

# Wait for URL fetching to complete
wr jobs wait <job_id>

# Enrich with SEO data
wr enrich <project_id> --sources haloscan,majestic

# List pages sorted by traffic
wr pages list <project_id> --sort total_traffic

# Scrape all pending pages
wr scrape-bulk <project_id>

# Rewrite all scraped pages (add --wisewand for premium quality)
wr rewrite-bulk <project_id> --wisewand

# Generate images
wr image-bulk <project_id>

# Publish to WordPress
wr wp configure https://mysite.com --mode plugin
wr wp publish <page_id> --domain mysite.com --status draft

Commands

Authentication & Account

| Command | Description | |---------|-------------| | wr login | Authenticate with your API key | | wr credits | Show credit balance |

Projects

| Command | Description | |---------|-------------| | wr projects list | List all projects | | wr projects create <domain> [--name] | Create a project | | wr projects get <id> | Project details + stats | | wr projects delete <id> | Delete project (with confirmation) |

Pages

| Command | Description | |---------|-------------| | wr pages list <project_id> [--status] [--sort] [--limit] | List pages | | wr pages get <id> | Page details |

Content Processing

| Command | Cost | Description | |---------|------|-------------| | wr scrape <page_id> [--type] | 1 credit | Scrape a page | | wr scrape-bulk <project_id> [--status] [--limit] | 1/page | Scrape pages in bulk | | wr enrich <project_id> [--sources] | 0-10 | SEO enrichment | | wr rewrite <page_id> [--wisewand] [-w key] | 1-10 credits | Rewrite (basic default, premium Wisewand with --wisewand; Haloscan-origin pages are Wisewand-only) | | wr rewrite-bulk <project_id> [--wisewand] [--haloscan-only] [--limit] | 1-10/page | Bulk rewrite. --wisewand also covers Haloscan-origin pages; --haloscan-only limits to those | | wr image <page_id> | 1 credit | Generate featured image | | wr image-bulk <project_id> [--limit] | 1/page | Bulk image generation | | wr categorize <page_id> --domain=<wp> | Free | Suggest category |

WordPress

| Command | Description | |---------|-------------| | wr wp check <domain> | Check plugin status | | wr wp configure <url> [--mode] | Configure connection | | wr wp validate <domain> | Validate connection | | wr wp categories <domain> | List categories | | wr wp authors <domain> | List authors | | wr wp publish <page_id> --domain=<wp> | Publish page (original URLs preserved in plugin mode) | | wr redirects push <project_id> -d <domain> | Push all URL mappings to WP plugin (published → original URL, rest → homepage) | | wr redirects export <project_id> [-f format] | Export URL mappings to file (Basic Auth mode only) |

Jobs

| Command | Description | |---------|-------------| | wr jobs list [--status] [--type] | List jobs | | wr jobs get <id> | Job details | | wr jobs cancel <id> | Cancel a job | | wr jobs wait <id> [--timeout=300] | Wait for completion |

Credit Costs

| Action | Cost | |--------|------| | Create project + URL fetch | Free | | Haloscan enrichment | Free | | Majestic enrichment | 10 credits | | Scrape a page | 1 credit | | Rewrite (basic) | 1 credit | | Rewrite (Wisewand) | 10 credits (1 with own key) | | Image generation | 1 credit | | Categorization | Free | | WordPress publish | Free |

Configuration

Config is stored at ~/.config/wr/config.json. You can also set:

  • WR_API_KEY environment variable
  • WR_BASE_URL to override the API base URL

Development

npm install
npm run build
node dist/index.js