Pelican
Metalsmith
Pelican | Metalsmith | |
---|---|---|
24 | 8 | |
12,303 | 7,819 | |
1.6% | 0.0% | |
8.7 | 6.6 | |
2 days ago | about 1 month ago | |
Python | JavaScript | |
GNU Affero General Public License v3.0 | 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.
Pelican
-
Patterns for Personal Web Sites
In my experience, [Pelican](https://getpelican.com/) does a good job of allowing you to edit themes on all pages at once with its static page generator.
There are a lot of built in features designed more for blog-like websites, but I’ve found it pretty easy to make my personal website with it.
-
How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
Pelican is a preferred option for Python developers.
- Pelican: Static site generator written in Python. Requires no database
- Why isn’t there a python version of Jekyll / Hugo
-
How to host final project (flask web application) on permanent server?
There's also Pelican but I haven't used it and seeing as Github serves static pages I'd imagine it builds and deploys your page and is done with it.
-
Ask HN: Which Python or Rust-based static site generators to use as of 2023?
I use Pelican (https://getpelican.com/) for my blog, which works decently for me. It is a static site generator written in Python.
But you probably won't learn much Python by using it (or Rust when using a generator written in it) since you probably won't need to change anything in it.
-
Creating a Python Wiki application
Surely a "local private wiki ... not web based ... on a desktop application" is not really a "wiki" at all, but rather a "static site generator" with a built-in "search". If that's what you want, there's a Python app called Pelican. Writing such an app from scratch isn't really a beginners project.
-
Top ten popular static site generators (SSG) in 2023
Pelican — best for Python developers
-
Trying to work around a Jekyll site-building tutorial without using Jekyll
You can - you'd basically just create a python script that parses your HTML/CSS files and replaces strings with values from your YAML. However I wouldn't recommend that unless you're just using this as an opportunity to learn Python. If you want to standup a real site and you want to use python, I'd recommend a Python static site generator like Pelican or Nikola.
-
Help me find a suitable static site generator
As you're familiar with Python, how about https://getpelican.com?
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/
What are some alternatives?
Lektor - The lektor static file content management system
Hugo - The world’s fastest framework for building websites.
Nikola - A static website and blog generator
docsify - 🃏 A magical documentation site generator.
Wintersmith - A flexible static site generator
Hyde - A Python Static Website Generator
Phenomic
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
Brunch - :fork_and_knife: Web applications made easy. Since 2011.
Cactus - Static site generator for designers. Uses Python and Django templates.
Hexo - A fast, simple & powerful blog framework, powered by Node.js.