4 stable releases
1.2.0 | Jan 31, 2025 |
---|---|
1.1.0 | Jan 30, 2025 |
1.0.1 | Jan 29, 2025 |
#109 in HTTP server
114 downloads per month
7KB
107 lines
UaaS: UwU as a Service
It's what it sounds like. The fastest text uwuifier in the west... as a service.
(You could say it's not really a SaaS, but it runs an HTTP server and returns uwuified text, so close enough.)
There's an uwuified version of this README. I'm too lazy to preserve the shell commands and links. Besides, it's funnier this way.
Installation:
Install from crates.io:
cargo install UaaS
uaas
Or clone and run:
git clone https://github.com/ackle-dev/UaaS.git && cd UaaS
cargo run
Usage:
Environment variable PORT
can be set to change the port the server runs on. By default, it runs on port 41235
, because why not?
PORT=8001 uaas # if installed via cargo
PORT=8001 cargo run # if cloned
Then, you can uwuify text by sending a PUT request to http://localhost:8001/
(or whatever port you choose) with the plaintext in the body (not JSON!).
For example, using curl
:
curl -X PUT -d "hello world" http://localhost:8001/ # returns "hewwo wowwd"
How's it work?
I've got no clue, I just hooked up the uwuify
crate to an HTTP server.
This code sucks.
Yeah, probably. I barely know any Rust. You can improve it with a PR if you'd like.
Dependencies
~0.8–1.2MB
~21K SLoC