The DSA Transparency database collects and analyzes statements of reasons, helping Internet users to know their rights and understand the law. These data enable us to study the prevalence of legal threats and let Internet users see the source of content removals.
The main Transparency Database has an API that allows individuals and organizations that receive large numbers of notices to submit them without using the web interface. The API also provides an easy way for researchers to search the database. Members of the public can test the database, but will likely need to request an API key from the DSA team to receive a token that provides full access. To learn about the capabilities of the API, you can consult the API documentation.
- php 8.1
- Mysql 8
Begin by cloning this repository to your machine, and installing Composer dependencies.
git clone https://github.com/DG-CNECT/dsa-module2
cd dsa-module2 && composer install
Create .env
based on .env.example
file, and add your database credentials and the email that will be set as administrator.
Create the database with the default values
Bootstrap the application
php artisan key:generate
chmod -R 777 storage
php artisan migrate:fresh --seed
php artisan serve
$BROWSER 'http://127.0.0.1:8000'
$ php artisan test
You can speed up tests by running them in parallel:
$ php artisan test --parallel
You can search the database and, if you have a contributor token, add to the database using our API.
The DSA Transparency API is documented here: https://wandering-mountain-xa4vca0rl0ff.vapor-farm-g1.com/dashboard/page/api-documentation
DSA Database is licensed under GPLv2. See LICENSE.txt for more information.