
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
gtx-cli is a command-line tool used to interface with General Translation's AI-powered i18n platform.
See our docs for more information including guides, examples, and API references.
npm install gtx-cli
For more details, check out the setup command documentation.
If you are using gt-react or gt-next, run this command to automatically insert <T>
components into your project.
npx gtx-cli setup
For more details, check out the init command documentation.
This command sets up your gt.config.json
file.
You will need to run this command in order to run the translate command.
npx gtx-cli init
For more details, check out the translate command documentation.
Before deploying to production, you need to generate translations. First, add your production api keys:
GT_API_KEY=your-production-api-key
GT_PROJECT_ID=your-project-id
Next run the translate command. This will generate translations and either publish them to the CDN or save them in your project depending on your configuration.
npx gtx-cli translate
Full documentation, including guides, examples, and API references, can be found at General Translation Docs.
We welcome any contributions to our libraries. Please submit a pull request!
FAQs
CLI tool for AI-powered i18n
We found that gtx-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.