{"id":37414340,"url":"https://github.com/treatwell/wti","last_synced_at":"2026-01-16T06:00:46.197Z","repository":{"id":40762640,"uuid":"273507762","full_name":"treatwell/wti","owner":"treatwell","description":"A WebTranslateIt command-line tool in Node.js.","archived":false,"fork":false,"pushed_at":"2024-11-19T17:41:31.000Z","size":695,"stargazers_count":3,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-25T03:55:05.623Z","etag":null,"topics":["cli","i18n","nodejs","typescript","webtranslateit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/treatwell.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T14:02:58.000Z","updated_at":"2024-11-19T17:41:33.000Z","dependencies_parsed_at":"2024-06-26T08:37:13.584Z","dependency_job_id":"5dd4b89e-8525-400e-acdc-42a8827a215f","html_url":"https://github.com/treatwell/wti","commit_stats":null,"previous_names":["pegase745/wti"],"tags_count":9,"template":false,"template_full_name":"Pegase745/ts-node-boilerplate","purl":"pkg:github/treatwell/wti","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treatwell%2Fwti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treatwell%2Fwti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treatwell%2Fwti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treatwell%2Fwti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treatwell","download_url":"https://codeload.github.com/treatwell/wti/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treatwell%2Fwti/sbom","scorecard":{"id":108885,"data":{"date":"2025-08-04","repo":{"name":"github.com/treatwell/wti","commit":"84c56f563f9ed5785d9627e166e23ea5503d8858"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":2.6,"checks":[{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 3/17 approved changesets -- score normalized to 1","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"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/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/treatwell/wti/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/treatwell/wti/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/treatwell/wti/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/treatwell/wti/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/treatwell/wti/node.js.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node.js.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/treatwell/wti/node.js.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"41 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T11:39:08.054Z","repository_id":40762640,"created_at":"2025-08-15T11:39:08.054Z","updated_at":"2025-08-15T11:39:08.054Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","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":["cli","i18n","nodejs","typescript","webtranslateit"],"created_at":"2026-01-16T06:00:19.707Z","updated_at":"2026-01-16T06:00:46.108Z","avatar_url":"https://github.com/treatwell.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \n#### A [WebTranslateIt](https://webtranslateit.com/) command-line tool in Node.js by\n\n[![](https://cdn1.treatwell.net/images/view/v2.i1756348.w200.h50.x4965194E.jpeg)](https://treatwell.com/tech)\n\n[![npm](https://img.shields.io/npm/v/@treatwell/wti?style=flat-square)](https://www.npmjs.com/package/@treatwell/wti)\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/treatwell/wti/Node.js%20CI?style=flat-square)](https://github.com/treatwell/wti/actions)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n\n![screenshot](screenshot.png 'How to use wti')\n\n\u003c/div\u003e\n\n# Usage\n\n**Installation**\n\n```sh\n$ yarn add @treatwell/wti\n```\n\n**Configuration**\n\nBasically, `wti` is to be run on a project root directory, and looks for a `wti-config.json` file containing your project's information.\n\nThe command `wti init` lets you create this file.\n\n```sh\n$ wti init\nWhat is your project's api key?: \u003cyour private key\u003e\nInitializing...... [SUCCESS] Project is initialized\n```\n\nYou can find the API token in your project settings.\n\nNote that if your config is in a different directory then you can pass this with\n`--configPath` to any command that needs it:\n\n```\nwti push --configFile ./config/wti-config.json\n```\n\n**Usage**\n\nExecute `wti help` to see the usage:\n\n```sh\nUSAGE\n  $ wti [COMMAND]\n\nCOMMANDS\n  add        create and push a new master language file\n  addLocale  add a new locale to the project\n  help       display help for wti\n  init       configure the project to sync with\n  pull       pull target language file(s)\n  push       push master language file\n  rm         delete a master language file from a project\n\nSee `wti help \u003ccommand\u003e` for more information on a specific command.\n```\n\n# Sample commands\n\n| Command                            | Action                                |\n| ---------------------------------- | ------------------------------------- |\n| wti add \u003cpath/to/master/file.json\u003e | Upload a new **master** language file |\n| wti rm \u003cpath/to/master/file.json\u003e  | Delete a **master** language file     |\n| wti push                           | Update a **master** language file     |\n| wti pull                           | Download target language files        |\n| wti addLocale fr                   | Add a new locale to the project       |\n| wti rmLocale fr                    | Remove a locale from the project      |\n| wti status                         | View project statistics               |\n\n# Overview\n\n![](./docs/wti-process.png)\n\n# i18next example\n\n**1. Prerequisite**\n\n- Create a project on WebTranslateIt with a source language (such as english)\n- Bootstrap a React app\n\n**2. Install and configure i18next**\n\n```sh\n$ yarn add i18next react-i18next\n$ yarn add -D i18next-parser\n\n// Extract locales\n$ i18next --config i18next-parser.config.js\n```\n\n**3. Install and configure WTI client**\n\n```sh\n$ yarn add -D wti\n$ wti init\n$ wti add locale fr\n$ ... add other languages\n$ wti add locales/en/translation.json\n$ wti push\n```\n\n**4. Translate keys on WebTranslateIt, and then pull translations**\n\n```sh\n$ wti pull\n```\n\n**5. Add or remove translation keys**\n\n```sh\n$ i18next --config i18next-parser.config.js\n$ wti push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreatwell%2Fwti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreatwell%2Fwti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreatwell%2Fwti/lists"}