silicon can render your source code into a beautiful image. Like Carbon, but it's implemented in Rust, and runs locally, without requiring a remote web service.

https://github.com/Aloxaf/silicon