Skip to content

webgen is a fast, powerful and extensible static website generator

License

Notifications You must be signed in to change notification settings

gettalong/webgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2eb0870 · Jan 1, 2024
May 10, 2013
Jul 20, 2020
Jan 1, 2024
Nov 11, 2013
Aug 24, 2013
Jan 1, 2024
Mar 7, 2021
Nov 17, 2012
Sep 22, 2012
Mar 4, 2013
Sep 22, 2012
Jan 14, 2021
Jan 1, 2024
Oct 12, 2019
Aug 10, 2012

Repository files navigation

webgen - static website generation made easy

webgen is used for generating static websites from templates and content files (which can be written in any markup language). It can generate dynamic content like menus on the fly and comes with many powerful extensions.

Sponsors:

Contact & Help

The author of webgen is Thomas Leitner -- he is reachable at mailto:[email protected].

You can discuss webgen or find help on the webgen-users Google group.

Or you can join the IRC channel #webgen on Freenode.

Description

webgen is a free (GPL-licensed) command line application for generating static websites. It combines content with template files to generate HTML files. This allows one to separate the content from the layout and reuse the layout for many content files.

Apart from this basic functionality, webgen offers many features that makes authoring websites easier:

  • Multiple markup languages to choose from for writing HTML and CSS files (Markdown, Textile, RDoc, Haml, Sass, ...)

  • Automatic generation of menus, breadcrumb trails, ... and more!

  • Partial website regeneration (only modified items get re-generated) which reduces website generation time enormously

  • Self-contained website (all generated links are relative, so one can view the website without a web server)

  • Easily extendable (all major components can be extended with new functionality or existing functionality can be replaced)

  • No need to know the Ruby language for basic websites

The main documentation lives at http://webgen.gettalong.org/documentation/.

Installation

webgen is written in Ruby, so you need the Ruby interpreter on your system. You can get it from http://ruby-lang.org/. See http://webgen.gettalong.org/installation.html for more information.

You can install webgen via Rubygems:

$ gem install webgen

Or via the setup.rb method if you have downloaded a tarball or zip file:

$ ruby setup.rb config
$ ruby setup.rb setup
$ ruby setup.rb install

License

GPLv3 - see the COPYING file.