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
- Host: GitHub
- URL: https://github.com/doublechaintech/echarts-service-svg
- Owner: doublechaintech
- License: mit
- Created: 2023-01-14T20:05:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T16:21:47.000Z (over 3 years ago)
- Last Synced: 2025-02-13T01:49:35.725Z (over 1 year ago)
- Language: JavaScript
- Size: 30.5 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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