Skip to content

Repository files navigation

live-translator-extension

A Chrome extension providing real-time translation powered by OpenAI's Whisper model using Transformers.js locally in the browser.

Available Scripts

In the project directory, you can run the following scripts:

npm run dev

Development Mode: This command runs your extension in development mode. It will launch a new browser instance with your extension loaded. The page will automatically reload whenever you make changes to your code, allowing for a smooth development experience.

npm run dev

npm run start

Production Preview: This command runs your extension in production mode. It will launch a new browser instance with your extension loaded, simulating the environment and behavior of your extension as it will appear once published.

npm run start

npm run build

Build for Production: This command builds your extension for production. It optimizes and bundles your extension, preparing it for deployment to the target browser's store.

npm run build

npm run format

Check the formatting of the project: Runs a formatting check for the whole project using BiomeJs.

npm run format

To automatically fix formatting errors run:

npm run format:write

npm run lint

Run linter for the whole project: Runs the BiomeJs linter check for the whole project.

npm run lint

To fix automatically fixable lint errors run:

npm run lint:write

npm run test

Run project unit tests: Runs all jest unit tests in the project.

npm run test

About

A Chrome extension providing real-time translation powered by OpenAI's Whisper model using Transformers.js locally in the browser.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages