You are browsing as a guest. Sign up (or log in) to start making projects!

Zolt

  • 4 Devlogs
  • 9 Total hours

This 0 year old zig web server still serves their response the old fashioned way

Ship #1 Pending review

a tiny zig web server that speaks luau. when user request the server run the lua code and return them. kinda like php but with lua.

  • 4 devlogs
  • 9h
Try project → See source code →
Open comments for this post

58m 39s logged

Quick Start

i have added new entry to documentation such as installation using the new install script and your first zolt web guide along with lua api reference.

for the zolt i have move status() and header() api into response.status() and response.header() to align more with request.path() and change webroot from current working dir to config parent dir.

0
0
12
Open comments for this post

2h 26m 37s logged

Documentation!!

so i been working on a documentation for zolt with guess what zolt
well the doc right now is pretty barebone with just intro and install for now but it is made with zolt,html,css,js
i also use hotwire turbo and stimulus, and it also use this cute font by creators of grug. (https://handdrawn.software/grug/)

you can access the doc page here
https://zolt-doc.perr.dev

0
0
9
Open comments for this post

3h 1m logged

Devlog 2

so from the last time i added new api such as

  • require allow you to load other luau file and use them as a module
  • header add header to the response
  • status set http status code for the response

with require you can now create function that help you build, for example i created a render module that help me to render html easier without having to deal with writing html tags manually

apart from new api there has been a lot of changes behind the scene such as concurrency and performance improvements

for the next devlog i will be working on adding api support for query params , form data , json body , and cookies so that you can build more complex web app with zolt!
not only that am working on a documentation site that will also serve as an example on how to build web app using zolt

0
0
42
Open comments for this post

2h 47m 38s logged

Zolt so this is php but with lua instead. well i wanted to learn zig and lately i been working on php project, and i just really love how stuff seem so simple but i kinda hate php syntax and the server around it. so yea here zolt it a zig web server that read the lua file you are requesting via query path then use luau to run it and give you the response. right now it just a plain text response but more coming!

0
0
8

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…