GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chartquery/dify-plugin-chartquery: Dify plugin for ChartQuery: charts, diagrams, QR codes and barcodes as images.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
_assets
_assets
 
 
provider
provider
 
 
tests
tests
 
 
tools
tools
 
 
.difyignore
.difyignore
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
PRIVACY.md
PRIVACY.md
 
 
README.md
README.md
 
 
chartquery_api.py
chartquery_api.py
 
 
main.py
main.py
 
 
manifest.yaml
manifest.yaml
 
 
requirements.txt
requirements.txt
 
 
ruff.toml
ruff.toml
 
 

Repository files navigation

ChartQuery for Dify

ChartQuery renders charts, diagrams, QR codes and barcodes as images. This plugin lets Dify agents, workflows and chatflows turn data into a chart, a description into a diagram, or a link into a QR code, and show the image right in the conversation.

Author: chartquery · Source: https://github.com/chartquery/dify-plugin-chartquery · Contact: [email protected]

Tools

Tool What it does
Create Chart A Chart.js v4 chart from its JSON config. 5 credits.
Chart From Prompt A chart from a description and optional raw data (CSV, JSON or text). The AI picks the type and layout. 10 credits.
Create Diagram A diagram from its source code in Mermaid, D2, PlantUML, Graphviz, BPMN, DBML and more. 5 credits.
Diagram From Prompt A diagram from a description; the AI writes it in Mermaid, D2, PlantUML or Graphviz. 10 credits.
QR Code A QR code for a link, email, phone number, Wi-Fi network or any text, with color and size. 3 credits.
Barcode A barcode in EAN-13, UPC-A, Code 128, ITF-14, GS1-128 and more. 3 credits.

Each tool shows the image, returns a text message with its links (the image, a page to open, and when they expire), and a JSON message with render_url, view_url, embed_url and expires_in for workflow variables. Links last 3 days on the free plan (with a watermark) and 6 months on paid plans. Errors such as an invalid key, missing credits or a rate limit come back as a text message, and the API key never appears in it.

Setup

  1. Create an account and copy your API key at app.chartquery.com.
  2. In Dify, install the ChartQuery plugin from the Marketplace.
  3. Open Tools → ChartQuery → Authorize and paste the API key. Dify checks it with a request that costs no credits.
  4. Add the tools to an agent, a workflow or a chatflow.

Requirements

  • Dify 1.0.0 or later.
  • Outbound HTTPS access to api.chartquery.com.
  • A ChartQuery API key. Usage counts against your ChartQuery credits; see www.chartquery.com/pricing.

Privacy

See PRIVACY.md.

Development

python -m venv .venv && .venv/bin/pip install -r requirements.txt pytest pyyaml
.venv/bin/pytest

The Package workflow builds the .difypkg with Dify's plugin CLI and attaches it to a GitHub release when the version in manifest.yaml changes.

About

Dify plugin for ChartQuery: charts, diagrams, QR codes and barcodes as images.

www.chartquery.com

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.