Configuration

Astra can be configured in a few ways for runtime. As of now there is no native TLS/SSL support and needs a reverse proxy such as Caddy to handle that. Check Deployment for more information.

However every configuration option will be available at the Astra global table instead. For example, changing the compression, port and hostname is as such:

-- configure the server with
Astra.compression = false
Astra.port = 8000
Astra.hostname = "0.0.0.0"

-- run the server with
Astra:run()

You can also configure other languages that compiles to Lua such as Pluto and Fennel, although Pluto targets Lua 5.4 which might get support by 1.0 release of Astra. Astra's api is for pure Lua however, so it will be up to you to make sure it can call the right functions and tables.

In the future, there may be binaries with different combinations prebuilt as well!