A web server that host/generate an open graph image for naoTimes.
Created originally in JavaScript with express.js, now use Rust + Axum 🚀
Public: https://og-api.naoti.me
The following package is developed with Rust 1.72 with support for minimum version of 1.66 following axum's MSRV
- Install Rust using rustup
- Clone this repository
- Build release version with
cargo build --release --bin naotimes_open_graph
- Run the server by executing:
./target/release/naotimes_open_graph
& ./target/release/naotimes_open_graph.exe
- Open http://127.0.0.1:12460 and start using it.
See .env.example