Skip to content

storopoli/stoic-quotes

Repository files navigation

Stoic Quotes

CC0 MIT

The whole app runs with Rust using htmx1 and plain HTML for "reactivity"2.

Description

Performance

This motherfucker is fast AF!

It only consumes 2.2mb of memory and the cheapest CPU VPS available will handle it. The JSON data is loaded into memory (so that takes ≈0.2mb). Leaving the whole app to consume 2mb of memory.

❤️ Rust!

Terminal-ready

Yes, if you despise the bloated browsers and you prefer the warm embrace of the terminal you can get your stoic quotes without leaving the terminal:

$ wget -qO- stoicquotes.io
"It is better to be despised for simplicity than to suffer agonies from everlasting pretense."
 - Seneca

$ curl -L stoicquotes.io
"It is better to be despised for simplicity than to suffer agonies from everlasting pretense."
 - Seneca

License

This content is licensed under a Creative Commons Public Domain CC0 1.0 License.

The source code is licensed under a MIT License.

CC0 MIT

Footnotes

  1. Look Mum! No YAVASCRIPT!

  2. Hypermedia-Driven Applications