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

internal-linking-tool

v1.0.2

Published

AI-powered WordPress internal linking tool using Google Gemini. Automatically analyzes content, suggests relevant internal links, and applies them to your WordPress site.

Readme

Internal Linking Tool

AI-powered WordPress internal linking tool using Google Gemini. Automatically analyzes your site content, suggests relevant internal links based on 12 SEO techniques, and applies them directly to your WordPress site.

Features

  • Sitemap & WordPress API crawling – fetches all posts, pages, and categories
  • AI-powered analysis – Google Gemini analyzes content and suggests contextual internal links
  • 12 SEO techniques – pillar/cluster linking, orphan page rescue, topical authority, and more
  • Review & approve workflow – approve/reject individual suggestions or in bulk
  • One-click apply – pushes approved links to WordPress via the REST API
  • AutoPilot mode – fully automated pipeline: fetch → analyze → suggest → approve → apply
  • Resume support – pick up where you left off if interrupted
  • Export – download approved suggestions as JSON, Excel, or Word

Requirements

  • Node.js >= 18
  • A Google AI Studio API key (get one free)
  • A WordPress site with Application Passwords enabled

Install & Run

Option 1: npx (no install needed)

npx internal-linking-tool

Option 2: Install globally

npm install -g internal-linking-tool
internal-linking-tool

Then open http://localhost:3000 in your browser.

Usage

  1. Click New Project and enter your WordPress domain
  2. Enter your Gemini API key and WordPress credentials (username + Application Password)
  3. Click Fetch to crawl your site content
  4. Run AI Suggestions to generate internal link recommendations
  5. Review & approve suggestions, then Apply to push changes to WordPress

Tip: Toggle AutoPilot on the New Project page for a fully automated run.

Configuration

All settings (API keys, WordPress credentials) are configured per-project through the UI — no .env file needed.

For advanced usage or development, you can optionally set environment variables:

PORT=3000                    # Server port (default: 3000)
GEMINI_API_KEY=your_key      # Fallback Gemini API key
WP_USERNAME=your_username    # Fallback WP username
WP_APP_PASSWORD=your_pass    # Fallback WP Application Password

Development

git clone https://github.com/your-username/internal-linking-tool.git
cd internal-linking-tool
npm run install-all
npm run dev

| Command | Description | |---------|-------------| | npm start | Start production server on port 3000 | | npm run dev | Start backend + frontend in dev mode | | npm run build | Build the React frontend | | npm run install-all | Install all dependencies (backend + frontend) |

License

MIT