{"id":16671174,"url":"https://github.com/lurst/vspark","last_synced_at":"2025-03-21T17:32:56.655Z","repository":{"id":6972622,"uuid":"8225730","full_name":"LuRsT/vspark","owner":"LuRsT","description":":bar_chart: Like spark, but vertical","archived":false,"fork":false,"pushed_at":"2016-05-13T07:59:14.000Z","size":12,"stargazers_count":35,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T03:22:26.808Z","etag":null,"topics":["cli"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/LuRsT.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}},"created_at":"2013-02-15T20:37:30.000Z","updated_at":"2024-11-28T16:31:21.000Z","dependencies_parsed_at":"2022-09-16T02:12:00.645Z","dependency_job_id":null,"html_url":"https://github.com/LuRsT/vspark","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fvspark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fvspark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fvspark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuRsT%2Fvspark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuRsT","download_url":"https://codeload.github.com/LuRsT/vspark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244838770,"owners_count":20518880,"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":["cli"],"created_at":"2024-10-12T11:41:08.131Z","updated_at":"2025-03-21T17:32:56.350Z","avatar_url":"https://github.com/LuRsT.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"vspark\n======\n\nCreate utf8 or ascii vertical graphs with ease.\n\n## Setup\n\n    $ curl https://raw.githubusercontent.com/LuRsT/vspark/master/vspark \u003e ~/bin/vspark\n    (Examine ~/bin/vspark)\n    $ chmod +x ~/bin/vspark\n\n## How to use\n\nWith a set of numbers:\n\n    $ vspark 1 20 400 300 200\n    ▏\n    ▏\n    █\n    ▊\n    ▌\n\nor via STDIN:\n\n    $ seq 0 10 | sort -R | vspark\n    ▏\n    ▌\n    ▍\n    ▊\n    █\n    ▎\n    ▉\n    ▋\n    ▍\n    ▏\n    ▋\n\nYou can also choose how many columns do you want the graph to spread out, by changing the `GRAPH\\_SIZE` env variable:\n\n    $ seq 10 | GRAPH_SIZE=10 vspark\n    █▏\n    ██▏\n    ███▏\n    ████▏\n    █████▏\n    ██████▏\n    ███████▏\n    ████████▏\n    █████████▏\n    ██████████▏\n\nAnd if it strikes your fancy, you can display the numbers next to each bar, by\nusing `DISPLAY\\_NUMBERS` env variable (just needs to have some value in it):\n\n    $ seq 10 | GRAPH_SIZE=10 DISPLAY_NUMBERS=1 vspark\n     1 █\n     2 █▉\n     3 ██▊\n     4 ███▋\n     5 ████▋\n     6 █████▌\n     7 ██████▍\n     8 ███████▎\n     9 ████████▏\n    10 █████████▏\n\n\nYou can also have ASCII output using `CUSTOM_CHAR`:\n\n    $ seq 10 | GRAPH_SIZE=5 CUSTOM_CHAR=\"=\" vspark\n    =\n    =\n    ==\n    ==\n    ===\n    ===\n    ===\n    ====\n    ====\n    =====\n\n## Licence\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flurst%2Fvspark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flurst%2Fvspark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flurst%2Fvspark/lists"}