@sinm/pipe-charts
v1.2.0
Published
pipe bash output to echarts
Downloads
10
Readme
pipe-charts
Generate charts from bash output.
Install
npm install -g @sinm/pipe-charts
Usage
echo -e "day1 1\nday2 4\nday3 9" | pipe-charts --type bar
output:
With LLM
# config envs
echo "LLM_BASE_URL=https://your-llm-api.com"\nLLM_API_KEY=api_key\nLLM_MODEL=gpt-3.5-turbo\nKROKI_HOST=https://kroki.io/" > ~/.pipe-charts
echo "day1 1\nday2 4\nday3 9" | pipe-charts --prompt "generate pie chart from this data" -o output.png
LICENSE
MIT
This repo use fonts Source Han Sans