Rift Logo RiftJS

5/11/2025

Ditch the Bloat: Embrace RiftJS for Lean, Developer-First Static Sites

#RiftJS #static-site-generator #developer-tools #simplicity #control

Ditch the Bloat: Embrace RiftJS for Lean, Developer-First Static Sites

What Is a Static Site Generator, and How Can It Help Your Website ...

Ditch the Bloat: Embrace RiftJS for Lean, Developer-First Static Sites(Sphere)


The Problem with Modern SSGs

Developers often grapple with the complexities of current static site generators:

  1. Excessive Complexity: Frameworks like Next.js and Astro introduce intricate configurations and dependencies.

  2. Limited Flexibility: Tools such as Hugo enforce rigid structures, hindering customization.

  3. Performance Overhead: Many SSGs generate unnecessary client-side JavaScript, impacting load times.

  4. Opaque Routing: Routing mechanisms in some frameworks can be convoluted, leading to unexpected behaviors.


Introducing RiftJS: The No-Magic, Developer-First SSG

RiftJS is a static site generator designed for developers who value simplicity and control.

  • No Magic: RiftJS avoids hidden abstractions, giving you full visibility into your code.

  • Full Control: Define your routing, templating, and data handling without constraints.

  • Lightweight: Minimal dependencies ensure fast build times and optimal performance.


RiftJS in Action

Here's how you can define a page in RiftJS:(teleporthq.io)

export const params = ({ content }) => ({
  title: content.title,
  date: content.date,
});

export const permalink = ({ content }) => `/posts/${content.slug}/`;

export const render = ({ content }) => `
  <article>
    <h1>${content.title}</h1>
    <p>${content.body}</p>
  </article>
`;

This approach offers clear and direct control over your site's structure and content.


Ready to Simplify Your Static Site Development?

Experience the difference with RiftJS.

  • Explore the Documentation: RiftJS Docs

  • Get Started: Install RiftJS and build your first site in minutes.

Embrace a streamlined, developer-first approach to static site generation with RiftJS.

Build Your Own Blog with Rift

Rift is a zero-guesswork static site generator built for developers. Try it today:

npm create rift@latest