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

hex-luthor

v1.0.0

Published

Seamless, borderless backgrounds for GitHub READMEs and GitHub Pages

Readme

⚡ HEX Luthor

Seamless, borderless backgrounds for GitHub READMEs & GitHub Pages

npm license downloads


What is HEX Luthor?

HEX Luthor is a zero-dependency tool that generates seamless, borderless SVG backgrounds for your GitHub repositories. Unlike regular images that show borders or padding artifacts, HEX Luthor creates edge-to-edge backgrounds that blend perfectly into GitHub's dark/light themes.

✨ Features

  • 🚫 Zero Borders — True edge-to-edge backgrounds with no visible seams
  • 🎨 9 Built-in Patterns — Dots, grid, diagonal, hexagon, noise, waves, mesh, gradient, aurora
  • 🌗 Dark/Light Aware — Auto-adapts to GitHub's color schemes
  • 📱 README & Pages — Works in both GitHub READMEs and GitHub Pages sites
  • ⚡ Zero Dependencies — Pure SVG/CSS, no external assets needed
  • 🖼️ Data URI Output — Everything embedded, no broken image links

Installation

# Global install
npm install -g hex-luthor

# Or use npx (no install)
npx hex-luthor <command>

CDN (Simple Embed)

<script src="https://cdn.jsdelivr.net/npm/hex-luthor@latest/dist/embed.min.js" 
  data-pattern="gradient" 
  data-colors="#0d1117,#161b22"
  data-target="body"
  data-text="My Project"
  data-animation="true">
</script>

Quick Start

1. README Background

Generate a borderless background snippet for your README:

hex-luthor readme -p gradient -c "#0d1117,#161b22" -o background.md

Then paste the contents of background.md at the top of your README.md.

2. Banner with Text

Create a stunning project banner:

hex-luthor banner -t "My Awesome Project" -s "Built with HEX Luthor" -p aurora -o banner.md

3. GitHub Pages CSS

Generate CSS for your GitHub Pages site:

hex-luthor pages -p dots -c "#ff6b6b,#4ecdc4" -a -o assets/css/hex-luthor.css

Then include it in your Jekyll layout:

<link rel="stylesheet" href="/assets/css/hex-luthor.css">

Available Patterns

| Pattern | Description | Best For | |---------|-------------|----------| | dots | Subtle dot matrix | Clean, minimal repos | | grid | Fine grid lines | Technical docs | | diagonal | Diagonal stripes | Dynamic projects | | hexagon | Honeycomb pattern | Dev tools, APIs | | noise | Fractal noise texture | Creative portfolios | | waves | Flowing wave lines | Data viz, analytics | | mesh | Connected node mesh | Network, graph projects | | gradient | Smooth color blend | General purpose | | aurora | Northern lights effect | Showcases, demos |


API Usage

const HexLuthor = require('hex-luthor');

// Generate a README background
const readmeBg = HexLuthor.readme({
  pattern: 'gradient',
  colors: ['#0d1117', '#161b22'],
  height: 200
});

// Generate a banner
const banner = HexLuthor.banner({
  text: 'My Project',
  subtext: 'A cool description',
  pattern: 'aurora',
  colors: ['#0d1117', '#21262d']
});

// Generate Pages CSS
const css = HexLuthor.pages({
  pattern: 'dots',
  colors: ['#0d1117', '#21262d'],
  animation: true
});

// Get all pattern previews
const previews = HexLuthor.preview(['#0d1117', '#21262d']);

Configuration File

Create hex-luthor.config.js in your project root:

hex-luthor init

Example config:

module.exports = {
  readme: {
    pattern: 'gradient',
    colors: ['#0d1117', '#161b22'],
    height: 200
  },
  banner: {
    text: 'Your Project',
    subtext: 'Description here',
    pattern: 'aurora',
    colors: ['#0d1117', '#21262d']
  },
  pages: {
    pattern: 'dots',
    colors: ['#0d1117', '#21262d'],
    animation: true
  }
};

How It Works

HEX Luthor uses SVG data URIs with patternUnits="userSpaceOnUse" to create truly seamless tiles. Unlike PNG/JPG images that show visible edges when scaled, SVG patterns mathematically tile without borders.

The tool also injects CSS that strips GitHub's default margins and borders:

body {
  background: var(--hl-bg) !important;
  margin: 0 !important;
  border: none !important;
}

Examples

Dark Theme Banner

hex-luthor banner -t "API Gateway" -s "High-performance routing" -p mesh -c "#0d1117,#21262d"

Light Theme Banner

hex-luthor banner -t "Docs" -s "Beautiful documentation" -p waves -c "#ffffff,#f6f8fa"

Animated Pages Background

hex-luthor pages -p gradient -c "#667eea,#764ba2" -a -o style.css

Vibrant Pattern

hex-luthor readme -p hexagon -c "#ff6b6b,#feca57" -o vibrant.md

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

MIT © HEX Luthor Contributors