eja(1)

πŸ“¦ version 9.5.20, in debian bookworm, ubuntu jammy

πŸŽ€ 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 update eja itself to the latest version. glow-up mode activated ✨
  • --export file β€” export file to eja portable 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 from 0 (no log) to 5 (trace). choose your yapping volume πŸ”₯
  • --scan script β€” if script is present, load it as the scanning script using R as full row content and F as 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, default 35248. 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, default 35248. 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, default 8192. 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 πŸ’€

lua(1), awk(1)


🌸 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