{"id":13831959,"url":"https://github.com/terrastruct/d2oracle-demo","last_synced_at":"2025-04-09T19:17:59.692Z","repository":{"id":217304988,"uuid":"588336922","full_name":"terrastruct/d2oracle-demo","owner":"terrastruct","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-14T00:45:56.000Z","size":1823,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T19:17:54.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrastruct.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2023-01-12T22:04:12.000Z","updated_at":"2024-12-20T09:54:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d381ff12-2c08-4d80-91c6-ac2dcca87722","html_url":"https://github.com/terrastruct/d2oracle-demo","commit_stats":null,"previous_names":["terrastruct/d2oracle-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2oracle-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2oracle-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2oracle-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrastruct%2Fd2oracle-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrastruct","download_url":"https://codeload.github.com/terrastruct/d2oracle-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094989,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-08-04T10:01:45.638Z","updated_at":"2025-04-09T19:17:59.650Z","avatar_url":"https://github.com/terrastruct.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# `d2oracle` demo\n\nSource code for the blog post\n[https://terrastruct.com/blog/post/generate-diagrams-programmatically/](https://terrastruct.com/blog/post/generate-diagrams-programmatically/).\n\nThis is a runnable example that reads a (very) limited subset of SQL statements from\n`plan.sql` and generates SVGs for each step, also outputting the final `.d2` file when\nit's done.\n\n## Run\n\n```\ngo run main.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrastruct%2Fd2oracle-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrastruct%2Fd2oracle-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrastruct%2Fd2oracle-demo/lists"}