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

gorky

v1.0.0

Published

A lightweight, markdown-powered static site generator for blogs and personal websites

Downloads

4

Readme

Gorky

Gorky is a lightweight, markdown-powered static site generator designed for creating beautiful blogs and personal websites that can be easily deployed to GitHub Pages.

Gorky is named after Maxim Gorky

The layout and design is inspired from garry.net

Installation

npm install -g gorky

Or install locally in your project:

npm install --save-dev gorky

Quick Start

1. Initialize a new site

gorky init my-site
cd my-site

This creates a new Gorky site with example content and template files.

2. Customize your site

  • Edit site-config.js to configure site settings and navigation
  • Add your markdown files to content/
  • Create blog posts in content/posts/

3. Build your site

gorky build

Or use npm:

npm run build

4. Deploy to GitHub Pages

  1. Push your code to GitHub
  2. Go to Settings → Pages
  3. Select the branch with index.html
  4. Your site is live!

Why Gorky?

Gorky makes it incredibly simple to create and maintain a static website using markdown files. No complex build tools, no database setup, just write your content in markdown and Gorky handles the rest.

Markdown-First Approach

All your content lives in markdown files. Whether it's blog posts, documentation, or custom pages, you write everything in familiar markdown syntax. Gorky automatically:

  • Converts markdown to beautiful HTML
  • Generates navigation from your sidebar configuration
  • Creates a posts listing page
  • Handles tags and filtering
  • Provides syntax highlighting for code blocks

Flexible Content Management

  • Blog Posts: Create posts in the content/posts/ folder with YAML frontmatter for metadata
  • Custom Pages: Add any markdown file and link to it from your sidebar
  • Dynamic Navigation: Configure your sidebar through site-config.js
  • Tag System: Organize posts with tags and filter by them
  • Analytics Ready: Built-in support for GoatCounter analytics

Features

  • Responsive Design: Works beautifully on desktop, tablet, and mobile
  • Syntax Highlighting: Code blocks automatically highlighted with Prism.js
  • Tag Filtering: Filter posts by tags with a simple URL parameter
  • Client-Side Routing: Fast navigation without page reloads
  • SEO Friendly: Meta tags and canonical URLs included
  • Analytics Ready: Built-in support for GoatCounter
  • Easy Theming: All theme properties in one styles/theme.css file
  • Lightweight: Minimal dependencies, fast load times

CLI Commands

  • gorky init [project-name] - Initialize a new Gorky site
  • gorky build - Build the static site

Configuration

Site Configuration

Edit site-config.js to customize site-wide settings, sidebar navigation, and analytics:

module.exports = {
  // Basic site settings
  baseUrl: 'https://yourusername.github.io/your-repo',
  siteName: 'My Site',
  authorName: 'Your Name',
  defaultDescription: 'Your site description...',
  defaultKeywords: 'keyword1, keyword2',
  favicon: 'favicon.ico',
  appleTouchIcon: 'apple-touch-icon.png',
  
  // GoatCounter Analytics (optional)
  goatCounterEnabled: false,
  goatCounterCode: 'yourcode',
  allowLocal: false,
  allowFrame: false,
  noOnload: false,
  
  // Sidebar Configuration
  sidebar: {
    header: 'My Site',
    homeDisplayName: '🏠 Home',
    postsDisplayName: '✍️ Posts',
    footer: [
      {
        text: '2025 © Your Name',
        target: 'https://yoursite.com'
      }
    ],
    sections: {
      'Links': {
        'GitHub': {
          target: 'https://github.com/yourusername',
          openInNewTab: true
        }
      }
    }
  }
};

The sidebar configuration includes:

  • header: Text displayed at the top of the sidebar
  • homeDisplayName / postsDisplayName: Display names for main navigation items
  • footer: Array of footer items (text or links)
  • sections: Navigation sections with items (target can be ?page=filename for internal pages or full URLs for external links)

Build Configuration

Create a gorky.config.js file to customize paths (optional):

module.exports = {
  contentDir: 'content',
  outputFile: 'index.html',
  templateFile: 'index-template.html',
  stylesDir: 'styles'
};

License

MIT