webdeveric / say-it-web-ext

Highlight a word then say it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Say it

NodeJS

Say a word or phrase just by highlighting it and clicking the Say It context menu item.

The voice, pitch, rate, and volume can be customized in the add-on preferences.

Install

You can get this addon at https://addons.mozilla.org/en-US/firefox/addon/say-it/

Local development

  1. pnpm i
  2. pnpm start

Building the web extension

pnpm build

The zip output will be in the ./build folder and the webpack output will be in the ./dist folder.

Extension signing for Firefox

Define your api key / secret in your environment then run the following.

Credentials can be found at https://addons.mozilla.org/en-US/developers/addon/api/key/

This generates an xpi file and it will be put in ./build.

pnpm sign --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET

Signing a listed plugin

pnpm sign --channel=listed --api-key=$WEB_EXT_API_KEY --api-secret=$WEB_EXT_API_SECRET

Useful links

About

Highlight a word then say it

License:MIT License


Languages

Language:TypeScript 65.6%Language:JavaScript 26.2%Language:CSS 7.5%Language:HTML 0.7%