{"id":44596017,"url":"https://github.com/gtktsc/simple-ascii-chart-website","last_synced_at":"2026-02-14T08:16:45.942Z","repository":{"id":37841234,"uuid":"454067681","full_name":"gtktsc/simple-ascii-chart-website","owner":"gtktsc","description":"Website - Simple console ascii chart (lines and bars) - for node, browser and terminal, no dependencies.","archived":false,"fork":false,"pushed_at":"2025-05-12T16:10:54.000Z","size":3020,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T16:53:29.011Z","etag":null,"topics":["ascii-art","ascii-chart","barchart","charting","javascript","linechart","lines","next","plot","terminal","text-chart","typescript","website"],"latest_commit_sha":null,"homepage":"https://simple-ascii-chart-website.vercel.app/","language":"TypeScript","has_issues":false,"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/gtktsc.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}},"created_at":"2022-01-31T15:48:07.000Z","updated_at":"2025-05-12T16:10:58.000Z","dependencies_parsed_at":"2023-09-24T13:42:07.141Z","dependency_job_id":null,"html_url":"https://github.com/gtktsc/simple-ascii-chart-website","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gtktsc/simple-ascii-chart-website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtktsc%2Fsimple-ascii-chart-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtktsc%2Fsimple-ascii-chart-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtktsc%2Fsimple-ascii-chart-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtktsc%2Fsimple-ascii-chart-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gtktsc","download_url":"https://codeload.github.com/gtktsc/simple-ascii-chart-website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtktsc%2Fsimple-ascii-chart-website/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29439878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: 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":["ascii-art","ascii-chart","barchart","charting","javascript","linechart","lines","next","plot","terminal","text-chart","typescript","website"],"created_at":"2026-02-14T08:16:45.364Z","updated_at":"2026-02-14T08:16:45.935Z","avatar_url":"https://github.com/gtktsc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Simple ASCII Chart Website\n\n### Overview\nThe **Simple ASCII Chart** website is a versatile tool that allows users to generate and visualize customizable ASCII-based charts. It provides a few different ways to interact with the charting system: through a web-based UI, an interactive playground, or by hitting an API directly. The website is also integrated with a **CLI** to generate charts from your terminal.\n\n### Accessing the Website\n\nYou can access the live website directly via:\n```\nhttps://simple-ascii-chart.vercel.app/\n```\n\n### API Usage\n\nTo generate charts via the API, send a GET request to the following endpoint with your `input` and optional `settings` query parameters:\n\nExample API call:\n```\nhttps://simple-ascii-chart.vercel.app/api?input=[[1,2],[2,3],[3,4]]\u0026settings={%22width%22:50}\n```\n\n### Playground\n\nThe website offers an interactive **Playground** that allows users to create charts by adjusting input data and configuration settings in real time. Visit the playground to experiment with different chart parameters:\n```\nhttps://simple-ascii-chart.vercel.app/playground\n```\n\n### CLI Usage\n\nTo generate ASCII charts from the command line, you can use the **Simple ASCII Chart CLI**. Install it globally with the following command:\n\n```\nnpm install -g simple-ascii-chart-cli\n```\n\nOnce installed, you can generate charts directly in your terminal by providing input data and chart settings. For example:\n\n```\nsimple-ascii-chart \"[[1, 2], [2, 4], [3, 8]]\" --width 20 --height 10\n```\n\nThis command will output the ASCII chart directly in your terminal.\n\n### Library Usage\n\nTo use the **simple-ascii-chart** library in your project, install it via npm or yarn:\n\n```\nnpm install simple-ascii-chart\n```\n\nor \n\n```\nyarn add simple-ascii-chart\n```\n\nOnce installed, you can use it in your code like this:\n\n```javascript\nimport plot from 'simple-ascii-chart';\n\nconst input = [\n  [1, 1],\n  [2, 4],\n  [3, 8],\n  [4, 16],\n];\n\nconst settings = { width: 20, height: 10 };\nconsole.log(plot(input, settings));\n```\n\n### Features\n\n- **Interactive Playground**: Modify chart inputs and settings dynamically.\n- **API**: Generate ASCII charts via API requests.\n- **CLI**: Generate ASCII charts from the command line.\n- **Library**: Easily integrate ASCII charts into your codebase.\n\n### Contributing\n\nFeel free to contribute to the development of the **Simple ASCII Chart** website or its components. You can find the repository for the **CLI** and **Library** below:\n\n- **CLI Repository**: [Simple ASCII Chart CLI](https://github.com/gtktsc/simple-ascii-chart-cli)\n- **Library Repository**: [Simple ASCII Chart Library](https://github.com/gtktsc/ascii-chart)\n\n### License\n\nThis project is open source and available under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtktsc%2Fsimple-ascii-chart-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgtktsc%2Fsimple-ascii-chart-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtktsc%2Fsimple-ascii-chart-website/lists"}