HTTPS SSH

offsite

offsite is a capable offline website generator written in Lua.

(c) 2012 Markus Walther, MIT License.

Usage: offsite [options] [source-directory (default: "web/source")] [target-directory (default: "web/destination")]

Options: (can be shortened to any unambiguous prefix, e.g. --t=..., --verb)

--template=<fileName> (default: template.html)
--homepage=<fileName> (default: index.html)
--iframe-template=<fileName> (default: iframe_template.html)
--recursive-attributes=HTMLAttribute1,..,HTMLAttributeN [default: href,src]
--command-regexp=<LuaRegexp> (default: (lua:%l+%b()) )
--delayed-command-regexp=<LuaRegexp> (default: (lua:[%l_-]+%b()) )
--localizations={englishString1=foreignString1,....}, (default: identity)
--items-per-page=<naturalNumber> (default: 3)
--string-output (for testing only)
--ignore-missing-files=<boolean> (default:false)
--page-title-extractor=<LuaRegexp> (default: nil)
--dry-run don't write any files
--verbose print additional info during operation
--help this help
--version version info

Dependencies

Documentation

Offsite has literate-programming documentation, using LoccoMotion.