Skip to content

little helper for throwing in a docker image and spitting out png files

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

grafana/social-image

 
 

social-image

Crates.io CI

Post SVGs and then request renderings in other formats (currently only PNG)

This is a very small helper tool that renders SVG to PNG, including resources like images and fonts. The resulting PNG can be used for social images or other live content.

Updating the SVG or any of its resources will trigger an update to the PNG.

Usage

  • GET / → help content
  • POST /images → POST SVG for render (see help content above for instructions)

Installation

Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • Run cargo install social-image

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

About

little helper for throwing in a docker image and spitting out png files

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 95.2%
  • Dockerfile 3.9%
  • Makefile 0.9%