eja(1)
π eja(1) β General Commands Manual π
okay bestie, sit down, hydrate, and let me tell you about eja β¨ it lives in section 1 of the General Commands Manual, and it's literally the most "small but does everything" energy on your whole system. no cap. π¦
π NAME π
eja β micro web server πΈ
β¨ SYNOPSIS β¨
eja [SCRIPT] [OPTION]...
π DESCRIPTION π
bestie, eja is giving β¨multitasking iconβ¨. you can use it as a micro web server for static and dynamically generated content, OR as a text scanner that uses Lua pattern matching syntax, OR as a standalone Lua interpreter. three whole personalities. main character energy fr fr π
π OPTIONS π
one bullet per option, zero skips, we keep every single one because we respect the source material π«Ά
--shellβ launch an interactive shell. it's giving "let me talk to you directly" π¬--update libraryβ if library is specified, install or update it; otherwise updateejaitself to the latest version. glow-up mode activated β¨--export fileβ export file toejaportable bytecode. packing it up for the road π--log-file fileβ log data to file, default:stderr. your receipts, but saved π--log-level 0..5β level can be from0(no log) to5(trace). choose your yapping volume π₯--scan scriptβ if script is present, load it as the scanning script usingRas full row content andFas matching array elements. otherwise it just prints only matching pattern content. no script? no problem, just the hits π--scan-file fileβ scanning input file, default:stdin. where the tea comes from π--scan-pattern patternβ set a valid Lua pattern as fields separator, default:%S+. this is the "where do I cut" setting βοΈ--scan-record patternβ set a valid Lua pattern as record separator, default:\n. this is the "where does one row end" setting π--web-startβ start a new web server in background. it's alive, it's serving, it's not even in your way π--web-stop portβ stop the web server running on specified port, default35248. bye bestie π--web-host IPβ bind web server to specified IP, default all available. pick your address, or let it take the whole couch ποΈ--web-port valueβ run the web server port on specified value, default35248. the sacred number π§--web-path pathβ web content path, default/var/web. where your gorgeous little files live π--web-size valueβ set web server buffer size, default8192. how big the sips are π₯€--web-userβ add a new web server user. new friend unlocked π«--helpβ display help information. when in doubt, ask π
π SEE ALSO π
πΈ AUTHOR πΈ
Ubaldo Porcheddu (ubaldo@eja.it) β the one who built this whole vibe, we stan π«Άβ¨
okay that's the whole page, and a little sign-off from me to you: this was the eja(1) page from the General Commands Manual, footer and all β same eja(1), same section 1, same everything, just with way more sparkle π go forth and serve some micro web content, bestie. periodt. π
π
π¦ where this page comes from
- debian bookworm: eja 9.5.20-1+b1 Β· GPL-3.0-only
- ubuntu jammy: eja 9.5.20-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms