DistorteD VS Metalsmith

Compare DistorteD vs Metalsmith and see what are their differences.

DistorteD

Ruby multimedia toolkit with deep Jekyll integration 🧪 (by okeeblow)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
DistorteD Metalsmith
12 8
15 7,819
- -0.0%
8.5 7.1
5 months ago 7 days ago
Ruby JavaScript
GNU Affero General Public License v3.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

DistorteD

Posts with mentions or reviews of DistorteD. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-02.
  • Who invented file extensions in file names?
    5 projects | news.ycombinator.com | 2 Nov 2023
    > If you have any resources on this topic off the top of your head I'd appreciate it if you shared them

    I wrote a Ruby library that attempts to be good at this https://github.com/okeeblow/DistorteD/tree/NEW%E2%80%85SENSA...

  • Ruby's Switch Statement Is More Flexible Than You Thought
    5 projects | news.ycombinator.com | 26 Apr 2023
    Just a style thing. I find it less visually overwhelming when every statement that contributes a true/false is visually contiguous. You can see it in context here if curious: https://github.com/okeeblow/DistorteD/blob/NEW%E2%80%85SENSA...
  • The Heisenbug lurking in your async code (Python)
    7 projects | news.ycombinator.com | 11 Feb 2023
    I experienced a heisenbug exactly like this in Ruby when trying to `while case Ractor::receive`: https://github.com/okeeblow/DistorteD/blob/dd2a99285072982d3...
  • News for Ruby 3.2.0
    2 projects | news.ycombinator.com | 23 Dec 2022
    Here's one that sounds like exactly the sort of example you had in mind: https://github.com/okeeblow/DistorteD/tree/NEW%E2%80%85SENSA...

    Disclaimer: mine :)

  • Introduction to Ractors in Ruby 3
    1 project | /r/ruby | 5 Dec 2022
    This resulted in a huge memory-usage win since I can load data on the fly without blocking other queries. The last pre-Ractorized version of CYO allocated around ~200k objects in 7MiB and retained ~17k in 2MiB of memory. The first Ractorized version allocated ~20k objects in 2MiB and retained ~2.5k objects in ~260KiB of memory. See revision 8c88844b9d256ecc447f6818ab427284b5636cb9 for the initial conversion.
  • Ruby adds a new core Data class to represent immutable value objects
    2 projects | news.ycombinator.com | 29 Nov 2022
    This is the use-case for me. Here's an actual example of a Struct I will probably convert to Data in the file-identification library I've been working on. Right now they just have their `#to_a` overridden to disable some of their annoying automatic Enumerable behavior: https://github.com/okeeblow/DistorteD/blob/dd2a99285072982d3...
  • Fun with File Formats
    6 projects | news.ycombinator.com | 13 Dec 2021
    In addition to this resource and UK's equivalent (PRONOM/DROID, also mentioned in the linked post), I've found ArchiveTeam's wiki to be very useful for obscure file format details: http://fileformats.archiveteam.org/

    The `shared-mime-info` database from freedesktop-dot-org is probably more worthy of contribution than these government-backed databases, at least in terms of number-of-end-users. New type definitions in their database will improve the entire Linux/BSD ecosystem (both desktop and server!) because it's consumed not only by fd.o's own `update-mime-database` utility but by many language-specific type-identification libraries too https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/m...

    …including (shameless plug) the new Ractor-based Ruby type library I've been working on in the wake of the `mimemagic` drama earlier this year: https://github.com/okeeblow/DistorteD/tree/NEW%E2%80%85SENSA...

  • Ask HN: If OOP is about message passing, why not sender.send(receiver, message)?
    1 project | news.ycombinator.com | 28 Nov 2021
    > for example it’s asynchronous

    Ruby also lets you build programs like this as of 3.0, using Ractor#send / Ractor::receive https://docs.ruby-lang.org/en/master/doc/ractor_md.html#labe...

    It’s still pretty new so a lot of the Gem ecosystem hasn’t caught up yet (e.g. C extensions need to be explicitly opted-in as Ractor-safe), but I built a new “MIME::Types” library replacement with it recently and have enjoyed very few teething issues: https://github.com/okeeblow/DistorteD/blob/NEW%E2%80%85SENSA...

  • Building a Personal Website in 2021
    9 projects | news.ycombinator.com | 16 May 2021
    I considered switching to Hugo a while back but ended up sticking with Jekyll for the extensibility, like a few others have said. I'm particularly interested in image thumbnailing and format conversion since so many of my posts are image-heavy. I often found that to be my biggest and most frequent barrier to writing since plain text only goes so far on the modern web.

    In Hugo, every solution I've seen uses a custom shortcode or custom Markdown image template-rendering hook along with Hugo's build-in image resizing. Many posts even suggest converting image resources to different formats with an external tool. It does seem like the image handling situation in Hugo is improving since it just gained WebP processing support in addition to JPEG: https://gohugo.io/news/0.83.0-relnotes/

    Jekyll plugins offer way more power than a shortcode ('include' in Jekyll-speak) can, like how the author of the OP is using Jekyll-Picture-Tag. I've been working on my own similar plugin to handle converting and embedding my site's images, videos, SVGs, PDFs, text files, fonts and weird retro computer formats, etc. For example I can embed an SVG using standard Markdown syntax like `![](somediagram.svg)` and get a tag with the SVG plus rasterized JPG+WebP+AVIF+whatever at multiple sizes all totally seamlessly: https://github.com/okeeblow/DistorteD

    Very happy the existence of Hugo lit a fire under the Jekyll team to work on speed though :)

  • Zola, A fast static site generator in a single binary
    11 projects | news.ycombinator.com | 5 Mar 2021
    > It works at first, but you end up wanting to design your own custom SSG once you run up against something that goes against your mental model of how things should work.

    There is a middle ground. I hit this point in Jekyll when I wanted Insanely Great image thumbnailing that no extant Jekyll plugin could provide, ended up writing my own tool to do that, but didn't want to duplicate the rest of Jekyll's functionality too. It's kiiinda hacky and I probably should propose the interface changes upstream if I keep doing this, but a very light monkey-patch lets my tool pretend to be a Jekyll::StaticFile that just happens to write out many separate files: https://github.com/okeeblow/DistorteD/blob/master/DistorteD-...

