LINCnil /pia

Version web front office de l’application PIA à déployer sur un serveur afin d’en donner l’accès via un navigateur web | Front office of the PIA application to be deployed on a server in order to access it through a web browser.

★ 299⑂ 286👁 35⑃ 794● 165▤ 8
TypeScriptGPL-3.0Created 2017-11-21
Download: Portable version 4.2.0 of the PIA toolPortable-4.2.0 ↓4.2.02026-11-23
+0
Daily
299
stars
286
forks
35
watchers
794
prs
165
issues
8
releases

README

PIA Software

 Introduction

 The PIA software is a free tool published by the CNIL which aims to help data controllers build and demonstrate compliance to the GDPR.

The latest version of the tool can be downloaded in the Release section of this repository.

 Translating the PIA Software

To translate the software, we invite you to make your changes here where the translation steps are described.

 Development information




CI runs the application unit tests and Cypress tests on pushes and pull requests.

This project was generated with Angular CLI.

 Package Version

See the package.json file

 Prerequisites

Angular 22 requires Node.js ^22.22.3, ^24.15.0, or ^26.0.0.

 Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

 Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

 Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

 Running unit tests

Run yarn test to execute the application unit tests via Karma. For a single headless run, use yarn test --watch=false --browsers=ChromeHeadless.

Running ng test without a project also targets the optional pia-i18n library, whose sources are not included in this repository. If available locally, test it separately with yarn ng test pia-i18n.

 Running end-to-end tests

Start the application with yarn start, then run yarn cypress run --headless --browser chrome to execute the Cypress end-to-end tests. Use yarn e2e to open the interactive runner.

The server-configuration tests use mocked responses by default. To additionally test a real PIA backend, set CYPRESS_URL, CYPRESS_ID, and CYPRESS_SECRET in the environment before running Cypress.

 Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

 Package the application for Mac, Windows or GNU/Linux

 Mac:

You must set the ENV variables APPLE_ID, APPLE_APP_SPECIFIC_PASSWORD and APPLE_TEAM_ID inside a .env file at the root of the project.


yarn electron:mac


 Windows:


CSC_LINK=../path_to_your/file.pfx CSC_KEY_PASSWORD="Your PFX file password" yarn electron:win


 GNU/Linux:

Build AppImage, .tar.gz, and Snap packages on a native Linux machine. Run
yarn prod first, then choose the command matching the machine:

sh
yarn electron:linux:x64     on x86-64
yarn electron:linux:arm64   on ARM64


Both builds require Snapcraft 8.x. The ARM64 build uses a core24 Snap and
requires Ubuntu 24.04 ARM64 and an initialized LXD installation that your user
can access. The x86-64 build uses core22.
The Snap Store name pia was unavailable, so Snap is built separately as
privacy-impact-assessment; AppImage and archives retain the pia executable.

To build only the .tar.gz archives for both architecture

Top issues

Latest release

Portable version 4.2.0 of the PIA tool v4.2.0 2026-11-23
What's Changed
 chore(deps): bump @xmldom/xmldom from 0.8.11 to 0.8.12 by @dependabot[bot] in https://github.com/LINCnil/pia/pull/867
 chore(deps): bump brace-expansion from 1.1.12 to 1.1.13 by @dependabot[bot] in https://github.com/LINCnil/pia/pull/871
 chore(deps): bump @xmldom/xmldom from 0.8.12 to 0.8.13 by @dependabot[bot] in https://github.com/LINCnil/pia/pull/875
 chore(deps): bump follow-redirects from 1.15.11 to 1.16.0 by @dependabot[bot] in https://github.com/LINCnil/pia/pull/872
 fix: encoding for TinyMCE editor by @uhei in https://github.com/LINCnil/pia/pull/873
 Update Itali

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON