{"id":38057825,"url":"https://github.com/twineworks/tweakflow","last_synced_at":"2026-01-16T20:26:45.412Z","repository":{"id":22940129,"uuid":"97735381","full_name":"twineworks/tweakflow","owner":"twineworks","description":"Safe embeddable scripting for the JVM","archived":false,"fork":false,"pushed_at":"2024-05-26T19:07:34.000Z","size":6924,"stargazers_count":38,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-08T02:23:17.031Z","etag":null,"topics":["embeddable","expression-language","java","pure"],"latest_commit_sha":null,"homepage":"https://twineworks.github.io/tweakflow/getting-started.html","language":"Java","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/twineworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-19T15:55:15.000Z","updated_at":"2025-01-02T03:59:27.000Z","dependencies_parsed_at":"2023-02-19T00:46:02.733Z","dependency_job_id":null,"html_url":"https://github.com/twineworks/tweakflow","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/twineworks/tweakflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twineworks%2Ftweakflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twineworks%2Ftweakflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twineworks%2Ftweakflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twineworks%2Ftweakflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twineworks","download_url":"https://codeload.github.com/twineworks/tweakflow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twineworks%2Ftweakflow/sbom","scorecard":{"id":903959,"data":{"date":"2025-08-18","repo":{"name":"github.com/twineworks/tweakflow","commit":"1fe4c47a2783efddf2c55d248aa3ad8a012d6cef"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":2.7,"checks":[{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact releases/1.4.4 not signed: https://api.github.com/repos/twineworks/tweakflow/releases/157531493","Warn: release artifact releases/1.4.3 not signed: https://api.github.com/repos/twineworks/tweakflow/releases/92823209","Warn: release artifact releases/1.4.2 not signed: https://api.github.com/repos/twineworks/tweakflow/releases/91390892","Warn: release artifact releases/1.4.1 not signed: https://api.github.com/repos/twineworks/tweakflow/releases/56633088","Warn: release artifact releases/1.4.0 not signed: https://api.github.com/repos/twineworks/tweakflow/releases/56085367","Warn: release artifact releases/1.4.4 does not have provenance: https://api.github.com/repos/twineworks/tweakflow/releases/157531493","Warn: release artifact releases/1.4.3 does not have provenance: https://api.github.com/repos/twineworks/tweakflow/releases/92823209","Warn: release artifact releases/1.4.2 does not have provenance: https://api.github.com/repos/twineworks/tweakflow/releases/91390892","Warn: release artifact releases/1.4.1 does not have provenance: https://api.github.com/repos/twineworks/tweakflow/releases/56633088","Warn: release artifact releases/1.4.0 does not have provenance: https://api.github.com/repos/twineworks/tweakflow/releases/56085367"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T16:40:47.144Z","repository_id":22940129,"created_at":"2025-08-24T16:40:47.144Z","updated_at":"2025-08-24T16:40:47.144Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["embeddable","expression-language","java","pure"],"created_at":"2026-01-16T20:26:44.863Z","updated_at":"2026-01-16T20:26:45.401Z","avatar_url":"https://github.com/twineworks.png","language":"Java","readme":"# Tweakflow - safe embeddable scripting for the JVM\n\n[![Java 8+](https://img.shields.io/badge/java-8--17-4c7e9f.svg)](http://java.oracle.com)\n[![License](https://img.shields.io/badge/license-MIT-4c7e9f.svg)](https://raw.githubusercontent.com/twineworks/tweakflow/master/LICENSE.txt)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.twineworks/tweakflow/badge.svg)](http://search.maven.org/#search|gav|1|g:\"com.twineworks\"%20AND%20a:\"tweakflow\")\n[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/v1u88koademagp2c/branch/master?svg=true)](https://ci.appveyor.com/project/slawo-ch/tweakflow/branch/master)\n[![Join the chat at https://gitter.im/twineworks/tweakflow](https://badges.gitter.im/twineworks/tweakflow.svg)](https://gitter.im/twineworks/tweakflow?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nApplications can use tweakflow to expose runtime information to an expression-based scripting runtime, allowing users to safely interact with the provided data and collect scripted results.\n\nTweakflow keeps the application in control of the data exchange. Users cannot arbitrarily call into application internals.\n\n## Requirements\nJava 8 or later is required. Builds are tested against JDK 8, 11, 13, 15 and 17.\n\n## Getting the jar\nGet the latest release jar from [github](https://github.com/twineworks/tweakflow/releases/latest), or from [maven central](http://search.maven.org/#search|gav|1|g:\"com.twineworks\"%20AND%20a:\"tweakflow\").\n\n## Getting started\n\nStart the REPL using:\n```bash\n$ java -jar tweakflow-1.4.4.jar repl\n```\n\nStart typing expressions for the REPL to evaluate:\n```tweakflow\ntweakflow interactive shell    \\? for help, \\q to quit\nstd.tf\u003e 1+2\n3\n\nstd.tf\u003e \"Hello \" .. \"World\"\n\"Hello World\"\n\nstd.tf\u003e data.map([1, 2, 3], (x) -\u003e x*x)\n[1, 4, 9]\n```\n\nSee the [getting started](https://twineworks.github.io/tweakflow/getting-started.html) guide for a short guided tour of language features.\n\n### Syntax Highlighting\n\n  - [HighlightJS grammar](https://github.com/twineworks/highlightjs-tweakflow) for the web\n  - [Language Extension](https://marketplace.visualstudio.com/items?itemName=twineworks.tweakflow) for VS Code / [source](https://github.com/twineworks/tweakflow-vscode)\n\n## Language features\n\n### A simple computation model\nTweakflow has values and functions acting on them. All language constructs like variables, libraries, and modules merely serve to name and organize values and functions into sensible groups. Application users do not have to learn any programming paradigms to start using tweakflow expressions.\n\n### Dynamically typed\nTweakflow is a dynamically typed language. Data types include booleans, strings, longs, doubles, exact decimal numbers, datetimes and functions, as well as nestable lists and dictionaries. All data types have literal notations.\n\n### All data is immutable\nAll values in tweakflow are immutable. It is always safe to pass values between user expressions and the host application without worrying about mutable state or object identity.\n\n### All functions are pure\nAll functions in tweakflow are pure and free of observable side-effects. A tweakflow function, given the same arguments, will always return the same result. The host application must take care of all non-pure operations like file I/O.\n\n### Batteries included\nTweakflow comes with a [standard library](https://twineworks.github.io/tweakflow/modules/std.html) that allows users to perform common tasks when working with data. Your application can limit or extend the standard library to suit its needs.\n\n### Test framework included\nTweakflow comes with an extensible [spec framework](https://twineworks.github.io/tweakflow/tools.html#spec-runner) similar to mocha, rspec, etc. The [tests for the standard library](https://github.com/twineworks/tweakflow/tree/master/src/test/resources/spec/std) are implemented with it.\n\n### Automatic dependency tracking\nWhen the application changes an input variable, tweakflow efficiently recalculates the values of any user variables that depend on it. Much like a spreadsheet application updates dependent formula cells when a cell changes.\n\n### Inline documentation and meta-data\nTweakflow supports documentation annotations as well as arbitrary meta-data on variables, libraries and modules. This feature supports interactive help as well as automated generation of project documentation.\n\n## Using tweakflow standalone\nTweakflow is designed to be an expression language embedded in a bigger application. Much like formula languages are embedded in spreadsheet applications. However, for prototyping, development and testing, it can be handy to invoke tweakflow directly.\n\nSee the [tools](https://twineworks.github.io/tweakflow/tools.html) guide, for more information on the tweakflow REPL, runner, and documentation tool.\n\n## Embedding\nEvaluating simple expressions is as easy as:\n\n```java\nTweakFlow.evaluate(\"1+2\"); // returns the Value 3\n```\n\nOr it can be more sophisticated, providing users with application variables they can reference. Your app is in control of functions and variables available to user expressions.\n\nThe host application can allow users to define variables, group them into libraries and even separate modules for reuse across their projects. How much sophistication is available to users depends on how much your application wants to expose.\n\nWe've embedded tweakflow as the expression engine in our data automation tool: [Tweakstreet](https://tweakstreet.io)\n\nSee the [embedding](https://twineworks.github.io/tweakflow/embedding.html) guide for more information and examples.\n\n## License\nTweakflow uses the business friendly [MIT license](https://opensource.org/licenses/MIT).\n\n## Support\nOpen source does not mean you're on your own. Tweakflow is developed by [Twineworks GmbH](http://twineworks.com). Twineworks offers commercial support and consulting services. [Contact us](mailto:hi@twineworks.com) if you'd like us to help with a project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwineworks%2Ftweakflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwineworks%2Ftweakflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwineworks%2Ftweakflow/lists"}