SvelteStarter

svelte-template — Svelte Starter Template

By iris-contrib

An application starter template based on Iris and Svelte. It generates a project skeleton via Iris CLI, with the frontend built by Rollup and the backend running a web service in Go.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Iris CLI template; generates an Iris + Svelte project skeleton with a single command

02

Frontend based on sveltejs/template, built with Rollup and providing development hot reload

03

Backend is an Iris web service written in Go, with main.go as the entry point

04

Frontend and backend are organized in separate directories, with frontend code in the app directory

05

Licensed under MIT; the repository includes a README and screenshots

Template Details

This template is an Iris CLI template maintained by iris-contrib, used to set up a basic application combining Iris (a Go web framework) and Svelte. It is adapted from sveltejs/template. Frontend code resides in the app directory and uses Rollup for development builds and production bundling. The backend starts an Iris service via main.go written in Go.

Before use, Iris CLI, Node.js, and Go must be installed. After generating a project with iris-cli new --module=my-app svelte, run npm install and npm run dev in the app directory to get frontend hot reload, then return to the project root and run go run main.go to start the service, accessible by default at localhost:8080. Production builds use npm run build.

The repository provides a README and screenshots. Routing, state management, testing, or deployment approaches are not covered in the materials and need to be supplemented according to the actual project.

SvelteStarter

Is it right for your project?

Use Cases

  • Building a frontend-backend separated web application prototype with Go and Svelte
  • Learning how Iris hosts Svelte frontend artifacts built by Rollup
  • Serving as an example of the Iris CLI template system to understand template directory and build conventions

Suitable For

  • Developers familiar with Go who want to write frontends with Svelte
  • Teams needing Iris CLI to quickly initialize a project structure
  • Developers wanting to reference how Iris and Svelte are integrated

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Install Iris CLI, Node.js, and Go first

  2. 2

    Run iris-cli new --module=my-app svelte to generate the project

  3. 3

    Run npm install and npm run dev in the app directory to start frontend development mode

  4. 4

    Return to the project root and run go run main.go to start the Iris service

  5. 5

    For production bundling, run npm run build in the app directory

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not imply that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Before using this template, the Iris CLI tool must be installed, and the project must be generated via the iris-cli command, which is an external tool dependency.
  • Building the frontend application requires Node.js runtime to be installed in advance.
  • Running the backend web service requires the Go language environment to be installed in advance.
  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domain names, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

[Iris CLI](https://github.com/kataras/iris-cli) installed to run the `iris-cli` command.

Original README

[Node.js](https://nodejs.org) to build the frontend application.

Original README

[Go](https://golang.org) to run the web server.

Original README
https://github.com/iris-contrib/svelte-template/blob/main/LICENSEhttps://github.com/iris-contrib/svelte-template/blob/main/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 68 / 100
Technologies
Svelte
Website type
Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2023-11-05
Screenshot last checked
2026-10-02

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Svelte as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: a13d1a47a6d23720ecf5cadc0176001a1335154fce22115c7a070e252e330fc0

2026-10-02T21:28:44.685Z

Source file / repository
# svelte app

[![build status](https://img.shields.io/github/actions/workflow/status/iris-contrib/svelte-template/ci.yml?branch=main&style=for-the-badge)](https://github.com/iris-contrib/svelte-template/actions) [![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=for-the-badge)](https://goreportcard.com/report/github.com/iris-contrib/svelte-template)


This is a project template for [Iris](https://iris-go.com) & [Svelte](https://svelte.dev) apps based on [sveltejs/template](https://github.com/sveltejs/template).

![](screenshot.png)

## Prerequisites

You will need to have:

- [Iris CLI](https://github.com/kataras/iris-cli) installed to run the `iris-cli` command.
- [Node.js](https://nodejs.org) to build the frontend application.
- [Go](https://golang.org) to run the web server.

## Get started

Install the template with [Iris CLI](https://github.com/kataras/iris-cli):

```sh
iris-cli new --module=my-app svelte
```

Install the dependencies and build the svelte app with [Rollup](https://rollupjs.org)...

```sh
cd app
npm install
npm run dev (for livereload)
```

...then **start the Iris web server**:

```sh
cd ../
go run main.go
```

Navigate to [localhost:8080](http://localhost:8080). You should see your app running.

For building the production bundle:
```sh
cd app
npm run build (for build the production bundle)
```
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.

CMSaasStarter

CMSaasStarter

CMSaasStarter is an MIT-licensed SaaS starter template built with SvelteKit, TailwindCSS, DaisyUI, and Supabase, with Stripe Checkout and Stripe Portal for payments.

Svelte · Admin dashboard

sveltekit-electron

sveltekit-electron

A minimal SvelteKit + Electron starter template for cross-platform desktop applications. It provides clone, install, development, and build commands, with build targets adjustable in package.json and defaulting to Mac, Windows, and Linux.

Svelte · Starter

tauri-sveltekit

tauri-sveltekit

A minimal Tauri 2 and SvelteKit desktop starter template that builds the frontend as a static SPA via @sveltejs/adapter-static and loads it in Tauri's WebView.

Svelte · Starter

modernstack-saas

modernstack-saas

A SaaS starter template built with SvelteKit, Convex, Better Auth, and shadcn-svelte. It includes subscription billing via Autumn/Stripe, user and admin dashboards, user settings, organization multi-tenancy with roles and invitations, and a waitlist mode that can disable public registration.

Svelte · Admin dashboard

sveltekit-mdsvex-blog-template

sveltekit-mdsvex-blog-template

A SvelteKit and MDsveX blog starter for Markdown writing with embedded Svelte components, Tailwind CSS typography, tags, dark mode, SEO metadata, and Cloudflare Workers deployment configuration. Requires Node.js 22.12+ and pnpm 11.17.0; third-party demo assets need separate license verification.

Svelte · Portfolio

sveltekit-shadcn-blog-starter

sveltekit-shadcn-blog-starter

A SvelteKit blog starter that combines shadcn-svelte, Tailwind CSS, MDsveX, and TypeScript, offering multi-author support, tag archives, built-in search, light/dark themes, and automatic sitemap and RSS generation.

Svelte · Blog