Everything is written in English, but you can open issues in French or English.
Why this repository: I was missing a way to see every change in the french law, but keep only some of them for later.
Legifrance provides a way to receive newsletters, but sadly they're not optimal.
Note that this project is at its ALPHA stage, it's more of a PoC for now.
Read the doc at https://legifrss.github.io. If you need it translated in English please contact me.
go build -o bin/batch cmd/batch/batch.go && bin/batch
go build -o bin/server cmd/server/server.go && bin/server
- the server is based on https://github.com/gin-gonic/gin, and it's pretty good!
- the server uses a local
db.jsonas a database (10 days of retention) - the tests are not good, I know :/
- I use some personal ansible scripts to deploy
- Add valid RSS checker.
- Tech:
- one xml file with all inside
- 1h cache on requests
- SSL certificate and HTTPS enable (I mean it's 2021 wth)
- Doc:
- https://legifrss.github.io
- all types
- all authors
- Feats:
- https://legifrss.org/latest => all
- https://legifrss.org/latest?q=écologie => search all with term
- https://legifrss.org/latest?q=écologie&author=Commission-nationale-du-débat-public&type=loi => search law with term and author
- Add twitter Bot: https://twitter.com/Legifrance1
- batch.log as /tmp/legifrance-$(date)-batch.log
- twitter_states rotation
- metrics:
- twitter followers
- http requests