Need advice about which tool to choose?Ask the StackShare community!
DocGen vs Gatsby: What are the differences?
DocGen: Static website generator. DocGen is a command-line documentation tool for software products. It takes plain text or CommonMark (Markdown) as input, and generates both a static website and a PDF copy; Gatsby: Free, open source framework for building blazing fast websites and apps with React. Gatsby lets you build blazing fast sites with your data, whatever the source. Liberate your sites from legacy CMSs and fly into the future.
DocGen and Gatsby belong to "Static Site Generators" category of the tech stack.
DocGen and Gatsby are both open source tools. Gatsby with 36.2K GitHub stars and 5.4K forks on GitHub appears to be more popular than DocGen with 37 GitHub stars and 13 GitHub forks.
Hi everyone, I'm trying to decide which front-end tool, that will likely use server-side rendering (SSR), in hopes it'll be faster. The end-user will upload a document and they see text output on their screen (like SaaS or microservice). I read that Gatsby can also do SSR. Also want to add a headless CMS that is easy to use.
Backend is in Go. Open to ideas. Thank you.
If your purpose is plain simply to upload a file which can handle by backend service than Gatsby is good enough assuming you have other content pages which will benefit from faster page loads for those Headless CMS driven pages. But if you have more logical/functional aspects like deciding content/personalization at server side of web application than choose NextJS.
I have experience with Hugo and Next.js, but not with Gatsby. I would go with Next.js. However, I used Astro for my last project, so I would recommend Astro. Astro is much faster and you can use almost any frontend framework if you need to.
As a Frontend Developer I wanted something simple to generate static websites with technology I am familiar with. GatsbyJS was in the stack I am familiar with, does not need any other languages / package managers and allows quick content deployment in pure HTML
or Markdown
(what you prefer for a project). It also does not require you to understand a theming engine if you need a custom design.
Pros of DocGen
Pros of Gatsby
- Generated websites are super fast28
- Fast16
- GraphQL15
- Progressive Web Apps generation10
- Easy to connect with lots of CMS via official plugins9
- Reusable components (React)9
- Allows to use markdown files as articles7
- Static-sites5
- All the benefits of a static website + React+GraphQL5
- Images5
- List of starters as base for new project4
- Easy to connect with Drupal via official plugin3
- Open source3
- Gitlab pages integration1
- Incremental Build1
Sign up to add or upvote prosMake informed product decisions
Cons of DocGen
Cons of Gatsby
- No ssr7
- Documentation isn't complete.4
- Very slow builds3
- Flash of unstyled content issues2
- For-profit2
- Slow builds2
- Plugin driven development1
- Difficult maintenance1
- Problematic between develop and build commands1
- Too many dependencies1
- Difficult debugging1