
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
= SmallCage -- a simple website generator
{}[https://travis-ci.org/saito/smallcage]
SmallCage is a simple, but powerful website generator. It converts content and template files, which has common elements in a website, to a plain, static website. No database, no application container, and no repeat in many pages is needed. You can keep your site well with very little work.
With SmallCage, you can
{Please visit our wiki for more detailed discussion.}[http://wiki.github.com/bluemark/smallcage]
== Installation
$ sudo gem install smallcage
== Usage
If successfully installed, smc command will be available.
$ smc Usage: smc [options] SmallCage 0.1.9 - a simple website generator Subcommands are: update [path] Build smc contents. clean [path] Remove files generated from *.smc source. server [path] [port] Start HTTP server. auto [path] [port] Start auto update server. import [name|uri] Import project. export [path] [outputpath] Export project. uri [path] Print URIs. manifest [path] Generate Manifest.html file.
Options are:
-h, --help Show this help message.
-v, --version Show version info.
Create document root.
$ mkdir htdocs $ cd htdocs
Import default project.
$ smc import Import: base Create: /_smc /_smc/helpers /_smc/helpers/base_helper.rb /_smc/helpers/site_helper.rb /_smc/templates /_smc/templates/default.rhtml /_smc/templates/footer.rhtml /_smc/templates/header.rhtml
Import these files?[Yn]: y A /_smc A /_smc/helpers A /_smc/helpers/base_helper.rb A /_smc/helpers/site_helper.rb A /_smc/templates A /_smc/templates/default.rhtml A /_smc/templates/footer.rhtml A /_smc/templates/header.rhtml :
Publish all smc files.
$ smc update A /index.html A /sample/index.html A /sample/redirect.html A /sample/sub/contents.html A /sample/sub/index.html
Start HTTP server.
$ smc server . 8080
...and access http://localhost:8080
FAQs
Unknown package
We found that smallcage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.