{"id":15965224,"url":"https://github.com/driver733/infix-functions-generator","last_synced_at":"2025-09-15T06:37:38.450Z","repository":{"id":57718906,"uuid":"261501926","full_name":"driver733/infix-functions-generator","owner":"driver733","description":"Kotlin infix functions generator","archived":false,"fork":false,"pushed_at":"2020-05-26T21:54:12.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T01:32:59.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/driver733.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}},"created_at":"2020-05-05T14:55:47.000Z","updated_at":"2020-05-26T21:54:12.000Z","dependencies_parsed_at":"2022-08-27T19:41:51.109Z","dependency_job_id":null,"html_url":"https://github.com/driver733/infix-functions-generator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/driver733/infix-functions-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driver733%2Finfix-functions-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driver733%2Finfix-functions-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driver733%2Finfix-functions-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driver733%2Finfix-functions-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/driver733","download_url":"https://codeload.github.com/driver733/infix-functions-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/driver733%2Finfix-functions-generator/sbom","scorecard":{"id":356351,"data":{"date":"2025-08-11","repo":{"name":"github.com/driver733/infix-functions-generator","commit":"b707b05cbb85b308ae170b5bae69e0ef3317cc47"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/20 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":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/branch.yml:1","Warn: no topLevel permission defined: .github/workflows/pr.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"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":0,"reason":"dangerous workflow patterns detected","details":["Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/pr.yml:20","Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/pr.yml:20","Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/pr.yml:20","Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/pr.yml:20"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/branch.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/branch.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/branch.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/branch.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/driver733/infix-functions-generator/release.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/pr.yml:28","Warn: npmCommand not pinned by hash: .github/workflows/release.yml:28","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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: MIT License: 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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T09:42:37.937Z","repository_id":57718906,"created_at":"2025-08-18T09:42:37.938Z","updated_at":"2025-08-18T09:42:37.938Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275218647,"owners_count":25425881,"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-15T02:00:09.272Z","response_time":75,"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":[],"created_at":"2024-10-07T17:40:27.800Z","updated_at":"2025-09-15T06:37:38.412Z","avatar_url":"https://github.com/driver733.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infix functions generator\n\n[![Build](https://github.com/driver733/infix-functions-generator/workflows/Build/badge.svg?branch=master)](https://github.com/driver733/infix-functions-generator/actions?query=workflow%3ABuild+branch%3Amaster)\n[![Maven Central](https://img.shields.io/maven-central/v/com.driver733.infix-fun-generator/annotations)](https://search.maven.org/search?q=com.driver733.infix-fun-generator)\n\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/driver733/infix-functions-generator/actions?query=workflow%3ARelease)\n\n[![Licence](https://img.shields.io/github/license/driver733/infix-functions-generator)](https://github.com/driver733/infix-functions-generator/blob/master/LICENSE)\n\nThis project allows generating [infix](https://kotlinlang.org/docs/reference/functions.html#infix-notation)\n[extension functions](https://kotlinlang.org/docs/reference/extensions.html#extension-functions)\nfor instance methods with multiple parameters.\n\nFor example, by annotating the `createBy` instance method with the `@Infix` annotation,\n\n```kotlin\nclass ClientService {\n    // intermediate methods' names are customizable (default = \"and\")\n    @Infix(\"createWithName\", \"age\", \"andHeight\") \n    fun createBy(name: String, age: Int, height: Int) = \"Carl\"\n}\n```\n\nthe `ClientService` can be used in a DSL fashion:\n\n```kotlin\nclientService createWithName \"Alex\" age 23 andHeight 170\n```\n\nSuch notation adopts the codebase to the DDD, allowing reading the code as sentences in a context of the domain.\n\n## Distribution\n\nThis project is [available](https://search.maven.org/search?q=com.driver733.infix-fun-generator) on the Maven Central repository.\n\n## Getting Started\n\n### Install\n\n#### Gradle\n\n##### Groovy DSL\n\nAdd this to your project's `build.gradle`:\n\n```groovy\ndependencies {\n    implementation 'com.driver733.infix-functions-generator:annotation:2.0.1'\n    annotationProcessor 'com.driver733.infix-functions-generator:processor:2.0.1'\n}\n```\n\n##### Kotlin DSL\n\n1. Apply the [`KAPT` plugin](https://plugins.gradle.org/plugin/org.jetbrains.kotlin.kapt).\n\n    ```kotlin\n    plugins {\n      id(\"org.jetbrains.kotlin.kapt\") version \"1.3.72\"\n    }\n    ```\n2. Add this to your project's `build.gradle.kts`:\n\n    ```kotlin\n    dependencies {\n        implementation(\"com.driver733.infix-functions-generator:annotation:2.0.1\")\n        kapt(\"com.driver733.infix-functions-generator:processor:2.0.1\")\n    }\n    ``` \n\n#### Maven\n\nAdd this to your project's `pom.xml`:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.driver733.infix-functions-generator\u003c/groupId\u003e\n      \u003cartifactId\u003eannotations\u003c/artifactId\u003e\n      \u003cversion\u003e2.0.1\u003c/version\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.driver733.infix-functions-generator\u003c/groupId\u003e\n      \u003cartifactId\u003eprocessor\u003c/artifactId\u003e\n      \u003cversion\u003e2.0.1\u003c/version\u003e\n      \u003cscope\u003eprovided\u003c/scope\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n## Development\n\n### Prerequisites\n\n[JDK](https://stackoverflow.com/a/52524114/2441104), preferably \u003e= `v. 1.8`\n\n### Build\n\n```\n./gradlew clean build\n```\n\n### CI/CD\n\n[Github actions](https://github.com/driver733/infix-functions-generator/actions) is used for CI/CD.\n\n### Releases\n\nReleases to the Maven Central repository are [automatically](https://github.com/driver733/infix-functions-generator/actions?query=workflow%3ARelease)\nmade on each commit on the master branch with the help of the [semantic-release](https://github.com/semantic-release/semantic-release).\n\n## Contributing\n\n1. Create an issue and describe your problem/suggestion in it.\n2. Submit a pull request with a reference to the issue that the pull request closes.\n3. I will review your changes and merge them.\n4. A new version with your changes will be released automatically right after merging.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags](https://github.com/driver733/infix-functions-generator/tags). \n\n## Authors\n\n* **Mikhail [@driver733](https://www.driver733.com) Yakushin** - *Initial work*\n\nSee also the list of [contributors](https://github.com/driver733/infix-functions-generator/graphs/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/driver733/infix-functions-generator/blob/master/LICENSE) file for details.\n\n## Acknowledgments\n\n* [semantic-release](https://github.com/semantic-release/semantic-release)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriver733%2Finfix-functions-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdriver733%2Finfix-functions-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdriver733%2Finfix-functions-generator/lists"}