There are two components that compose this project.
- The browser extension. the core product of YouChoose.AI, sponsored by Ledger project round 3
- The backend of https://youtube.tracking.exposed, free software developed in 2018 under the ERC project ALEX (https://algorithms.exposed). This package since 2019 is maintained as an independent mechanism for Youtube algorithm accountability and enhanced to be the backend supporting YouChoose.
The backend in point 2 belongs to an existing repository that we link via git submodule.
The extension building process would produces a build/
directory.
It contains the browser extension for development as well as a the .zip file for the public.
yarn install
yarn build:dev
Or, tu run the compilation in continuous mode while developing:
yarn watch
At this point you can load it in your browser. Firefox and Chrome have slightly different action required.
To create a production build, run:
yarn build
Chrome:
- Open a new Tab in
chrome://extensions
- Enable developer mode
- click load extension from file
- select the path
YouChoose/build
- Optionally you can pin the extension from the top bar menu
Firefox:
- Navigate to
about:debugging
- Click
This Firefox
- Click
Load Temporary Add-on
- Select the
YouChoose/build/manifest.json
file
docker
withdocker-compose
installed- Follow this initialization (submodule, dependency) from the YouChoose directory
git submodule init
git submodule update
cd yttrex-backend/backend
yarn install
docker-compose up -d mongo
yarn run watch
The API endpoints used by the YouChoose extension are automatically described in a dedicated page, including a swagger user interface to test them, under the "Settings" tab within the extension.