{"id":13530128,"url":"https://github.com/klembot/twinejs","last_synced_at":"2025-09-25T21:17:04.869Z","repository":{"id":37704989,"uuid":"118545267","full_name":"klembot/twinejs","owner":"klembot","description":"Twine, a tool for telling interactive, nonlinear stories","archived":false,"fork":false,"pushed_at":"2025-08-19T01:36:16.000Z","size":21834,"stargazers_count":2448,"open_issues_count":248,"forks_count":354,"subscribers_count":52,"default_branch":"develop","last_synced_at":"2025-08-19T03:27:33.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://twinery.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klembot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"patreon":"klembot"}},"created_at":"2018-01-23T02:23:43.000Z","updated_at":"2025-08-19T01:36:20.000Z","dependencies_parsed_at":"2023-02-18T21:16:05.527Z","dependency_job_id":"dc3d74e0-ae22-4b24-b836-c7e5ec102332","html_url":"https://github.com/klembot/twinejs","commit_stats":null,"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"purl":"pkg:github/klembot/twinejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klembot%2Ftwinejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klembot%2Ftwinejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klembot%2Ftwinejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klembot%2Ftwinejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klembot","download_url":"https://codeload.github.com/klembot/twinejs/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klembot%2Ftwinejs/sbom","scorecard":{"id":431522,"data":{"date":"2025-08-11","repo":{"name":"github.com/klembot/twinejs","commit":"b525b71cfc2b2bfa1185e457722143dc648aa7ba"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Maintained","score":10,"reason":"12 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 6/15 approved changesets -- score normalized to 4","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/create-release.yml:1","Warn: no topLevel permission defined: .github/workflows/eslint.yml:1","Warn: no topLevel permission defined: .github/workflows/jest.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright.yml:1","Warn: no topLevel permission defined: .github/workflows/prettify-prs.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-docs.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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.10.0 not signed: https://api.github.com/repos/klembot/twinejs/releases/187189928","Warn: release artifact 2.9.2 not signed: https://api.github.com/repos/klembot/twinejs/releases/167548691","Warn: release artifact 2.9.1 not signed: https://api.github.com/repos/klembot/twinejs/releases/166425543","Warn: release artifact 2.9.0 not signed: https://api.github.com/repos/klembot/twinejs/releases/160727335","Warn: release artifact 2.8.1 not signed: https://api.github.com/repos/klembot/twinejs/releases/135733372","Warn: release artifact 2.10.0 does not have provenance: https://api.github.com/repos/klembot/twinejs/releases/187189928","Warn: release artifact 2.9.2 does not have provenance: https://api.github.com/repos/klembot/twinejs/releases/167548691","Warn: release artifact 2.9.1 does not have provenance: https://api.github.com/repos/klembot/twinejs/releases/166425543","Warn: release artifact 2.9.0 does not have provenance: https://api.github.com/repos/klembot/twinejs/releases/160727335","Warn: release artifact 2.8.1 does not have provenance: https://api.github.com/repos/klembot/twinejs/releases/135733372"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/create-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/create-release.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/create-release.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/eslint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/eslint.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/eslint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/eslint.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/jest.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/jest.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/jest.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/jest.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/playwright.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/playwright.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/playwright.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/prettify-prs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/prettify-prs.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/prettify-prs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/prettify-prs.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docs.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/publish-docs.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-docs.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/klembot/twinejs/publish-docs.yml/develop?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/create-release.yml:21","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   3 out of   4 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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'","Warn: branch protection not enabled for branch '2.3-maintenance'","Warn: branch protection not enabled for branch 'main'"],"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 26 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"}},{"name":"Vulnerabilities","score":0,"reason":"32 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-r4pf-3v7r-hh55","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-6r2x-8pq8-9489","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T03:27:43.414Z","repository_id":37704989,"created_at":"2025-08-19T03:27:43.414Z","updated_at":"2025-08-19T03:27:43.414Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276983448,"owners_count":25739928,"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-25T02:00:09.612Z","response_time":80,"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-08-01T07:00:44.220Z","updated_at":"2025-09-25T21:17:04.844Z","avatar_url":"https://github.com/klembot.png","language":"TypeScript","funding_links":["https://patreon.com/klembot"],"categories":["TypeScript","Game Engines"],"sub_categories":["Specialty"],"readme":"## twinejs\n\nby Chris Klimas, Lorenzo Ancora, Leon Arnott, Daithi O Crualaoich, Ingrid Cheung,\nThomas Michael Edwards, Micah Fitch, Juhana Leinonen, Michael Savich, and Ross Smith\n\n### SYNOPSIS\n\nThis is a port of Twine to a browser and Electron app. See\n[twinery.org](https://twinery.org) for more info.\n\nThe story formats in minified format under `story-formats/` exist in separate\nrepositories:\n\n-   [Harlowe](https://foss.heptapod.net/games/harlowe/)\n-   [Paperthin](https://github.com/klembot/paperthin)\n-   [Snowman](https://github.com/klembot/snowman)\n-   [SugarCube](https://github.com/tmedwards/sugarcube-2)\n\n#### BUILDS\n\nBinary packages for Twine are available on the\n[Releases](https://github.com/klembot/twinejs/releases) tab for Windows, MacOS\nand Linux. Community-created builds exist on other platforms, such as the Snap\nStore or Arch User Repository. As always, only install from sources you trust.\n\n### INSTALL\n\nRun `npm install` at the top level of the directory to install all goodies.\n\nWorking with the documentation requires installing\n[mdbook](https://rust-lang.github.io/mdBook/), which is not a Node-based\nproject. You can either install it directly from the project web site or use\nyour operating system's package manager.\n\n### BUILDING\n\nRun `npm start` to begin serving a development version of Twine locally. This\nserver will automatically update with changes you make.\n\nRun `npm run start:electron` to run a development version of the Electron app.\n**Running this can damage files in your Twine storied folder. Take a backup copy\nof this folder before proceeding.** Most of the app will automatically update as\nyou work, but if you want the app to read story files initially again, you will\nneed to restart the process.\n\nTo create a release, run `npm run build`. Finished files will be found under\n`dist/`. In order to build Windows apps on macOS or Linux, you will need to have\n[Wine](https://www.winehq.org/) and [makensis](http://nsis.sourceforge.net/)\ninstalled. A file named `2.json` is created under `dist/` which contains\ninformation relevant to the autoupdater process, and is currently posted to\nhttps://twinery.org/latestversion/2.json.\n\nThe build process looks for these environment variables when notarizing a macOS\nbuild:\n\n- `APPLE_APP_ID`: The app ID to use. The convention is `country.company.appname`.\n- `APPLE_ID`: User name of the Apple account to use for notarization.\n- `APPLE_ID_PASSWORD`: App-specific password for the Apple account to use for\n  notarization.\n- `APPLE_TEAM_ID`: ID of the Apple team account to use for notarization.\n\nIf any of these environment variables are not set, the build process will skip\nnotarizing. This means users will need to right-click the application and open\nit manually.\n\nYou must have the full Xcode app installed to notarize the app, not just the\nXcode command line tools.\n\n`npm test` will test the source code respectively.\n\n`npm run clean` will delete existing files in `electron-build/` and `dist/`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklembot%2Ftwinejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklembot%2Ftwinejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklembot%2Ftwinejs/lists"}