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

sssx

v0.2.1

Published

Fast Svelte Static Site X – SSG/SSR focused on SEO for multi-million pages websites

Downloads

14

Readme

SSSX

Twitter URL Twitter URL Youtube URL

GitHub license npm npm downloads total npm downloads GitHub watchers GitHub stars GitHub forks open bugs total open issues GitHub pull requests

Fast Svelte Static Site X – SSG/SSR focused on SEO for multi-million pages websites

This framework is built to deliver fast generation of millions of pages and reduce deployment costs, while providing great development experience.

npm install -g sssx

Name

| Definition | Abbreviation | | ---------------------------- | ------------ | | Svelte Static Site Generator | SSSG | | Svelte Server Side Rendering | SSSR | | = | SSSX |

Demo

YouTube demo

IMAGE ALT TEXT

Overview

Why another SSG?

This project was created from the need to manage sites with millions of pages, with making static site generation a primary use case, and SEO optimisation its first goal.

Philosophy

This framework was created to address several things that are lacking in current frameworks:

  1. SEO first
  2. Links and URLs first
  3. Designed for websites with millions of pages

Features

  • 🦕 First-class Deno support
  • 📈 Incremental updates sssx build <url>.
  • 🚀 It's fast! 1000ms or less spent on building each page.
  • 👍 Each page is it's own SPA. Fully autonomous.
  • 💦 Hydration using Svelte components.
  • 📦 Small size of JavaScript overhead, thanks to Svelte.
  • 💪 ESM first, no more enormous CommonJS bundles, thanks to Esbuild.
  • 🕸️ Out of box SEO features: metatags, i18n, web vitals, robots, sitemap, etc.
  • 🏠 Host anywhere. It's just HTML files with bunch of CSS and JS files.
  • ⚡️ You can generate one URL or millions. No need to rebuild whole website each time.
  • 😎 Development Experience is our priority!

Cluster mode

To run SSSX in cluster mode to use all available CPU cores use the following command:

sssx cluster

Here's a demonstration of generating 1000+ URLs under 30 seconds:

1000 urls in cluster mode in real time

Documentation

When you render millions of static pages, you don't want to rerender all of them each time. SSSX enables you to finetune which pages has to be updated and when.

Structure

This repository is structured as a monorepo and uses workspaces.

Packages

  • [x] sssx main package
  • [x] example Example website project built with SSSX

Getting started

To run an example project use the following:

cd apps/example-blog
npm install
npx sssx dev open

Development

cd packages/example
../sssx/src/cli.ts dev open

Thank you

Inspirations are drawn from:

License

Copyright © 2022-2024 Eugene Hauptmann

MIT