renderer_rs
is a project written in Rust, aiming to port the zenato/puppeteer-renderer project. The currently implemented example is:
- Rendering web content via
http://localhost:8080/html?url=http://www.google.com
.
The renderer_rs
project aims to provide a web rendering service using Rust and Headless Chrome. This project ports the functionality of zenato/puppeteer-renderer and implements it in Rust to leverage Rust's performance and safety features.
- Rust 1.56+
- Docker (optional, for containerized deployment)
git clone https://github.com/yourusername/renderer_rs.git
cd renderer_rs
cargo build --release
docker build -t renderer_rs .
docker run -p 8080:8080 renderer_rs
http://localhost:8080/html?url=http://www.google.com
This URL will render the Google homepage and return the HTML content.
Contributions are welcome! Please submit a pull request or create an issue to discuss.