MirLabs / The blog / Open source

Legal pages that refuse to deploy when an obligation is missing

Legal notice, terms of sale, privacy, cookies: I used to rewrite them by hand on every site. Fineprint builds them from a single configuration, and blocks the deployment when something is forgotten.

· Cyril Delage · 2 min read · Lire en français

A hand signing a document
Photo: Scott Graham on Unsplash

On each of my sites, I kept rewriting the same pages: legal notice, terms of sale, privacy policy, cookies. With the same risk every time: forgetting something. A provider that processes data and appears nowhere. A retention period left "to be completed". Sales to consumers without a consumer mediator.

I turned it into an open source Symfony bundle: Fineprint.

Describe your business, not your pages

You no longer write the pages. You describe what the site does, once, in the configuration:

  • who it sells to: businesses, consumers, or both;
  • what it sells: digital goods, services, physical goods, a subscription, a marketplace;
  • who publishes it and who hosts it;
  • which providers process data, for what, and in which country.

Fineprint assembles the four pages from that description, with the matching clauses. There is a French pack and a European pack. You can remove a section, replace one, or add your own.

The most useful part: it refuses

When the site is built, Fineprint checks the configuration. If an obligation is missing, the deployment stops, with the reason:

  • you sell to consumers without a declared consumer mediator;
  • a provider sends data outside the European Union without saying what governs that transfer;
  • non-essential cookies without a page to withdraw consent;
  • processing based on "legitimate interest" without saying which one.

When I plugged Fineprint into my own sites, having to declare everything brought real gaps to light. One privacy page said no data went to a provider, while the files came in through an email service. Another did not list the payment service. Nothing serious, but exactly the kind of oversight you never see when rereading your own page.

What it is not

Fineprint is not a lawyer. It does not replace a review, and it does not guarantee a site is compliant. It avoids silly oversights and gives a clean, up-to-date base, the same everywhere.

The bundle is free. If you are in Belgium, Switzerland or Quebec, a pack for your country would be welcome.

A project like this one?AI integration, a site to make readable by assistants, security: let's talk.
Contact me

Read next