{"id":40629412,"url":"https://github.com/rocher/mold","last_synced_at":"2026-01-21T07:30:52.054Z","repository":{"id":185958103,"uuid":"674378905","full_name":"rocher/mold","owner":"rocher","description":"Meta-variable Operations for Lean Development","archived":false,"fork":false,"pushed_at":"2025-05-24T21:02:43.000Z","size":1911,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-24T22:29:14.312Z","etag":null,"topics":["ada","alire-crate","template","template-engine","template-project"],"latest_commit_sha":null,"homepage":"https://rocher.github.io/mold","language":"Ada","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rocher.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-03T19:58:19.000Z","updated_at":"2025-05-24T21:02:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d6b0979-b4a4-4cb6-85d7-9de3899a55f9","html_url":"https://github.com/rocher/mold","commit_stats":null,"previous_names":["rocher/mold"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rocher/mold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocher","download_url":"https://codeload.github.com/rocher/mold/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ada","alire-crate","template","template-engine","template-project"],"created_at":"2026-01-21T07:30:51.487Z","updated_at":"2026-01-21T07:30:51.696Z","avatar_url":"https://github.com/rocher.png","language":"Ada","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold.json)](https://alire.ada.dev/crates/mold.html)\n[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold.json)](https://alire-crate-ci.ada.dev/crates/mold.html)\n[![GitHub release](https://img.shields.io/github/release/rocher/mold.svg)](https://github.com/rocher/mold/releases/latest)\n[![License](https://img.shields.io/github/license/rocher/mold.svg?color=blue)](https://github.com/rocher/mold/blob/master/LICENSE)\n\n\u003cimg src=\"docs/img/Ada_Mold_CLI.png\" width=\"222\" /\u003e\n\n## Welcome to **Mold**\n\n\u003e **MOLD**: *Meta-variable Operations for Lean Development*\n\nMold is a Template Processor, or Template Engine, to work with repository\ntemplates. The main motivation of Mold is to have repositories in GitHub used\nas template repositories to create new, customized repositories for other\nusers.\n\nMold is the CLI wrapper of the [mold_lib](https://github.com/rocher/mold_lib),\nthe Ada library that implements all Mold functionality.\n\nMain features supported in Mold include\n\n  * variable replacement in mold files (*.mold)\n\n  * definition of variables with a simple TOML file\n\n  * for a given directory, variable replacement recursively for all mold files\n    in all subdirectories\n\n  * variable replacement in filenames\n\n  * variables in variables\n\n  * predefined text filters (and custom text filters)\n\n  * inclusion of other templates\n\nVariable replacement can be specified as *normal*, *optional* or *mandatory*.\nFor example, the variable `foo = \"bar\"` can be specified with `{{foo}}`,\n`{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling\nof errors when an undefined variable is encountered.\n\nAll mold files must end with the extension `.mold`, for example\n`README.md.mold`. Destination files (with variables replaced) have the same\nname without the mold extension: `README.md`. This simplifies the work done in\nlarge subdirectories with few templates.\n\nThis crate contains the Ada library and unit tests. For a CLI tool, please\ntake a look at the crate `mold`.\n\n## Reference Guide\n\nPlease visit [Mold documentation](https://rocher.github.io/mold) for more\ninformation.\n\n---\n## License\nMIT (c) 2023-2025 Francesc Rocher\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocher%2Fmold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocher%2Fmold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocher%2Fmold/lists"}