Skip to content
Servable html pages in lua (with javascript)
Lua JavaScript HTML CSS Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
page_html
screens
tools
.gitignore
agpl-3.0.txt
lib.md
readme.md
todo.md

readme.md

Html page and asset system

Build from this, and userscripts a bookmarks and history server.

That has been packaged as one bunch at ojasper.nl/data/data/page_html_set.lua.0.0.1.tar.gz, there is a PKGBUILD.

Some of the apis how to use are in lib.md.

Installing(linux)

In ~/.init.lua(other whatever initiates lua, add.

package.path = "$THIS_PROJECT/?.lua;$THIS_PROJECT/?/init.lua;" .. package.path

Alternatively:

  • Add a ~/.lualibs/

  • Add/edit the ~/.init.lua adding.

    package.path = "/home/$USER/.lualibs/?.lua;/home/$USER/.lualibs/?/init.lua;" .. package.path

Then, symlink this thing to there.

  • `cd ~/.lualibs/ ; ln -s path-to-project/html_page/``

Dependencies

The different implementations depend on their respective thing.

Lua Ring

  • lua_Searcher sql formulator including search term, and Sqlite bindings.

  • page_html provide some methods on an object, get a html page.(with js)

  • storebin converts trees to binary, same interfaces as json package.(plus file_encode, file_decode)

  • PegasusJs, easily RPCs javascript to lua. In pegasus.

  • tox_comms, lua bindings to Tox and bare bot.

You can’t perform that action at this time.