Show HN: Sparktype – a CMS and SSG that runs entirely in the browser

app.sparktype.org

45 points by mattkevan 6 days ago


Hi HN,

After trying to teach a non-technical friend how to manage a Jekyll site I decided there must be a way to make building a site with a SSG easier. Options like Decap, Contentful etc. do make it a bit easier but still take lots of tech knowledge to set up.

So I built Sparktype, a browser-based CMS that outputs statically-generated HTML and CSS. My goal is for it to be as easy to use as Substack or Medium, while providing all the benefits of a static site generator including openness, simplicity, speed, security and ownership.

It handles most things that you'd need from a CMS, including creating pages, image resizing, menu management, tags, collections, listings etc. I've only made two themes so far, but I'm working on a theme store and the ability to import custom themes.

Content is saved as plain Markdown + YAML frontmatter and JSON config files, so there's no lock-in and content is easily portable to other platforms. Generated sites can be exported as a zip file to upload via FTP, committed to Github or published via Netlify API.

I'm working on cross-platform client apps using Tauri which will enable more publishing options as its not limited by what can be done in a client-only environment.

The way the system works means that the Web doesn't need to be the only interface to the content - here's a simple Go-based CLI client that bypasses the HTML altogether https://github.com/sparktype-project/sparktype/tree/main/st-...

It's very early days and there are still plenty of bugs, but I'm posting now to hopefully get feedback and see what people think. Please do let me know!

lenova - a day ago

I love this idea. There are so many use-cases where friends or clients need a simple interface for building a quick wiki-style documentation site. I've often suggested static site generators desktop apps like Publii to them before, but even that can be a bit on the heavy-side in terms of their requirements.

First feature request: auto light/dark theme adjustment.

First bug report: when I tried adding authentication to a test site, I received this error:

  Failed to enable protection: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Keep up the good work!
dmje - a day ago

This could be cool but it’s hard to tell - mobile just doesn’t seem to work and I’m going to guess that’s most people’s first touchpoint with it?

Will try on laptop later…

ngc6677 - a day ago

Excellent idea!

Really cool that it respects the SSG conventions and separation of content, collections, templates, themes etc.

opengrass - a day ago

I like it. How are netlify and Github credentials stored across re-visit? Also no ftp in publishing.