Skip to content

An intellectual http server with a fresh take on serverside templating

Notifications You must be signed in to change notification settings

CantelopePeel/IntellectualServer

 
 

Repository files navigation

#IntellectualServer

##Description IntellectualServer is a lightweight java web server. It's a perfect choice if you need an enbedded webserver in your application, as it can be run as both a standalone or intergrated application.

##Crush CrushTemplate is a templating engine that is shipped with the core of the server. It allows for things that you just cannot do with normal webservers.

Current Crush Features:

  • Variables {{provider.variable}}
  • Variable filters {{provider.variable || FILTER}}
  • Meta data {{: [author: Citymonstret] :}}
  • File inclusion {{include:header.html}}
  • Array looping {#foreach system.filters -> filter} A Filter {filter} {/forach}
  • If Statements {#if provider.variable} {/if}
  • Inverted If Statements {#if !provider.variable} {/if}

##Building You build IntellectualServer using maven. Use mvn package to download all dependencies and build the compiled output.

##Views IntellectualServer uses a special view setup, so you can freely design the regex pattern that you want for your website. For example: (\/assets\/img\/)([A-Za-z0-9]*)(.png|.jpg|.jpeg|.ico|.gif)?

Views uses this pattern: (path)(filename)(extension), which is required for all built-in view types

IntellectualServer is currently shipped with these types:

  • HTML
  • JavaScript
  • Images (png, jpg, ico, gif)
  • CSS
  • Less (with live compilation)
  • File downloads

About

An intellectual http server with a fresh take on serverside templating

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.6%
  • HTML 4.3%
  • Other 1.1%