When comparing Pelican vs Gatsby JS, the Slant community recommends Pelican for most people. In the question“What are the best static site generators?” Pelican is ranked 1st while Gatsby JS is ranked 9th. The most important reason people chose Pelican is:
All code is available on GitHub.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Open source
All code is available on GitHub.
Pro Active community
Pro Uses a versatile, powerful and easy to use templating engine
Uses Jinja.
Pro Code syntax highlighting
Uses Pygments for code highlighting.
Pro Support for unique templates per page
Adds flexibility to create variety of websites.
Pro Content can be written in multiple formats
Supports reStructuredText, Markdown, or AsciiDoc formats.
Pro Import your existing blog from many sources
Pro Customisable Themes and support for Plugins
Makes it flexible to cater to creation of variety of websites in addition to blogs.
Pro Multilingual
Easily handles multiple languages, like EN, FR, etc.
Pro Quite fast even for sites with thousands of posts
Can spin up an build sites with thousands of articles in a matter of seconds even on very old computers.
Pro No page reload when navigating
Pro Based on React.js
Editing markup is phenomenally easy when you have components.
Pro Live reload
Every change you make can be almost immediately seen in a browser.
Pro A lot of plugins
Gatsby offers a lot of plugins to integrate tools like SASS, typescript, styled components, etc.
Pro Very active development
Gatsby is very actively developed and the maintainers are very helpful.
Pro Built-in code and data splitting
Pro Open Source
Pro Take content from any source
Gatsby can generate the pages with content from any sources like Drupal, Wordpress, Contentful, etc. If the source plugin is not coded for your solution, you can create it.
Pro A static site and a React app in one
The static pages are generated by Server Site Rendering of the React app. So you have all benefits of a static site, and all benefits of a React app, which is very powerful.
Pro GraphQL Data Layer
Pro A lot of examples
Gatsby have a lot of examples sites in his github repository.
Pro Beautiful out-of-the-box blog starters
Cons
Con Theme inheritance doesn't seem to be a priority
There have been endless discussions for years but theme inheritance still doesn't seem to be a thing. You can "inherit" from the simple theme so you don't have to have all the required files in your theme, but that's as far as it goes.
Con Not as powerful as other more popular site generators
Con A little bit slower than some of its competitors
Con A bit raw
You'll maybe have to tweak some JSX if you want something that's not covered by available themes.