Static site generator (SSG) alternative to Squarespace?

cross-posted from: lemmy.world/post/12989654

I’m a novice so I chose the most novice-friendly option I could find - Squarespace. But I’ve had lots of problems with them, and they keep raising their prices, and they hide features like javascript code behind even higher prices.

I learned about SSGs jamstack.org/generators, which create fast and secure sites that can be hosted for free on Netlify and other similar sites. The downside is they’re limited to static content – IE: you can’t have a contact form without paying a 3rd party.

I found a novice-friendly SSG theme for wikis/documentation – MKDocs Material – but I haven’t been able to find anything for a regular business site.

This seems to be one of the most popular Jekyll themes mmistakes.github.io/minimal-mistakes/about/ but it seems to be mainly for blogs and documentation, and doesn’t seem to have all the design options that Squarespace does.

I read that healthcare.gov used Jekyll medium.com/…/new-healthcare-gov-is-open-cms-free-… in conjunction with prose.io. So I looked it up and found this github.com/CMSgov/HealthCare.gov-Styleguide which actually seems pretty decent; but also not complete enough. Their newer version github.com/CMSgov/design-system seems more complete/extensive, but also quite technical. It looks like it requires too much coding for me.

Weebly seems to be a slightly cheaper alternative to Squarespace but it’s missing some features and Square might end it in a few years.

I’ve never used Wordpress but now that I’ve hosted a few websites I’m thinking about purchasing Oxygen oxygenbuilder.com and hosting a Wordpress site myself. Oxygen is like a more advanced version of Squarespace with a 1-time payment equal to 1 year of Squarespace. Then you just have the monthly costs of hosting the server, which should be $5-10 (no idea how this scales with amount of traffic, do you?). There is a plugin/addon to export a static site, but it might not be worth the trouble.

According to servebolt.com/…/calculate-how-many-simultaneous-w… a 2-core server ($5) with a webpage that takes 300ms to load can serve:

  • 400/minute
  • 24,000/hr
  • 288,000/12 hrs

A lot of people use Wordpress, but also seem unsatisfied with it jamstack.org/survey/2022/-management-syst….

The Gutenberg editor may be new since the last time I tried Wordpress www.hostinger.com/tutorials/gutenberg-wordpress, and it looks pretty similar to Squarespace. So maybe I don’t even need Oxygen. I looked up “Gutenberg vs Oxygen” and people were saying to go with Gutenberg.

I’ve been considering Grav getgrav.org too, but similar to the SSGs, it doesn’t seem to have all the design capabilities without coding them yourself.

I’ve seen people say you can get chat GPT to write HTML code for you but I’ve never used it and it seems like it would be difficult to design a website that way. I looked for a video but only found one covering writing content, not code.

I found out about Hostinger Website Builder www.youtube.com/watch?v=cUjjGIfjh-4 which uses AI and looks very similar to Squarespace’s builder. But there’s no demo so I can’t see exactly what it can do. But Hostinger is much cheaper than Squarespace, and you can choose to use Wordpress with it instead of the Hostinger builder.

I checked GreenGeeks and they say “We offer drag and drop website builders like Weebly and SitePad. Sitepad is $12/yr and makes static sites, but it looks like you need one of the popular GUI web panels to use it sitepad.com/docs/admin/supported-control-panels/. Similar to Weebly, it’s also a bit more limited – IE: you can’t open a contact form in a lightbox from a button sitepad.com/docs/enduser/contact-form.

A benefit of using Hostinger or GreenGeeks is probably that I don’t have to worry about a surge in traffic causing my site to go down. That’s why I’m thinking they’re a better option vs self-hosting on a VPS.

I found this video that seems quite good and covers more options I didn’t know about: Ultimate Website Builder Comparison 2024 | Find the BEST One for You + Why I Hated Squarespace

Anyone know of better places/forums to discuss this type of thing? There seems to be hundreds of thousands of people using the jamstack SSGs but I haven’t found a place where people discuss them. I’ve tried:

bluetardis,

Give this a go.

