Tiny NodeJS service for server-rendering Svelte Archipelago component trees as a "sidecar" to your backend of any language.
🐳 Docker: The recommended installation method is to use our pre-configured Docker image in your Docker Compose project. Check out the main Svelte Archipelago repo for a quick start guide.
The following instructions will get you running if you aren't running Docker and want to host your own Node instance:
npm install @tlock/svelte-archipelago-ssr-service
Start the standalone service:
npx svelte-archipelago-service
Or alternatively, integrate into your existing Node project:
import { createSvelteSSRService } from "@tlock/svelte-archipelago-ssr-service";
const server = createSvelteSSRService();
server.start();