Live data from Hacker News

The End of Eleventy

brennan.day

31–40 of 195 posts

Re: The End of Eleventy

#31
post #5

SSGs versus Wordpress is surprisingly still a battle… I’m genuinely shocked at the number of sites on the Net that use Wordpress, dynamically assembling markup with PHP for every page view, risking constant hacking and stuff, when they have a total of like 7 or 100 pages, which could all be pre-rendered to HTML files in roughly 8 seconds on even a junky laptop or X-small ec2 instance. It really is okay. For those who…

The WordPress hacking/plugin security issue has been a solved problem for well over 10 years now if you're even basically competent. Especially if you're using something like WP Engine or Pantheon for hosting.

Re: The End of Eleventy

#33

My personal page runs on 11ty since the last 3 years and I enjoyed it a lot. I’ll probably replace it with pure HTML soon - I found that I don’t need a SSG anymore, I can just use a local LLM to generate HTML out of markdown files and I never use any fancy features anyway.

Wouldn't Astro work great here though?

Just a static sites without JavaScript but you still get some nice things like scoped CSS, components and being able to use markdown for blog posts.

Re: The End of Eleventy

#34
post #13

Much prefer astro. It's somewhat counterintuitive, but the added complexity leads to simpler projects that are easier to maintain long term. I have simple markdown files, and a separate, code-based conversion process that works well for me. Also the documentation for eleventy was always confusing to me. I almost got the impression that "it's so simple, we don't have to explain it". Whereas astro's documentation is mu…

Astro is great, and easily extensible just by looking at the code and existing extensions too. Highly recommend it. Having the islands of actual react stuff is incredibly useful as well.

Re: The End of Eleventy

#36
post #5

SSGs versus Wordpress is surprisingly still a battle… I’m genuinely shocked at the number of sites on the Net that use Wordpress, dynamically assembling markup with PHP for every page view, risking constant hacking and stuff, when they have a total of like 7 or 100 pages, which could all be pre-rendered to HTML files in roughly 8 seconds on even a junky laptop or X-small ec2 instance. It really is okay. For those who…

To me, the thing wordpress installs offer is the GUI. I help a few people with wordpress installs, and I've ended up setting up a private wordpress install, and then I run a script which mirrors the website statically -- this is moderately hacky, and I'm sure could be done better, but as long as I hide the private wordpress install, it means I don't need to worry about keeping it up to date.

I haven't found a static generator which has as nice a WYSIWYG interface as wordpress.

Re: The End of Eleventy

#37
The irony is that a key plank of the SDNY's allegations against Roman Storm for his development of Tornado Cash is that he provided a UI (since the backend smart contract is already established as a matter of law to be immutable and outside of Roman Storm's control), and the UI that Roman Storm provided was an (open source) static HTML file that users ran entirely client-side in their own browser.

Re: The End of Eleventy

#39
post #5

SSGs versus Wordpress is surprisingly still a battle… I’m genuinely shocked at the number of sites on the Net that use Wordpress, dynamically assembling markup with PHP for every page view, risking constant hacking and stuff, when they have a total of like 7 or 100 pages, which could all be pre-rendered to HTML files in roughly 8 seconds on even a junky laptop or X-small ec2 instance. It really is okay. For those who…

Is there a tenable workflow for the marketing department to use a SSG over Wordpress?

- WYSIWYG editor is table stakes. The lovely folks at marketing once thought I was hacking when I `ps -eaf`-ed in an unresponsive Macbook.

- They "put" images in their post. They don't "upload the image and position it with CSS".

- It's the marketing department so they have to have all sorts of bells and whistles. At the very least tracking, at most some obscure integration plug-in that as an engineer I have no kind words for. Social integrations and "You may also like..." sections also come to mind.

> cheap WP plugins that export the whole site as static to something like FTP or S3, so you can just firewall the actual WP behind an IP restriction and host the actual public-facing site from S3/whatever.

Not that I have extensive WP experience but unless you can name me an actual plugin that has good street cred for being used in the wild wild west, I'm gonna say this is not as easy as you make it sound. For one you just described a very rudimentary data pipeline which someone has to support and maintain even infrequently. Also, speaking from experience, plugins don't always play nice with other plugins. I once tried to export my very basic personal site out of WP to find the footnotes all messed up (I don't know now but back then I handled footnotes with a plugin).

Re: The End of Eleventy

#40
post #5

SSGs versus Wordpress is surprisingly still a battle… I’m genuinely shocked at the number of sites on the Net that use Wordpress, dynamically assembling markup with PHP for every page view, risking constant hacking and stuff, when they have a total of like 7 or 100 pages, which could all be pre-rendered to HTML files in roughly 8 seconds on even a junky laptop or X-small ec2 instance. It really is okay. For those who…

have you ever heard of caching? because it can do the exact same thing as what you just described, yet WP can also be dynamic, have visual page and post builders, etc...
Post reply on HN