getpublii.com

MaximilianKohler,

I covered that in the links in the OP. It’s extremely limited. I didn’t find it useful.

redcalcium,

Nothing wrong with using wordpress as long as you follow good security practices and not installing dozen of plugins. Security breaches on wordpress sites are typically caused by weak password (bots love to scan wordpress sites and hit its wp-login.php and xmlrpc.php endpoints) and outdated / unmaintained plugins with security issues. It’s almost never coming from a bug in wordpress core itself because wordpress will install critical security updates automatically unless you configured it not to.

Also, avoid installing pirated themes/plugins because those are often loaded with malwares. Review your installed plugins every once in a while and if a plugin has been abandoned by its author, replace it with another plugin.

If you have programming chop, you can use a static site generator framework to code your website yourself. If you’re worry about the look/design, just buy it from a theme marketplace. For example, nextjs is gaining popularity and many commercial theme marketplaces sell nextjs template designs.

As for the server, I recommend to start with the cheapest hosting available (e.g. $5/month vps) and move on to a bigger server if it proves to be too small to handle your site’s traffic.

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

As for the server, I recommend to start with the cheapest hosting available (e.g. $5/month vps) and move on to a bigger server if it proves to be too small to handle your site’s traffic.

This is correct.

If you’re asking about CPU, RAM, and bandwidth then, “you don’t have a problem until it’s a problem.” Redline the cheapest option until it catches fire.

MaximilianKohler,

Redline the cheapest option until it catches fire.

It’s an important business website that would have severe consequences if it went down during traffic spikes (which it does get).

navi,
@navi@lemmy.tespia.org avatar

Github.io + jackyll

MaximilianKohler,

I covered that in the OP. It requires coding ability for anything other than a simple blog.

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

Since you posted this into a self-hosting community…

You are the alternative to SquareSpace. Grab a Raspberry Pi, slap nginx proxy manager and ddclient into it, and point your domain to your home IP.


From the web development side of things? Eleventy is my pick for SSG. For a novice, the best part about using 11ty is that it supports a ton of different front end templating languages. That means you can find which one you like the best without having to hello world a million times. Keep your content as markdown and pass it into Nunjucks, WEBC, Vue, fuckin’ whatever.

MaximilianKohler,

Since you posted this into a self-hosting community…

I have two other websites hosted on a $5 Hetzner server (that counts as self-hosted right?). I’ve been considering adding a Wordpress, Grav, or static site to it. But as mentioned in the OP, I have to worry about the site going down if it gets a traffic surge, so I’m thinking it would be safer and similarly/more affordable to host a Wordpress site with Hostinger or GreenGeeks. Am I wrong?

Grab a Raspberry Pi, slap nginx proxy manager and ddclient into it, and point your domain to your home IP.

I’m not likely to do that, for multiple reasons.

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

If you want a 100% uptime website that can handle surge traffic but also costs basically nothing when it’s not being used, you’re going to want to avoid traditional CMSs like Wordpress and learn to code. Deploy 11ty to Netlify with the understanding that if you’re irresponsible with forms or suddenly blow through your bandwidth you’re going to pay for the service to scale to meet demand.

If you absolutely must have a CMS, I’d recommend Statamic because it can act as an SSG and deploy to Netlify (which means you use the CMS as a local devtool only - no logging in over the internet). It’s another one of those “bring your own front end” CMSs, but their Antlers templating language is completely fine.

Andy,
@Andy@programming.dev avatar

FWIW Statamic (like many sites) fails my basic “is everything on the main site legible for dark-mode preferring users?” test:

screenshot of Statamic homepage

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

Marketing site’s gonna marketing site. The actual documentation has dark mode.

Andy,
@Andy@programming.dev avatar

The main site isn’t made with Statamic?

Anyway the docs pages fail in certain parts, too, anyway:

Screenshot of a suggestion box in Statamic docs

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar
Andy,
@Andy@programming.dev avatar

No. In addition to browsers’ prefers-dark-mode setting, there is also the fallback foreground and background color choice, used whenever a website does not specify a foreground or background color. One common case is when viewing a plain unstyled site or txt file.

