{"id":13494741,"url":"https://github.com/johnridesabike/acutis","last_synced_at":"2025-09-02T06:33:26.040Z","repository":{"id":40717603,"uuid":"317281795","full_name":"johnridesabike/acutis","owner":"johnridesabike","description":"Mirror for https://sr.ht/~johnridesabike/acutis/","archived":false,"fork":false,"pushed_at":"2025-08-22T11:13:37.000Z","size":11243,"stargazers_count":26,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T06:32:54.591Z","etag":null,"topics":["compiler","eleventy","handlebars","mustache","nunjucks","ocaml","template-engine","template-language"],"latest_commit_sha":null,"homepage":"https://acutis.johnridesa.bike/","language":"OCaml","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnridesabike.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://www.buymeacoffee.com/johnridesabike"]}},"created_at":"2020-11-30T16:27:31.000Z","updated_at":"2025-08-22T11:13:40.000Z","dependencies_parsed_at":"2023-01-25T12:30:09.589Z","dependency_job_id":"8899655e-d0ed-4bc9-ac2c-e446c411b7d0","html_url":"https://github.com/johnridesabike/acutis","commit_stats":{"total_commits":273,"total_committers":1,"mean_commits":273.0,"dds":0.0,"last_synced_commit":"dbb94d9e2f206cd6fffd84755d3cb6520123f9c4"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/johnridesabike/acutis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnridesabike%2Facutis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnridesabike%2Facutis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnridesabike%2Facutis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnridesabike%2Facutis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnridesabike","download_url":"https://codeload.github.com/johnridesabike/acutis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnridesabike%2Facutis/sbom","scorecard":{"id":528929,"data":{"date":"2025-08-11","repo":{"name":"github.com/johnridesabike/acutis","commit":"18db8d15eed764004fcea487cea1290baa8443ab"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"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":"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":"Maintained","score":10,"reason":"22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"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: Mozilla Public 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":"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":"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":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-mm3p-j368-7jcr","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-x7hr-w5r2-h6wg","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-20T05:14:51.568Z","repository_id":40717603,"created_at":"2025-08-20T05:14:51.568Z","updated_at":"2025-08-20T05:14:51.568Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273244306,"owners_count":25070958,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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":["compiler","eleventy","handlebars","mustache","nunjucks","ocaml","template-engine","template-language"],"created_at":"2024-07-31T19:01:27.672Z","updated_at":"2025-09-02T06:33:26.022Z","avatar_url":"https://github.com/johnridesabike.png","language":"OCaml","funding_links":["https://www.buymeacoffee.com/johnridesabike"],"categories":["OCaml","ReScript"],"sub_categories":[],"readme":"![The Acutis icon.](./docs/icon.svg)\n\n[Project home](https://sr.ht/~johnridesabike/acutis/) |\n[Source code](https://git.sr.ht/~johnridesabike/acutis) |\n[Mailing list](https://lists.sr.ht/~johnridesabike/public-inbox) |\n[Documentation](https://acutis.johnridesa.bike/)\n\n# The Acutis template language\n\nAcutis is a template language that features static typing, pattern matching, and\nasynchronous template components. You can execute your templates like scripts or\ncompile them to self-contained JavaScript files.\n\nAcutis is an experimental, personal project and is not stable.\n\n```acutis\n\u003ch1\u003e Blog posts for {% siteTitle %} \u003c/h1\u003e\n{%~ map blogPosts with {image, title, content, date, author: {name}} %}\n  \u003carticle class=\"h-entry\"\u003e\n    \u003cheader\u003e\n      {% match image with null ~%}\n        {* no image *}\n      {%~ with !{src, alt} ~%}\n        \u003cimg src=\"{% src %}\" alt=\"{% alt %}\"\u003e\n      {% /match ~%}\n      \u003ch2 class=\"p-name\"\u003e {% title %} \u003c/h2\u003e\n      \u003cspan class=\"p-author\"\u003e By {% name ? \"Anonymous\" %} \u003c/span\u003e\n      \u003cspan class=\"dt-published\"\u003e Posted on {% date %} \u003c/span\u003e\n    \u003c/header\u003e\n    \u003cdiv class=\"e-content\"\u003e {{% content %}} \u003c/div\u003e\n  \u003c/article\u003e\n{%~ /map %}\n```\n\n[See how this example compiles in the playground][example].\n\n[example]:\n  https://acutis.johnridesa.bike/playground/?props=ewogICJzaXRlVGl0bGUiOiAiTXkgQmxvZyIsCiAgImJsb2dQb3N0cyI6IFsKICAgIHsKICAgICAgInRpdGxlIjogIk15IHNlY29uZCBwb3N0IiwKICAgICAgImF1dGhvciI6IHsgIm5hbWUiOiAiSm9obiIgfSwKICAgICAgImRhdGUiOiAiMjAyMC0xMi0wMSIsCiAgICAgICJpbWFnZSI6IG51bGwsCiAgICAgICJjb250ZW50IjogIjxwPlRoaXMgaXMgbXkgc2Vjb25kIHBvc3Q8L3A%2BIgogICAgfSwKICAgIHsKICAgICAgInRpdGxlIjogIkhlbGxvLCB3b3JsZCEiLAogICAgICAiYXV0aG9yIjogeyAibmFtZSI6ICJKb2huIiB9LAogICAgICAiZGF0ZSI6ICIyMDIwLTExLTMwIiwKICAgICAgImltYWdlIjogbnVsbCwKICAgICAgImNvbnRlbnQiOiAiPHA%2BVGhpcyBpcyBteSBmaXJzdCBwb3N0PC9wPiIKICAgIH0KICBdCn0%3D\u0026source=PGgxPiBCbG9nIHBvc3RzIGZvciB7JSBzaXRlVGl0bGUgJX0gPC9oMT4KeyV%2BIG1hcCBibG9nUG9zdHMgd2l0aCB7aW1hZ2UsIHRpdGxlLCBjb250ZW50LCBkYXRlLCBhdXRob3I6IHtuYW1lfX0gJX0KICA8YXJ0aWNsZSBjbGFzcz0iaC1lbnRyeSI%2BCiAgICA8aGVhZGVyPgogICAgICB7JSBtYXRjaCBpbWFnZSB3aXRoIG51bGwgfiV9CiAgICAgICAgeyogbm8gaW1hZ2UgKn0KICAgICAgeyV%2BIHdpdGggIXtzcmMsIGFsdH0gfiV9CiAgICAgICAgPGltZyBzcmM9InslIHNyYyAlfSIgYWx0PSJ7JSBhbHQgJX0iPgogICAgICB7JSAvbWF0Y2ggfiV9CiAgICAgIDxoMiBjbGFzcz0icC1uYW1lIj4geyUgdGl0bGUgJX0gPC9oMj4KICAgICAgPHNwYW4gY2xhc3M9InAtYXV0aG9yIj4gQnkgeyUgbmFtZSA%2FICJBbm9ueW1vdXMiICV9IDwvc3Bhbj4KICAgICAgPHNwYW4gY2xhc3M9ImR0LXB1Ymxpc2hlZCI%2BIFBvc3RlZCBvbiB7JSBkYXRlICV9IDwvc3Bhbj4KICAgIDwvaGVhZGVyPgogICAgPGRpdiBjbGFzcz0iZS1jb250ZW50Ij4ge3slIGNvbnRlbnQgJX19IDwvZGl2PgogIDwvYXJ0aWNsZT4KeyV%2BIC9tYXAgJX0%3D\n\n## Usage in OCaml\n\nThe Acutis source is written in OCaml. You can install it with the OCaml package\nmanager, OPAM.\n\n```shell\nopam pin acutis git+https://git.sr.ht/~johnridesabike/acutis\n```\n\n## JavaScript \u0026 Eleventy plugin\n\nYou can use npm to install a JavaScript build of Acutis. This includes an\n[Eleventy] plugin.\n\n[eleventy]: https://www.11ty.dev/\n\nInstall the JavaScript package in your project:\n\n```shell\nnpm install acutis-lang\n```\n\n[Read more about its usage in the documentation](https://acutis.johnridesa.bike/introduction/).\n\n## Development\n\nTo get started developing this project, clone its source code repository with\nGit. Then create a development OPAM switch:\n\n```shell\nopam switch create . --deps-only --with-test --with-doc\n```\n\nUse Dune to compile the code:\n\n```shell\ndune build\n```\n\nOr use Dune to compile the code and also run the tests:\n\n```shell\ndune build @ci\n```\n\nSend patches to \u003c~johnridesabike/public-inbox@lists.sr.ht\u003e.\n\n## License\n\nAcutis was created and is maintained by\n[John Jackson](https://johnridesa.bike/).\n\n    Copyright (c) 2022 John Jackson.\n\n    This Source Code Form is subject to the terms of the Mozilla Public\n    License, v. 2.0. If a copy of the MPL was not distributed with this\n    file, You can obtain one at http://mozilla.org/MPL/2.0/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnridesabike%2Facutis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnridesabike%2Facutis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnridesabike%2Facutis/lists"}