Yeah, IIRC originally the nginx/lua integration was more about dynamically extending the core features and configuration, like virtual hosts or proxies.
But that does get you a pretty high-speed interface, if you're willing to bet your money on both nginx and lua.
There are some higher-level abstractions available, like lapis[1], which powers itch.io.
That's basically why I dislike languages like this. I used to write World of Warcraft AddOns in lua. Refactoring was a pain. There'd often be some edge case I'd only notice days later where now a function argument was missing, was not passed in, or was mistyped for example.
I use https://www.pastery.net/, which I think is the best pastebin (because I made it the way I wanted it). Private, no ads, no hassle, and the best part is the editor integration. Highlight some code, press F2, and the paste URL is in your clipboard.
I love it so much, and everyone that has used it likes it too, so I'm really happy about all this.
> Everything goes over an encrypted TLS connection, so nobody other than the intended recipient (and us. And probably CloudFlare, and maybe Google. But that's it.) can see what you're pasting.
This is funny. Liked the sense of humor over the irony. :) It does look pretty.
Using nginx.conf to host this looks like a great way to get around organisational boundaries to deploy applications you are not allowed to. "Well I'm just doing a quick config change, updating the nginx.conf sir..."
25 comments
[ 3.0 ms ] story [ 62.9 ms ] threadBut that does get you a pretty high-speed interface, if you're willing to bet your money on both nginx and lua.
There are some higher-level abstractions available, like lapis[1], which powers itch.io.
[1]: https://leafo.net/lapis/
I love it so much, and everyone that has used it likes it too, so I'm really happy about all this.
This is funny. Liked the sense of humor over the irony. :) It does look pretty.
“With a default expiration time of one day”
But the default expiration time was one month when I clicked the button to create a new paste.
Nice work, though!