{"id":24086719,"url":"https://github.com/even-wei/chartdown","last_synced_at":"2026-05-15T06:06:55.764Z","repository":{"id":271476333,"uuid":"913358308","full_name":"even-wei/Chartdown","owner":"even-wei","description":"A blazingly fast markdown-to-PDF converter that transforms CSV data into beautiful charts, written in Zig. Create data-rich documents with simple syntax.","archived":false,"fork":false,"pushed_at":"2025-01-08T01:11:19.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T02:21:11.690Z","etag":null,"topics":["charts","cli-tool","csv","data-visualization","markdown","pdf","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/even-wei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-07T14:31:28.000Z","updated_at":"2025-01-08T01:11:23.000Z","dependencies_parsed_at":"2025-01-08T02:21:14.773Z","dependency_job_id":"7c13ff2d-7e0a-45dc-81c0-9662d3823176","html_url":"https://github.com/even-wei/Chartdown","commit_stats":null,"previous_names":["even-wei/chartdown"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/even-wei%2FChartdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/even-wei%2FChartdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/even-wei%2FChartdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/even-wei%2FChartdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/even-wei","download_url":"https://codeload.github.com/even-wei/Chartdown/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240974408,"owners_count":19887300,"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":["charts","cli-tool","csv","data-visualization","markdown","pdf","zig"],"created_at":"2025-01-10T02:26:02.856Z","updated_at":"2026-05-15T06:06:50.723Z","avatar_url":"https://github.com/even-wei.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chartdown\n\nA markdown to PDF converter with embedded charts, written in Zig.\n\n## Features\n\n- 📈 Convert markdown files containing chart definitions to beautiful PDFs\n- 📊 Generate line and bar charts from CSV data\n- 🚀 Single binary with no runtime dependencies\n- ⚡ Fast and efficient Zig implementation\n\n## Installation\n\nRequires Zig 0.11.0 or later.\n\n```bash\ngit clone git@github.com:even-wei/Chartdown.git\ncd Chartdown\nzig build\n```\n\n## Usage\n\n```bash\nchartdown input.md output.pdf\n```\n\n## Syntax\n\nCharts are embedded in markdown using code blocks with the `chart` identifier:\n\n```\n# Sales Report\n\nOur quarterly sales:\n\nchart\n{\n    type: \"line\",\n    data: \"sales.csv\",\n    x: \"date\",\n    y: \"revenue\",\n    title: \"Quarterly Revenue\"\n}\n```\n\n### Chart Configuration\n\nBasic options:\n- `type`: Chart type (\"line\", \"bar\")\n- `data`: Path to CSV file (relative to markdown file)\n- `x`: Column name for X axis\n- `y`: Column name for Y axis\n- `title`: Chart title (optional)\n\nAdditional options:\n- `width`: Chart width in pixels (default: 800)\n- `height`: Chart height in pixels (default: 400)\n- `color`: Line/bar color (default: \"#2E86C1\")\n\n## Development\n\n### Project Structure\n\n```\nsrc/\n  ├── main.zig       # Entry point\n  ├── parser/        # Markdown and chart parsing\n  ├── chart/         # Chart generation\n  ├── pdf/           # PDF generation\n  └── utils/         # Common utilities\n```\n\n### Building from source\n\n```bash\n# Build the project\nzig build\n\n# Run tests\nzig build test\n\n# Install locally\nzig build install\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feven-wei%2Fchartdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feven-wei%2Fchartdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feven-wei%2Fchartdown/lists"}