{"id":47694126,"url":"https://github.com/posit-dev/ggsql","last_synced_at":"2026-04-17T22:01:43.250Z","repository":{"id":327588577,"uuid":"1109924834","full_name":"posit-dev/ggsql","owner":"posit-dev","description":"A SQL extension for declarative data visualisation based on the Grammar of Graphics.","archived":false,"fork":false,"pushed_at":"2026-04-17T10:33:27.000Z","size":98354,"stargazers_count":64,"open_issues_count":42,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-17T10:38:32.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ggsql.org/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posit-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-04T13:26:11.000Z","updated_at":"2026-04-17T10:33:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/posit-dev/ggsql","commit_stats":null,"previous_names":["georgestagg/ggsql","ggsql-dev/ggsql"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/posit-dev/ggsql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fggsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fggsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fggsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fggsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posit-dev","download_url":"https://codeload.github.com/posit-dev/ggsql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fggsql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31937752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-02T16:16:52.435Z","updated_at":"2026-04-17T22:01:43.230Z","avatar_url":"https://github.com/posit-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003ca href=\"https://ggsql.org\"\u003e\u003cimg src=\"doc/assets/logo.png\" height=\"50px\" alt=\"ggsql website\" /\u003e\u003c/a\u003e ggsql\n\nA SQL extension for declarative data visualization based on the Grammar of Graphics.\n\nggsql allows you to write queries that combine SQL data retrieval with visualization specifications in a single, composable syntax.\n\n## Example\n\n```ggsql\nSELECT date, revenue, region\nFROM sales\nWHERE year = 2024\n\nVISUALISE date AS x, revenue AS y, region AS color\nDRAW line\nSCALE x\n  SETTING breaks =\u003e 'month'\nLABEL title =\u003e 'Sales by Region'\n```\n\n## Why?\nMany data analysts are naturally at home in SQL and spend more time there than in a programming language like Python or R. Having to extract data, context switch to a new programming language, import data, etc. is cumbersome when all you want to do is understand the data you are working with *right now*.\n\nggsql is built for immediate familiarity and alignment with the SQL language. It is further built on the foundation of the grammar of graphics known from [ggplot2](https://ggplot2.tidyverse.org/) which affords a composable syntax capable of simple as well as arbitrarily complex visualizations.\n\nThe syntax has been designed to be easy to learn, read, and write. This also means that it is a great fit for AI agents to produce as the output query is immediately easy to understand and validate by the user so that you can have certainty in its validity.\n\n## Project status\nWe are approaching an alpha release with the main architectural parts finished. Future development will focus on adding new readers (database support) and writers (output types) to compliment the DuckDB/SQLite + Vegalite setup we have focused on during early development.\n\n## Installation\nPlease follow the instructions on [the website](https://ggsql.org/get_started.html) for up to date information on how to install ggsql.\n\n## Try it out\nggsql compiles to WASM and can thus be embedded in a website. You can try it out on our [playground](https://ggsql.org/wasm/) (no installation required).\n\n## Learn more\nBrowse [the documentation](https://ggsql.org/syntax/) to learn of all ggsql has to offer. Complete with interactive examples to try out.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fggsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposit-dev%2Fggsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fggsql/lists"}