GitHunt
ES

esdmr/lacgi

πŸ™…πŸ›‘ LaTeX-based http router (bad idea)

$\mathrm{L\kern-.325em\raise.21em{\scriptstyle{A}}\kern-.17emCGI}$

$\mathrm{X\kern-.1em\lower.5ex\hbox{Ǝ}\kern-.13em\LaTeX\hspace{0.5em}}$-based
HTTP request router via CGI. Not production ready. Will never be. Please don’t
use. It’s only a joke.

I know ~23% of the code is in Python. That’s just the database integration. Yes,
this behemoth supports database connection and user authentication. No, you
shouldn’t trust it.

Ingredients

You likely already have most of the ingredients you'll need. Here's what to add
to your grocery list:

  • Python 3 + HTTP module (You can substitute it with Apache or nginx)
  • Bourne Again Shell (bash)
  • $\mathrm{X\kern-.1em\lower.5ex\hbox{Ǝ}\kern-.13em\LaTeX\hspace{0.5em}}$
    compiler

Instructions

  • Preheat your terminal to 200Β Β°C
  • Lubricate your favorite shell lightly with canola oil
  • Pour ./index in the shell and place inside the terminal
  • Let it bake for as long as you have time to waste (It most probably, maybe,
    dubitably, unlikely, uncertainly will not catch on fire)
  • Serve with a cup of bleach

Languages

TeX72.4%Python22.8%Shell4.8%

Contributors

MIT License
Created June 18, 2023
Updated June 23, 2025
esdmr/lacgi | GitHunt