{"id":19320364,"url":"https://github.com/jlyonsmith/gantt_generator","last_synced_at":"2026-01-27T11:02:11.991Z","repository":{"id":143313312,"uuid":"484850215","full_name":"jlyonsmith/gantt_generator","owner":"jlyonsmith","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-23T19:35:31.000Z","size":340,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T01:12:29.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/jlyonsmith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-04-23T20:29:57.000Z","updated_at":"2023-04-24T13:17:29.000Z","dependencies_parsed_at":"2023-05-13T03:00:13.207Z","dependency_job_id":null,"html_url":"https://github.com/jlyonsmith/gantt_generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jlyonsmith/gantt_generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fgantt_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fgantt_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fgantt_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fgantt_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlyonsmith","download_url":"https://codeload.github.com/jlyonsmith/gantt_generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fgantt_generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-11-10T01:28:32.965Z","updated_at":"2026-01-27T11:02:11.976Z","avatar_url":"https://github.com/jlyonsmith.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gantt Chart Generator\n\nThis is a simple Gantt chart generator written as [Dart](https://dart.dev/) command line tool.  Currently the tool generates an HTML/CSS Gantt chart.  It uses only `div` \u0026 `span` for HTML and everything else is done in CSS.  This allows you to cut/paste the output into a wiki pages that filter content, in particular [Confluence](https://www.atlassian.com/software/confluence).\n\n## Installing\n\n1. [Install Dart](https://dart.dev/get-dart).  I recommend installing it via [Flutter](https://docs.flutter.dev/get-started/install).\n2. Create a sample JSON/JSON5 file (see below)\n3. Build and run the tool with `dart run bin/gantt_generator.dart -i scratch/ceviche.json5 -o scratch/index.html`\n4. Run a tool like [live-reload](https://www.npmjs.com/package/live-server) to view the `index.html` output in real time\n\n## Interesting Details\n\nThe tool uses the following packages:\n\n- [resource_portable](https://pub.dev/packages/resource_portable) to embed the HTML/CSS as a resource in the CLI tool\n- [moustache_template](https://pub.dev/packages/mustache_template) for templating\n- [json5](https://pub.dev/packages/json5) to load [JSON5](https://json5.org/) format files\n\nIt's a tool to solve a problem that I had.  I will probably add generation of JPEG/PNG images at some point.\n\nQ: Why did I write it in Dart?\nA: Because I've been developing Flutter apps for a while and I wanted to see what the state of the Dart ecosystem was for creating non-Flutter applications in Dart.\n\n## Sample Project File\n\nHere's a sample project file to show the format that the tool expects:\n\n```json5\n{\n  startDate: \"1/17/2022\",\n  colors: [\"007FBE\", \"00B570\", \"FF9600\", \"000000\"],\n  title: \"Some Project\",\n  items: [\n    {\n      title: \"Task #1\",\n      duration: 8,\n      color: 1,\n    },\n    {\n      title: \"Task #2\",\n      duration: 28,\n      color: 2,\n    },\n    {\n      title: \"Milestone #1\",\n      color: 4,\n    },\n    {\n      title: \"Task #3\",\n      duration: 110,\n      color: 3,\n    },\n    {\n      title: \"Task #4\",\n      duration: 14,\n      color: 1,\n    },\n    {\n      title: \"Task #5\",\n      duration: 2,\n      color: 1,\n    },\n  ],\n}\n```\n\nAnd here's the output:\n\n![Sample Gantt Chart](./example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlyonsmith%2Fgantt_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlyonsmith%2Fgantt_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlyonsmith%2Fgantt_generator/lists"}