Metalsmith

Posts with mentions or reviews of Metalsmith. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-03.
  • Why You Should Write Your Own Static Site Generator
    10 projects | news.ycombinator.com | 3 Nov 2023
  • Top ten popular static site generators (SSG) in 2023
    8 projects | dev.to | 18 Feb 2023
    Metalsmith — the best customizable SSG
  • who is self-hosting a static website and what are you using to build it?
    8 projects | /r/selfhosted | 11 Jun 2022
    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
    1 project | /r/webdev | 3 Jun 2022
    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
    87 projects | news.ycombinator.com | 6 Apr 2022
    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
    11 projects | dev.to | 12 Feb 2022
    Metalsmith
  • Why I built my own static site generator
    11 projects | news.ycombinator.com | 14 Oct 2021
    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
    11 projects | news.ycombinator.com | 5 Mar 2021
    I believe Metalsmith [1] is trying that approach

    [1] https://metalsmith.io/

What are some alternatives?

When comparing DistorteD and Metalsmith you can also consider the following projects:

hugo-blox-builder - 😍 EASILY BUILD THE WEBSITE YOU WANT - NO CODE, JUST MARKDOWN BLOCKS! 使用块轻松创建任何类型的网站 - 无需代码。 一个应用程序,没有依赖项,没有 JS

Hugo - The world’s fastest framework for building websites.

SteamKit - SteamKit2 is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.

docsify - 🃏 A magical documentation site generator.

IntelliJ-Luanalysis - Type-safe Lua IDE — IntelliJ IDEA plugin

Wintersmith - A flexible static site generator

slick - Static site generator built on Shake configured in Haskell

Phenomic

moonsharp - An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.

Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.

moonsharp - Enhanced MoonSharp for improved Tabletop Simulator mod development

Brunch - :fork_and_knife: Web applications made easy. Since 2011.