https://github.com/vandercat/lua-home-page
PHP BUT LUA
https://github.com/vandercat/lua-home-page
Last synced: 3 months ago
JSON representation
PHP BUT LUA
- Host: GitHub
- URL: https://github.com/vandercat/lua-home-page
- Owner: VanderCat
- Created: 2025-03-08T15:24:00.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-15T20:38:05.000Z (10 months ago)
- Last Synced: 2025-08-20T10:17:13.199Z (5 months ago)
- Language: Zig
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Lua Home Page
WHAT IF LUA WAS PHP
I'M NOT KIDDING THIS IS LITERALLY PHP BUT LUA
WHY DID I MADE THIS
# Usage
build it and you got a fcgi server
```
zig build
```
it's expected to be run inside a folder with lua scripts
next connect it as usual to nginx/caddy ([example caddyfile](./test_backend/Caddyfile))
a script could be a lua function stuff that returns
```lua
{headers = {["Header"]="value"}, contents = ""}
```
or a lph file that similar to php
```php
```
# Trivia
made in a few days, and based on an old concept of mine special for луапобеда.рф (may not work yet)