{"id":15372995,"url":"https://github.com/vi/rendercsv","last_synced_at":"2025-04-01T13:16:20.598Z","repository":{"id":252147917,"uuid":"839569153","full_name":"vi/rendercsv","owner":"vi","description":"Tool to convert CSV table to a picture.","archived":false,"fork":false,"pushed_at":"2024-08-07T22:13:07.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T19:50:58.129Z","etag":null,"topics":["animation","csv","csv2pic","csv2png","data-analysis","picture","png","table","table-renderer","visualization"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/vi.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":"2024-08-07T22:12:07.000Z","updated_at":"2024-08-08T02:11:37.000Z","dependencies_parsed_at":"2024-08-08T01:41:42.645Z","dependency_job_id":null,"html_url":"https://github.com/vi/rendercsv","commit_stats":null,"previous_names":["vi/rendercsv"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frendercsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frendercsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frendercsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frendercsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/rendercsv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644097,"owners_count":20810687,"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":["animation","csv","csv2pic","csv2png","data-analysis","picture","png","table","table-renderer","visualization"],"created_at":"2024-10-01T13:53:53.890Z","updated_at":"2025-04-01T13:16:20.573Z","avatar_url":"https://github.com/vi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rendercsv\n\nCommand line tool to quicky get picture from CSV file, manually specifyig cell dimensions. Main use case is to create create animated tables from a series of CSV files (obtained e.g. using `qsv partition --drop`).\n\n## Features\n\n* Rotating specific cells (to economize horizontal space in header row)\n* Setting colour of specific cells (to emulate conditional formatting)\n\n## Limitations\n\n* Table geometry is not calculated. You need to specify a number of command line parameters for the table to looks OK.\n* Text alignment is fixed.\n* Default font is lean. Specify custom font to render more text.\n\n## Cell text prefixes\n\nText in a cell is parsed for the following prefixes:\n\n* `rot:` - rotate this cell\n* `l=N:` - set cell background colour lightness to N\n* `s=N:` - set cell background colour saturation to N\n* `h=N:` - set cell background colour hue to N\n\n## Example\n\n```\n$ cat test.csv\nrow,rot:Alpha Bravo,rot:Charlie Delta,rot:Echo Foxtrot\nrow1,1,2,3\nrow2,2,3,h=30:s=40:19\nrow3,l=90:0,l=90:0,l=90:0\n\n$ rendercsv test.csv test2.png --first-column-width 40 --column-width 16 --first-row-height 90 -W 100 -H 150\n```\n\n![test.png](test.png)\n\n## Installation\n\nDownload a pre-built executable from [Github releases](https://github.com/vi/rendercsv/releases) or install from source code with `cargo install --path .`  or `cargo install rendercsv`.\n\n## CLI options\n\n\u003cdetails\u003e\u003csummary\u003e rendercsv --help output\u003c/summary\u003e\n\n```\nUsage: rendercsv [OPTIONS] \u003cINPUT_CSV\u003e \u003cOUTPUT_PNG\u003e\n\nArguments:\n  \u003cINPUT_CSV\u003e   \n  \u003cOUTPUT_PNG\u003e  \n\nOptions:\n  -W, --width \u003cWIDTH\u003e\n          [default: 1280]\n  -H, --height \u003cHEIGHT\u003e\n          [default: 720]\n      --font \u003cFONT\u003e\n          font file (ttf) to render legend text. Default is embedded font Dharma Type Sometype Mono\n  -s, --font-scale \u003cFONT_SCALE\u003e\n          Text size [default: 12.0]\n  -Y, --first-row-height \u003cFIRST_ROW_HEIGHT\u003e\n          [default: 60]\n  -y, --row-height \u003cROW_HEIGHT\u003e\n          [default: 16]\n  -X, --first-column-width \u003cFIRST_COLUMN_WIDTH\u003e\n          [default: 80]\n  -x, --column-width \u003cCOLUMN_WIDTH\u003e\n          [default: 60]\n  -h, --help\n          Print help\n```\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Frendercsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Frendercsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Frendercsv/lists"}