Skip to content

withsapling/sapling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sapling

A Modern SSR framework for generating content-first websites.

  • Multi-runtime, meaning you can use it with Deno, Node, Bun, and Cloudflare Workers.
  • Support for Tailwind CSS via UnoCSS.
  • Completely buildless meaning it has no build step and does not rely on a bundler.

Getting Started

Deno

deno -A jsr:@sapling/create

Node

npm create sapling@latest

Bun

bunx create-sapling@latest

Packages

Package Description Version
sapling A micro SSR framework JSR
create A CLI for creating Sapling projects JSR
markdown A markdown parser for Sapling sites or Deno projects JSR
create-sapling A CLI for creating Sapling projects with npm npm

Examples

We would recommend checking out the Sapling Examples Repository for more examples of how to use Sapling.

Attributions

  • Hono - We use Hono's amazing HTML helpers for escaping HTML templates. We're also huge fans of their routing approach which is why we've borrowed some of their ideas for Sapling.
  • UnoCSS - We use UnoCSS for atomic CSS.
  • micromark - Our markdown parser.
  • shiki - The code highlighter for syntax highlighting.