ARFR and Rosid are both open source static site generators written in JavaScript, but that's where the similarities end. See the full comparison of ARFR and Rosid.
Property | ARFR | Rosid |
---|---|---|
Language | JavaScript | JavaScript |
Templates | Handlebars | Any JS |
License | Apache-2.0 | MIT |
ARFR let you develop static web sites faster.
Compiles in memory handlebars partials files from partials folder. (Use the partial with name of the file without ext. Ex: partials/myproject1/sections/prj1-head.html becomes {{> prj1-head}} )
Copy (compiles) handlebars files from templates folder. (preserves the folder structure). Ex: If you have templates/index.html and templates/aboutus/index.html (both using handlebars syntax), the output will be the same, it only compiles the content.
Handlebars compilation errors do not break the node proccess.
Copies css from css folder to the output folder slash css. (preserves structure)
Custom json or js handlebars data load for using as context.
Every time a watch (on scripts, styles and templates) emits a build success event, a signal is sent to a firebase database. If your has the firebase reloading snippet (a handlebars partial), your browser will reload automatically.
Just-in-time development server and static site exporter written in Node.js. Rosid invokes functions before serving files to the browser. This allows you to pre-process anything on-the-fly, without saving it.
Rosid is a framework that focus on two features:
Rosid starts a server and compares requested URLs with user-defined patterns. A associated file handler will be executed when a pattern matches. The handler receives information about the request and can transform the file, which will be send to the browser.