{"id":21655380,"url":"https://github.com/copper-leaf/trellis","last_synced_at":"2025-04-11T21:21:50.359Z","repository":{"id":57732847,"uuid":"143946994","full_name":"copper-leaf/trellis","owner":"copper-leaf","description":"A Kotlin implementation of the Specification Pattern","archived":false,"fork":false,"pushed_at":"2022-10-19T18:46:07.000Z","size":789,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T21:21:43.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://copper-leaf.github.io/trellis/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/copper-leaf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-08T01:50:48.000Z","updated_at":"2024-08-12T19:40:40.000Z","dependencies_parsed_at":"2022-09-26T22:11:09.417Z","dependency_job_id":null,"html_url":"https://github.com/copper-leaf/trellis","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copper-leaf%2Ftrellis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copper-leaf%2Ftrellis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copper-leaf%2Ftrellis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copper-leaf%2Ftrellis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copper-leaf","download_url":"https://codeload.github.com/copper-leaf/trellis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480442,"owners_count":21110941,"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","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":[],"created_at":"2024-11-25T08:32:07.706Z","updated_at":"2025-04-11T21:21:50.324Z","avatar_url":"https://github.com/copper-leaf.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trellis\n\n\u003e A Kotlin implementation of the [Specification Pattern](https://en.wikipedia.org/wiki/Specification_pattern)\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/copper-leaf/trellis)\n![Maven Central](https://img.shields.io/maven-central/v/io.github.copper-leaf/trellis-core)\n![Kotlin Version](https://img.shields.io/badge/Kotlin-1.7.20-orange)\n\nTrellis is an implementation of the [Specification Pattern](https://en.wikipedia.org/wiki/Specification_pattern)\nwritten in Kotlin, and designed for asynchronous evaluation of specifications using Kotlin coroutines and dynamic \ncreation and evaluation.\n\n# Supported Platforms/Features\n\n| Platform |\n| -------- |\n| Android  |\n| JVM      |\n| iOS      |\n| JS       |\n\n# Installation\n\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\n// for plain JVM or Android projects\ndependencies {\n    implementation(\"io.github.copper-leaf:trellis-core:{{site.version}}\")\n    implementation(\"io.github.copper-leaf:trellis-dsl:{{site.version}}\")\n}\n\n// for multiplatform projects\nkotlin {\n    sourceSets {\n        val commonMain by getting {\n            dependencies {\n                implementation(\"io.github.copper-leaf:trellis-core:{{site.version}}\")\n                implementation(\"io.github.copper-leaf:trellis-dsl:{{site.version}}\")\n            }\n        }\n    }\n}\n```\n\n# Documentation\n\nSee the [website](https://copper-leaf.github.io/trellis/) for detailed documentation and usage instructions.\n\n# License\n\nTrellis is licensed under the BSD 3-Clause License, see [LICENSE.md](https://github.com/copper-leaf/trellis/tree/main/LICENSE.md).\n\n# References\n\n- [https://www.michael-whelan.net/rules-design-pattern](https://www.michael-whelan.net/rules-design-pattern)\n- [https://www.martinfowler.com/apsupp/spec.pdf](https://www.martinfowler.com/apsupp/spec.pdf)\n- [https://en.wikipedia.org/wiki/Specification_pattern](https://en.wikipedia.org/wiki/Specification_pattern)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopper-leaf%2Ftrellis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopper-leaf%2Ftrellis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopper-leaf%2Ftrellis/lists"}