Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 2.13 KB

README.md

File metadata and controls

50 lines (33 loc) · 2.13 KB

Sapling

A Modern SSR framework for generating content-first websites.

  • It is multi-runtime, meaning you can use it with Deno, Node, Bun, and Cloudflare Workers.
  • It includes support for Tailwind CSS via UnoCSS.
  • It is 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
router A micro router for Sapling sites or Deno projects 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.