curl -L -O https://github.com/fengari-lua/fengari-web/releases/download/v0.1.4/fengari-web.js Include it in your webpage: <script src="fengari-web.js" type="text/javascript"></script> Now any script of type application/lua will be run by fengari: <script type="application/lua"> print("hello world!") </script> <script src="/my-script.lua" type="application/lua" async></script>