About DinoSsr
DinoSsr is a minimal web framework for Deno and Svelte fans. It's similar to SvelteKit and Fresh but with a smaller focus.
DinoSsr aims to achieve:
- Easy setup with minimal ceremony
- Just-in-time rendering with no build step †
DinoSsr is perfect for:
- Small content based websites
- Quick prototyping
Why Svelte?
Svelte allows for HTML components and templates using web standards.
A basic Svelte component is just HTML:
<header>
<h1>Hello, World!</h1>
</header>
This can be reused in other components:
<script>
import Header from 'header.svelte';
</script>
<Header />
<p>Welcome to my website!</p>
This simplicity is perfect for server-side rendering.
DinoSsr has minimal setup and works with only a single route and entry point.
routes/index.svelte
mod.ts
mod.ts
contains:
import {DinoSsr} from 'dinossr';
const dinossr = new DinoSsr();
await dinossr.init();
The server is started with:
deno run -A test mod.ts
That's all you need to get started!
See the documentation to learn more.
DinoSsr is an experimental work in progress and subject to change!
† there's always a build step.