{"id":40629085,"url":"https://github.com/rocher/mold_lib","last_synced_at":"2026-01-21T07:30:23.810Z","repository":{"id":185948622,"uuid":"674377040","full_name":"rocher/mold_lib","owner":"rocher","description":"Meta-variable Operations for Lean Development","archived":false,"fork":false,"pushed_at":"2025-05-21T21:50:01.000Z","size":450,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-21T22:40:33.189Z","etag":null,"topics":["ada","ada-library","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:51:37.000Z","updated_at":"2025-05-21T21:50:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"28547dc6-f9ed-460a-8a04-f4443b430a10","html_url":"https://github.com/rocher/mold_lib","commit_stats":null,"previous_names":["rocher/libmold","rocher/mold_lib"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/rocher/mold_lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold_lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold_lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold_lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold_lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocher","download_url":"https://codeload.github.com/rocher/mold_lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocher%2Fmold_lib/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","ada-library","alire-crate","template","template-engine","template-project"],"created_at":"2026-01-21T07:30:23.059Z","updated_at":"2026-01-21T07:30:23.798Z","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_lib.json)](https://alire.ada.dev/crates/mold_lib.html)\n[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html)\n![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg)\n[![codecov](https://codecov.io/gh/rocher/mold_lib/branch/main/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib/tree/main)\n[![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest)\n[![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE)\n\n\u003cimg src=\"Ada_Mold_Lib.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\nMain features supported in Mold include\n\n  * variable replacement in mold files (*.mold)\n\n  * for a given directory, variable replacement recursively for all mold files\n    in all subdirectories\n\n  * variable replacement in file names\n\n  * inclusion of other templates\n\n  * definition of variables with a simple TOML file\n\n  * predefined and customized text filters to easily apply text\n    transformations\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\nText filters can be used to apply text transformations, for example\n`{{foo/W5}}` truncates the contents of the variable `foo` to a maximum width\nof 5 characters.\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_lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocher%2Fmold_lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocher%2Fmold_lib/lists"}