Metalsmith
Middleman
Our great sponsors
Metalsmith | Middleman | |
---|---|---|
8 | 15 | |
7,819 | 7,015 | |
-0.0% | 0.2% | |
7.1 | 7.8 | |
3 days ago | 11 days ago | |
JavaScript | Ruby | |
MIT License | MIT License |
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.
-
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
Middleman
-
“Make” as a Static Site Generator
Most of the Static Site Generators default to generating blog from markdown, which is not feasible for company websites etc. For such projects I like Middleman (https://middlemanapp.com) which provides layouts/partials and things like haml templates.
-
Bloggers who host statically, do you use Jekyll or Pelican to roll your blog posts?
I've done similar with Middleman, and I'm 99% sure you could set this up with Pelican if you wanted. It sounds like the site generation workflow is the issue rather than the tool.
- [student help] Using Rails as front end. Is it possible?
-
Show HN: Self-hosted CMS on Cloudflare for podcast/blog/images/videos/docs/URLs
I use middleman[^1] + bulmaCSS + FontAwesome but host on github using the `github.io` domain and upload podcasts to "archive.org"[^2]. The reason I choose this setup is because I want the content to survive as much as possible, hence open source technology and "free & long lived" hosting were requirements.
[^1]: https://middlemanapp.com/
[^2]: https://archive.org/
-
Web app architecture design process guidance
Thanks u/Draegan88, but what's Middleman got to do with app architecture & design/ERD/schema design?
-
Building Static Websites w/ Rails in 2022
I came across Middleman but it's meant to work with Ruby not necessarily Rails, it's also a bit old although appears kept up to date.
- Eu sou Desenvolvedor de Software Sr. AMA!
-
CMS > MiddlemanApp > static Site - how to start middleman on heroku?
A simple middleman app consumes the data and builds a static export that runs standalone (just HTML, CSS and some JS files). That gets FTP'd/released to the webserver.
-
SSGs through the ages: The ‘After Jekyll’ era
Middleman
-
What is your development setup (IDE, gems, library, ci/cd etc) for RoR/non-RoR applications development ?
For my personal site, which is 10 years old, I use Middleman, and I deploy the site to S3/Cloudfront with s3_website. It works fine for now. If s3_website stops working, I'll move to Netlify probably.
What are some alternatives?
Hugo - The world’s fastest framework for building websites.
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
docsify - 🃏 A magical documentation site generator.
Bridgetown - A next-generation progressive site generator & fullstack framework, powered by Ruby
Wintersmith - A flexible static site generator
Nanoc - A powerful web publishing system
Phenomic
Awesome Jekyll - A collection of awesome Jekyll goodies (tools, templates, plugins, guides, etc.)
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
Brunch - :fork_and_knife: Web applications made easy. Since 2011.
Octopress - Octopress 3.0 – Jekyll's Ferrari