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 🙏

© 2024 – Pkg Stats / Ryan Hefner

after-dark

v10.3.2

Published

A retro dark theme for Hugo.

Downloads

479

Readme

After Dark

A retro dark theme for Hugo.

Latest NPM version Weekly downloads Minimum Hugo version AGPL licensed

Highlights

  • Developer Focused: Cross-platform, 1 dependency, single-codebase.
  • Incredibly Fast: ~0.615s average build time and decisecond page loads.
  • Privacy Aware: No cookies, no trackers, no external requests.
  • Securely Designed: Source-level integrity checking and strict content security policy.
  • Advanced Graphics: BPG image support, PhotoSwipe support, aggressive lazy-loading.
  • Easily Customized: Override any theme template to compose your own views.
  • Fuzzy Search: Offline, automatic and no third-parties.
  • Batteries Included: Integrates with Gitea, Kubernetes, Traefik and Fathom Analytics.
  • Extended Builds: Add Sass support to your project and decrease built times.
  • Detailed Docs: Includes example documentation website written using After Dark.

Screenshot

Requirements

Hugo 0.51+ required. Run make hugo for extended build, or visit Install Hugo for official steps.

Installation

The easiest installation method is to run the quick install script:

wget -qO- https://codeberg.org/vhs/after-dark/raw/branch/trunk/bin/install | sh

Quick Install will ensure the machine is running a supported Hugo version, download the latest signed after-dark release, download the latest signed fractal-forest, and configure a sample After Dark site with welcome post.

By convention After Dark may also be installed as a Hugo Theme Component:

flying-toasters
├── static
└── themes
    └── after-dark # git clone or submodule

Usage

Run the online help server after installing for After Dark usage instructions:

./themes/after-dark/bin/help

Also visit the Hugo docs, the Hugo community forum and Stack Overflow.

Upgrading

Run the Upgrade Script to check for updates and upgrade automatically:

./themes/after-dark/bin/upgrade

Upgrading replaces the file contents of the theme as a whole for security reasons. If you wish to modify the source please create a fork.

Verifying

Use the Release Validator from https://localhost:1414/validate/ while the online help server is running to verify you're running a PGP-signed and SHA-verified release. Integrity is checked at the source level and may be performed offline. See Release Hashes to learn more.

Credits

Thanks to エゴイスト for hack.css; Dan Klammer for bytesize icons; Vincent Prouillet for creating a Zola port of After Dark; the author, maintainers and contributors to hugo; and thanks to the SiliconValley homesteaders on Geocities, and Berkeley Systems, for the design inspiration.

Rights

After Dark - A retro dark theme for Hugo. Copyright (C) 2019  VHS <[email protected]> (https://vhs.codeberg.page)

After Dark is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

See file COPYING for warranty disclaimer and full license text.