- ffmpeg
- node
- yarn
- chrome
- Install the dependencies.
yarn install
- Copy
.env.example
files 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_email
andclient_id
from 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://extensions
in your browser and turn onDeveloper Mode
. -
Click on the
Load unpacked
button, navigate to thepackages/extension
directory 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
. ClickStart
to run the the accessibility suite and show the stats. -
To see the accessibility stats of a specific element, open the
Elements
tab, 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.