An open API service indexing awesome lists of open source software.

https://github.com/doublechaintech/echarts-service-svg

Echats server generates svg
https://github.com/doublechaintech/echarts-service-svg

Last synced: about 1 year ago
JSON representation

Echats server generates svg

Awesome Lists containing this project

README

          

# echarts-service-svg
Echarts server generates svg

## Features
* Generates svg image from server side
* Stored Image
* Stateless Service
* Support Docker
* Support Bun Runtime: https://bun.sh/
* Use nodemon to monitor the file changes in DEV mode

# Use Case
* Document Generating for Generative AI
* Embed content with HTML and PDF

## API
* Just to try: browser to http://localhost:3000/
* Store a chart: curl -d @test/sample-chart.json http://localhost:3000/6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b

6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b is a UUID generated by client

* Browser to http://localhost:3000/6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b to view the chart

## License
MIT license to ensure every can use and contribute.

## Thanks

* This tool helped to generated error message svg: https://editor.method.ac/
* Tested under bun.sh