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

@rmdes/indiekit-endpoint-homepage

v1.0.22

Published

Homepage builder endpoint for Indiekit. Configure layout, sections, and sidebar widgets from the admin UI.

Readme

@rmdes/indiekit-endpoint-homepage

Homepage builder endpoint for Indiekit. Provides a visual admin UI for configuring your site's homepage layout, content sections, sidebar widgets, and footer columns.

Features

  • Layout options — Single-column, two-column, or full-width hero layouts
  • Drag-and-drop sections — Arrange content sections from any registered plugin
  • Sidebar widgets — Author card, search, categories, blogroll, social activity, and more
  • Footer columns — Up to 3 configurable footer columns
  • Layout presets — Quick-start presets for Blog, CV/Portfolio, or Hybrid layouts
  • Plugin discovery — Automatically discovers sections/widgets from other Indiekit plugins

Installation

npm install @rmdes/indiekit-endpoint-homepage

Configuration

Add to your indiekit.config.js:

import HomepageEndpoint from "@rmdes/indiekit-endpoint-homepage";

const homepage = new HomepageEndpoint({
  mountPath: "/homepage",
  contentDir: "/app/data/content"
});

export default {
  plugins: [homepage],
  // ... other config
};

Usage

Once installed, navigate to /homepage in your Indiekit admin panel. The homepage builder lets you:

  1. Choose a layout — Select single-column, two-column, or full-width hero
  2. Apply a preset — Quick-start with Blog, CV/Portfolio, or Hybrid
  3. Add sections — Drag content sections into the main area
  4. Configure sidebar — Add widgets to the sidebar (two-column layout)
  5. Set up footer — Add up to 3 footer columns

Changes are saved to MongoDB and written as a JSON file that triggers an Eleventy rebuild.

Plugin Discovery

The homepage builder automatically discovers content sections and sidebar widgets from other installed Indiekit plugins. Any plugin that exports homepageSections or homepageWidgets will have its sections available in the builder.

Registering Sections from Your Plugin

class MyEndpoint {
  get homepageSections() {
    return [
      {
        id: "my-section",
        label: "My Section",
        description: "Displays my content",
        dataEndpoint: "/my-plugin/api/data.json"
      }
    ];
  }
}

Built-in Content

Sections

  • Hero — Author intro with avatar, name, and bio
  • Recent Posts — Latest posts from your site
  • Custom HTML — Freeform content block

Widgets

  • Author Card — h-card with author info
  • Recent Posts — Latest posts sidebar
  • Categories — Tag cloud
  • Search — Site search box
  • Social Activity — Bluesky/Mastodon feeds
  • GitHub Repos — Featured repositories
  • Funkwhale — Listening activity
  • Blogroll — Blog recommendations

Integration

With indiekit-eleventy-theme

The theme reads homepage.json (generated by this plugin) to render the configured homepage layout. No additional theme configuration is needed.

With indiekit-endpoint-cv

The CV plugin registers 5 homepage sections: experience, skills, education, projects, and interests. Install both plugins to build a CV-style homepage.

With other plugins

Any plugin that exports homepageSections or homepageWidgets is automatically discovered:

  • @rmdes/indiekit-endpoint-github — GitHub activity
  • @rmdes/indiekit-endpoint-funkwhale — Funkwhale listening
  • @rmdes/indiekit-endpoint-lastfm — Last.fm scrobbles
  • @rmdes/indiekit-endpoint-blogroll — Blogroll
  • @rmdes/indiekit-endpoint-podroll — Podcast roll
  • @rmdes/indiekit-endpoint-youtube — YouTube videos

API Endpoints

| Endpoint | Auth | Description | |----------|------|-------------| | GET /homepage/api/config.json | Public | Current homepage configuration | | GET /homepage/api/sections | Protected | List all available sections | | GET /homepage/api/widgets | Protected | List all available widgets |

License

MIT