{"id":13419575,"url":"https://github.com/asmuth/clip","last_synced_at":"2026-04-09T05:31:47.120Z","repository":{"id":45787980,"uuid":"2400938","full_name":"asmuth/clip","owner":"asmuth","description":"Create charts from the command line","archived":false,"fork":false,"pushed_at":"2020-06-11T23:25:23.000Z","size":37257,"stargazers_count":5156,"open_issues_count":7,"forks_count":380,"subscribers_count":182,"default_branch":"master","last_synced_at":"2026-04-07T04:37:40.189Z","etag":null,"topics":["chart","charts","cpp17","csv","data-visualization","plots","plotting","visualization"],"latest_commit_sha":null,"homepage":"https://clip-lang.org","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asmuth.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}},"created_at":"2011-09-16T17:58:37.000Z","updated_at":"2026-04-02T08:30:21.000Z","dependencies_parsed_at":"2022-07-16T15:47:06.946Z","dependency_job_id":null,"html_url":"https://github.com/asmuth/clip","commit_stats":null,"previous_names":["paulasmuth/fnordmetric","paulasmuth/metrictools","paulasmuth/zdb","paulasmuth/libpaint"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/asmuth/clip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuth%2Fclip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuth%2Fclip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuth%2Fclip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuth%2Fclip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asmuth","download_url":"https://codeload.github.com/asmuth/clip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asmuth%2Fclip/sbom","scorecard":{"id":212606,"data":{"date":"2025-08-11","repo":{"name":"github.com/asmuth/clip","commit":"5fca358e56e6334a22aa09264f2ccb7d41bd156f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T01:01:46.270Z","repository_id":45787980,"created_at":"2025-08-17T01:01:46.270Z","updated_at":"2025-08-17T01:01:46.270Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31587775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chart","charts","cpp17","csv","data-visualization","plots","plotting","visualization"],"created_at":"2024-07-30T22:01:17.895Z","updated_at":"2026-04-09T05:31:47.096Z","avatar_url":"https://github.com/asmuth.png","language":"C++","readme":"clip\n====\n\nclip (the _command line illustration processor_) is an open-source command line\nprogram and software library for creating charts and other data-driven\nillustrations.\n\n\u003ch4\u003e\n  \u003ca href=\"https://clip-lang.org/getting-started\"\u003eGetting Started\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://clip-lang.org/examples\"\u003eExamples\u003c/a\u003e \u0026middot;\n  \u003ca href=\"https://clip-lang.org\"\u003eDocumentation\u003c/a\u003e\n\u003c/h4\u003e\n\n\nIntroduction\n------------\n\nIn essence, clip is an automated drawing program; it reads a text file containing\na description of the chart or diagram and produces an image from it. This is best\nexplained by example, so here is how to draw a simple line chart using clip:\n\n```css\nclass: plot;\n\nlimit-x: 0 7200;\nlimit-y: 0 100;\n\naxes {\n  font: \"Roboto\";\n  position: left bottom;\n  label-placement-x: linear-interval(900 900 7000);\n  label-format-x: datetime(\"%H:%M:%S\");\n}\n\nlines {\n  data: \"test/testdata/timeseries.csv\";\n  stroke-width: 0.8pt;\n  color: #06c;\n}\n```\n\nThe input file from above (`example.clp`) can be processed with clip using the\nfollowing command:\n\n    $ clip --export output.svg example.clp\n\nThis is the resulting SVG file (`output.svg`):\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://clip-lang.org/examples/charts-scientific/multiple_y_axes\"\u003e\n    \u003cimg src=\"/doc/demo.svg\" width=\"80%\" alt=\"Demo Chart\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\nNote that this example is only intended to give you an idea of what the syntax\nlooks like; for an in-depth description of all parameters, please refer to\n[the documentation](https://clip-lang.org). More examples can be found on\n[the examples page](https://clip-lang.org/examples).\n\n\nDocumentation\n-------------\n\nYou can find the full documentation and more examples at [clip-lang.org](https://clip-lang.org/).\n\n\nInstallation\n------------\n\n#### Compile from source\n\nTo build clip, you need an up-to-date C++ compiler, cmake, fmtlib, libharfbuzz,\nlibfreetype and cairo. Then run:\n\n    $ cmake .\n    $ make\n\nTo install the `clip` binary into your system, run `make install`:\n\n    $ make install\n\nTo run the test suite, run `make test`:\n\n    $ make test\n\n\nFor detailed installation instructions, have a look at the [Installation](https://clip-lang.org/documentation/installation/)\npage.\n\n\nFAQ\n---\n\n#### I'm getting build errors when compiling the code\n\nclip is written in C++17 and requires a reasonably modern C++ compiler and standard\nlibrary. In most cases where the code doesn't build it's due to some problem with\nthe local build environment. Still, we always appreciate bug reports via Github\nIssues so that we can improve our build system.\n\n#### The test suite fails on my machine because text placement is slightly offset\n\nThe test suite requires that you have the original Microsoft Arial TTF files\ninstalled on your machine. To verify that this is the case, run `fc-match\n'Arial,Helvetica,Helvetica Neue:style=Regular,Roman'` and check that it returns\nthe correct 'arial.ttf' file.\n\n#### What happened to the project name?\n\nThe project was started in 2011 and was initially called \"FnordMetric\". The\nfirst version from 8 years ago also included facilities for storing and\ntransforming data in addition to the charting code. Over time, the data\nprocessing parts were removed, leaving only the plotting code. However, as a\nconsequence, most of the search queries for the project name would return\noutdated information, resulting in a generally confusing and stale-feeling\nsituation. The best solution seemed to be to rename the project and so it was\nrenamed to \"clip\".\n\n\nAcknowledgements\n----------------\n\n  - Text rendering is based on the libre [freetype](https://www.freetype.org/)\n    and [harfbuzz](https://harfbuzz.org) stack.\n\n  - The structure of the plot elements is based on ideas from [The Grammar of\n    Graphics](https://www.springer.com/gp/book/9780387245447) and the\n    [ggplot2](https://ggplot2.tidyverse.org/) library.\n\n  - A number of concepts in clip are modelled after the\n    [CSS specification](https://www.w3.org/TR/CSS2/)\n\n\nLicense\n-------\n\n    clip -- The command line illustration processor\n    https://clip-lang.org\n\n    Copyright (c) 2020, Paul Asmuth, Laura Schlimmer\n    All rights reserved.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":["TODO scan for Android support in followings","C++","data-visualization"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmuth%2Fclip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasmuth%2Fclip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasmuth%2Fclip/lists"}