Skip to content
forked from daujerrene/ssgen

SSGen - Static Site Generator

Notifications You must be signed in to change notification settings

daujerrine/ssgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSGen - Static Site Generator
=============================
Current Version - 0.1.0 NotUsable

SSGen is a program that was made because the author refused to learn or use
things like Jekyll, Hugo, or whatever there is in the market. A lot of these 
programs utilise javascript, web frameworks and a lot of dependent libraries
which the author considers "unwanted bloat".
SSGen aims to be as straightforward as possible in its approach. You let SSGen 
know about a template, and a set of 'source' files containing information to 
be pasted on that template, and specify the destination directory where the 
processed files should be put.

      Source + Template  ----> Desired HTML file
      File     File

In essence, SSGen is a general template processing program. General in the sense
that it could be used for things other than html files. The author doesn't 
know if another similar, more sophisticated program exists or not and is too 
lazy to look around any longer (the c preprocessor may be one such example but 
it is specific to c's syntax). However, it does include a few additions that 
make it differ from a standard templating program.

There are examples available in this folder which describe the syntax and
working of SSGen.

Installation
-------------
This script (ssgen.pl) can be used right out of the box without any additional 
configuration aside from having perl 5 (v 5.26.1 and above is recommended).
If required, executing:

    sudo make install

in this directory will copy ssgen.pl to /usr/local/bin, rename it to ssgen and
mark it executable. It will also put any resource files into
/usr/local/share/ssgen.

About

SSGen - Static Site Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 91.3%
  • Makefile 3.3%
  • HTML 3.2%
  • Tcl 1.5%
  • Scala 0.7%