@sinm/pipe-charts

1.2.0 • Public • Published

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:

image

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

Readme

Keywords

none

Package Sidebar

Install

npm i @sinm/pipe-charts

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

16.9 MB

Total Files

12

Last publish

Collaborators

  • pansinm