Low commit activity in last 3 years
A long-lived project that still receives updates
webgen is used to generate static websites from templates and content files (which can be written in a markup language). It can generate dynamic content like menus on the fly and comes with many powerful extensions.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
~> 1.0
~> 1.0
~> 1.0
~> 2.6
~> 5.0
~> 0.7
~> 5.0
>= 0.8.3
~> 1.3
~> 6.0
~> 4.1
~> 3.2

Runtime

~> 5.1
~> 3.0, >= 3.0.1
~> 2.3
~> 2.5
 Project Readme

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:t_leitner@gmx.at.

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.