CV-as-a-Service, because the world needs more SaaS.
On a whim and mostly for the heck of it, I decided that it'd be fun to make my CV into a service that other people can query. Well, mostly myself I guess. This is the result, a full GraphQL-API that you can query in both Norwegian and English to get more information about yours truly! Spectacularly useless for everyone but me. Oh, and it generates my LaTeX-resume, which is actually pretty cool if you ask me.
Don't.
Again, don't. But if you really want to, the easiest way is to use Docker:
$ docker run -itd --restart unless-stopped -p 8080:8080 --name cv-aas ghcr.io/sondr3/cv-aas:latestWell, it's kinda messy. The main bulk of the content is written in a programmable configuration language called Dhall, which is essentially JSON + functions + types + imports. I then convert that data to JSON and those files are then included in the binary that is written in Rust enabling very easy deployment of the API, and I can use Serde to easily deserialize the JSON to Rust structs. Finally, I generate my LaTeX-resume using Dhall as essentially a programmable templating language where I import the language specific content and map it out as TeX.
MIT.