Metalsmith
Publii
Our great sponsors
Metalsmith | Publii | |
---|---|---|
8 | 97 | |
7,822 | 5,967 | |
0.0% | - | |
7.1 | 9.3 | |
9 days ago | 12 days ago | |
JavaScript | HTML | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Metalsmith
- Why You Should Write Your Own Static Site Generator
-
Top ten popular static site generators (SSG) in 2023
Metalsmith — the best customizable SSG
-
who is self-hosting a static website and what are you using to build it?
I use Metalsmith. Been happy with it. I build my site into a self-contained nginx docker image.
-
Configuration error even if nothing changed since last successful deploy
const Metalsmith = require('metalsmith') const markdown = require('@metalsmith/markdown') const layouts = require('metalsmith-layouts') const permalinks = require('@metalsmith/permalinks') const collections = require('metalsmith-collections') Metalsmith(__dirname) .metadata({ sitename: 'Website Name', description: "Website description.", generator: 'Metalsmith', url: 'https://metalsmith.io/' }) .source('./src') .destination('./build') // .clean(true) .use( collections({ projects: 'pages/*.md', reverse: true, refer: true }) ) .use(markdown()) .use(permalinks()) .use( layouts({ engineOptions: { helpers: { formattedDate: function (date) { return new Date(date).toLocaleDateString() } } } }) ) .build(function (err, files) { if (err) throw err })
-
Ask HN: Share Your Personal Site
I also started to move to hugo, but they didn't merge the pr [2] which would have helped in the transition. :(
The look is still similar to what it was in the beginning, in terms of colors at least.
[1] https://github.com/metalsmith/metalsmith
-
SSGs through the ages: The ‘Reinvention’ era
Metalsmith
-
Why I built my own static site generator
A static site generator I've been enjoying lately (and using for my blog) is Metalsmith: https://metalsmith.io/
It feel like it's the best of both worlds, because it's simple to learn and customize, but there are plugins for the things you don't want to spend time writing yourself.
For example, I'm using plugins to: check for broken links, generate an RSS feed, and run a test server with automatic reloading.
But then I was able to easily add in my own code to handle relative links, generate Graphviz diagrams, and format dates.
One other recommendation: I hated almost every template language I ran across (Hugo's, Liquid, Nunjucks, EJS), but I'm thrilled with the simplicity of Handlebars (https://handlebarsjs.com/), although it is a bit limiting and the "block helper with parameters" syntax is strange (perhaps an indicator that I'm trying to do too much in the templating language!).
-
Zola, A fast static site generator in a single binary
I believe Metalsmith [1] is trying that approach
[1] https://metalsmith.io/
Publii
-
Soupault: A static website management tool
Those have complicated stacks that likely won't serve the person that can't grasp a CLI SSG.
https://getpublii.com has a simple GUI and is just a directory on your computer (inside the Dropbox directory for crude backup?).
-
Show HN: Pages CMS – A CMS for GitHub
Very nice! It looks a bit like Publii [0], but the editor part is cloud hosted instead of running as an app on your machine.
[0] https://getpublii.com/
-
No CMS? Writing Our Blog in React
Publii is one of the few competent attempts at a desktop CMS app.
https://getpublii.com/
They do a lot of things right.
-
Ask HN: Looking for lightweight personal blogging platform
Most SSGs, or if you want to have it easy: https://getpublii.com/ - generates static sites, can publish to github pages (among others), has themes.
- Let's make the indie web easier
- Ask HN: Local Wysiwyg HTML Editor for Mac
- Publii: Static CMS with GUI for Secure, Fast, and GDPR Compliant Websites
-
What's your favorite static site generator?
I also consider https://getpublii.com interesting, but I have not yet had any personal experience with it.
-
How to migrate my static website from GitHub to a NAS, while using Publii?
I'd like to ask for some help regarding on how to "migrate" my website to my personal storage, more specifically how to do that while having everything made with Publii.
-
The theory versus the practice of “static websites”
I haven't used it, but Publii[0] might be along the lines of what you're thinking of. I ran across it in a previous HN discussion, and it seems to be static site generator with a pretty user-friendly graphical interface.
[0]: https://getpublii.com/
What are some alternatives?
Hugo - The world’s fastest framework for building websites.
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
docsify - 🃏 A magical documentation site generator.
Wintersmith - A flexible static site generator
GDIndex - A Google Drive Index built with Vue Running on CloudFlare Workers
Phenomic
gatsby-source-sanity - Gatsby source plugin for building websites using Sanity.io as a backend.
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Brunch - :fork_and_knife: Web applications made easy. Since 2011.
Ghost - Independent technology for modern publishing, memberships, subscriptions and newsletters.