A dark-mode preferring user might choose for these fallbacks a light foreground and dark background. The problem is then that some designers will carelessly specify either the foreground or background color (and not both), assuming that their choice will happen to have good contrast with every user’s browser preferences.

More low contrast examples from the Statamic docs:

Statamic search field

Statamic adspace

In Firefox’s preferences page those settings are accessed with the “Manage Colors” button just below dark-mode selection, and look like this:

Firefox Preferences – Manage Colors

Notice that I am not overriding any colors specified by the page.

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

This is solved by slapping your design’s color scheme on the <body>, correct?

Also:

  • text highlight colors are jacked
  • yellow-on-pink is a no-no

https://lemmy.inbutts.lol/pictrs/image/78e00ec0-308c-40ef-994f-6695cbbaf488.png

Andy,
@Andy@programming.dev avatar

I’ve never had a Statamic site myself, didn’t know about it till this thread. I like site generators but don’t want to invest energy in ones that don’t handle colors very well. I don’t want to have to override colors, either as a user or developer, though I often do. For a an SSG anyway I want to be able to trust the tool to handle legibility.

I’m also terrible with HTML and CSS.

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

Oh, Statamic is a BYOFE (Bring Your Own Front End). Out of the box, it gives you a templating language that you can take or leave. You are 100% responsible for all HTML, CSS, and whatever JS you feel like bringing to the table. There’s no handling of colors or anything to override, because that’s all on you. SSG is a mode it has, it’s not the default.

It’s pretty close to being a flat-file ExpressionEngine, if that helps.

MaximilianKohler,

I’d recommend Statamic

I looked at the demo and it looks like a very simple text editor to make blogs.

shnizmuffin,
@shnizmuffin@lemmy.inbutts.lol avatar

It is extremely more than that.

redcalcium,

But as mentioned in the OP, I have to worry about the site going down if it gets a traffic surge,

Why are you worried about your site going down during traffic surge? Unless you’re running a critical service, there is no need to worry about this too much if it’s just your personal sites. With proper caching, your personal site can even tank traffics from reddit frontpage on a $5/mo vps. If you’re really worry about getting your site down when having a traffic surge and don’t mind paying big bucks to handle those surges, consider hosting it on platforms with autoscaling support such as netlify.

MaximilianKohler,

Why are you worried about your site going down during traffic surge? Unless you’re running a critical service, there is no need to worry about this too much if it’s just your personal sites.

Because it’s an important business website that would have severe consequences if it went down during traffic spikes (which it does get).

With proper caching, your personal site can even tank traffics from reddit frontpage on a $5/mo vps.

Yeah, I’m using Cloudflare, and I saw that Wordpress has a built-in caching option, but I couldn’t find any info on how well that protects sites from traffic surges.

consider hosting it on platforms with autoscaling support such as netlify.

Yeah but I need an SSG with the same capabilities as Squarespace to do that, and as mentioned in the OP, that doesn’t seem to exist.

redcalcium,

Ah so it’s for a business website. Since this is selfhosted I assumed it’s for a personal website.

If you decided to use wordpress, you can install w3tc plugin and enable the objects caching and page caching options. Combined with cloudflare, it’ll virtually turn your website into a static site when accessed by anonymous visitors, while still allowing dynamic contents for logged in users. It should be more than enough for a typical website.

MaximilianKohler,

Thanks!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhost@lemmy.ml
  • DreamBathrooms
  • magazineikmin
  • modclub
  • Durango
  • Youngstown
  • rosin
  • khanakhh
  • slotface
  • ngwrru68w68
  • mdbf
  • thenastyranch
  • kavyap
  • InstantRegret
  • tester
  • JUstTest
  • everett
  • normalnudes
  • GTA5RPClips
  • osvaldo12
  • ethstaker
  • cisconetworking
  • tacticalgear
  • anitta
  • provamag3
  • cubers
  • Leos
  • megavids
  • lostlight
  • All magazines