LifeDesign Learning Zone
Générateur de site statique
Sauter à la navigation Sauter à la recherche
Static site generators are programs that take a set of flat text files on disk and transforms them into a set of static html files ready to be served by a standard web server, or some variation of this example.
- Long term maintenance advantages
- Archival ready html output
- Can be hosted on any webserver
- No "moving parts"; nothing to break
- Easy to get started
- Source files can be edited on an operating system. Usually its just text files!
- Generators are typically fairly simple programs to write and modify
- Lots of existing options; Few are better than most
- No database-antipattern
- Fewer security vulnerabilities with static HTML+CSS
- Most SSGs are written as CLI programs and are difficult for non-technical people to learn
- Can be difficult to install due to the use of programming language package managers
- Most SSGs don't scale well with large data sets
Popular and Documented SSGs
- rascul is writing his own site generator for https://rascul.io.
- bear is writing and using Hakkan.
- Emma Kuo is writing and using Skein.
- Daniel Goldsmith is using Hugo and writing nanopub, a micropub-endpoint for SSGs
- AJ Jordan is writing Stratic and lazymention (Webmention for static sites)
- Amit Gawande is using Hugo and posting with micro.blog via a micropub-endpoint
- Add yourself here… (see this for more details)
- 2015/Static Websites
- static site
- static site cms
- static hosting
- https://github.com/strugee/lazymention app that can handle webmention sending and websub hub pings when notified of new deploy
- webmention.io receiver for static sites - https://github.com/martymcguire/morris - bake webmention data during build
- "And if you're a web dev like me, it's extremely satisfying to roll a little static site generator and play with things like microformats and webmentions." @qubyte August 20, 2018
- Introduction to SSG from 2015
- List of SSG