8000 GitHub - kerem3338/spg: Simple Page Generator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kerem3338/spg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPG

Simple Page Generator

Requirements

  • Latest DMD (Digital Mars Compiler)
  • Gnu Make

Installing

git clone https://github.com/kerem3338/spg
make build

spg --version

Features

  • Defining blocks
  • Writing to 3 different output type.
  • Somewhat useful web server

Using The Server

Building

make build_server

Running

simply run the server executable.

spg_server.exe

To check server information you can visit /__server_info__

NOTE: If requested file is contains errors server will be closed with error code. NOTE: Server is designed for debugging or small testing.

Planned Features / Things

  • Variables
  • Importing blocks from another file
  • The web server should not exit entirely when an error occurs.
  • Conditional commands

Example Syntax

*setblock:title**
<h1>Navigation</h1>
*endblock:title**

*writeblock:title**

For better documentation please check DOCUMENTATION.md For more examples you can check the examples folder

About

Simple Page Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0