BLOGC-RUNSERVER(1)

πŸ“¦
version 0.20.1^20240602.b1ae9c9 Β· 3 versions
, in fedora 43

✨ NAME ✨

okay bestie, meet blogc-runserver β€” literally a simple HTTP server so you can test your blogc websites πŸ¦‹ (this is from the blogc manual, section 1, iykyk)


🌸 SYNOPSIS 🌸

blogc-runserver [-t HOST] [-p PORT] DOCROOT
blogc-runserver [-h|-v]

πŸ’… DESCRIPTION πŸ’…

so blogc-runserver is a simple HTTP server whose whole entire job is making it easy to test blogc websites. no cap. you literally just point it at the directory where your target files got built, and it does the rest 🫢

it ships with a few pre-defined rules, similar to what production webservers do, so you can quickly test your website without configuring a whole webserver. not me saving you from a whole nginx config arc 😭

also, blogc-runserver is part of the blogc project, but it isn't tied to blogc(1). it may be able to serve any website built by static site generators. versatile queen πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

  • -t HOST β€” the HTTP server listen address. defaults to 127.0.0.1.
  • -p PORT β€” the HTTP server listen port. defaults to 8080.
  • -v β€” show program name, version and exit. lil vibe check and dip ✨
  • -h β€” show help message and exit.

πŸŽ€ ARGUMENTS πŸŽ€

  • DOCROOT β€” the HTTP server document root. this is the one thing you gotta hand over, bestie πŸ’…

🌈 ENVIRONMENT 🌈

  • BLOGC_RUNSERVER_DEFAULT_HOST β€” changes the default HTTP server listen address, if defined.
  • BLOGC_RUNSERVER_DEFAULT_PORT β€” changes the default HTTP server listen port, if defined.

πŸ’€ BUGS πŸ’€

found something cursed? please report any issues to: https://github.com/blogc/blogc


🧚 AUTHOR 🧚

Rafael G. Martins <rafael@rafaelmartins.eng.br>


πŸ“ SEE ALSO πŸ“

blogc(1)


and that's the whole page, bestie β€” no crumbs left. this lil masterpiece was written by Rafael G. Martins, and the manual is dated January 2025. slay, periodt πŸ’…βœ¨πŸ‘‘

πŸ“¦ where this page comes from