Libraries, not a platform.
Trellis is a set of .NET 10 NuGet packages. Your site references them, registers its own pages and blocks, and keeps its own data.
A host in a few lines.
Add the packages, describe your site, and map the endpoints you want. The sample host is about a hundred lines, editor included.
Storage is yours: SQLite or SQL Server, in your own DbContext, in the "trellis" schema.
var site = new SiteCatalog(hostPages: [], hostBlocks: []);
builder.Services.AddDbContext<SiteDb>((sp, o) =>
o.UseSqlServer(connection).UseTrellis(sp));
builder.Services.AddTrellis<SiteDb>(o =>
{
o.Site = site;
o.ContentRoots = [builder.Environment.ContentRootPath];
});
builder.Services.AddTrellisRendering();
builder.Services.AddTrellisEditor(o => o.Paths = new() { Base = "/admin" });
app.MapTrellisStylesheet();
app.MapTrellisEditor().RequireAuthorization("site-editor");Themes are plain folders.
A theme pack is a folder (or a zip) of JSON, Handlebars, CSS and assets. Token packs restyle the built-in sections; stencil themes draw the whole document.
Templates use a locked-down Handlebars grammar: no data access, no inline scripts, no files from other sites.
my-theme/
pack.json name, version, contractVersion
tokens.json palette, surfaces, editable colours
config.json owner options and section styles
templates/
layout/base.hbs the whole document
pages/ home, page, not-found
modules/ how each built-in section looks
partials/
blocks/<key>/ the theme's own sections
assets/ css, js, images, fonts
seed/ example pagesExport, edit anywhere, import back.
Export
Download any theme as a zip from Appearance, Advanced.
Edit
Change templates, CSS and tokens in your own editor or design tool.
Import
Upload the zip. It's validated, drafted, previewed and then published.
Pin
Each site stays on the version it chose until its owner updates.
What you get
Ready for a website that grows with you?
Tell us about your site and we'll show you Trellis on it. Pricing isn't public yet, so send us a message and we'll reply by email.
