- ffmpeg
- node
- yarn
- chrome
- Install the dependencies.
yarn install- Copy
.env.examplefiles to.env.
cp packages/extension/.env.local packages/extension/.env
cp packages/server/.env.local packages/server/.env-
Create google service account and add Speech-to-Text and Vision API to the libaries.
-
Add the path of the
private_key,client_emailandclient_idfrom the json file downloaded inpackages/server/.env
GOOGLE_PRIVATE_KEY="..."
GOOGLE_CLIENT_EMAIL="..."
GOOGLE_CLIENT_ID="..."- Create database and run migrations.
yarn prisma migrate dev-
Open
chrome://extensionsin your browser and turn onDeveloper Mode. -
Click on the
Load unpackedbutton, navigate to thepackages/extensiondirectory and open it. -
Start extension and server in dev mode. This will start esbuild and nodemon in watch mode.
yarn dev-
Open any website and click
ctrl+shift+i. There should be a new panel calleda11y. ClickStartto run the the accessibility suite and show the stats. -
To see the accessibility stats of a specific element, open the
Elementstab, click on the element and from the sidebar panes, selecta11y.
The server trims the audios and videos to max 10s and has a limit of generating alt text for 30 images. These can be disabled but are there so as to prevent accidental processing of large files and additional billing.