A simple serverless function that is called periodically to download and save EU LOTL so we can distribute it on our own from one place. In production, fetch endpoint is available via CDN. These files are not modified in any way and original signatures are therefore still there and can be verified (therefore it doesn't matter where this list comes from).
Reasons why this proxy was created:
- Response time can vary a lot.
- From time to time, some of the lists would time out or would not be available at all.
By keeping a copy of the lists, we can distribute them using our own CDN. Therefore, we can be pretty sure the user will be able to get any of them reliably and predictably fast.
If you want to get this running locally, simply clone this repository and then run npm install && npm start
.
There are two functions: refresh and fetch. Refresh is meant to be run periodically like every 6 hours and saves EU LOTL and all of the referenced files to S3. Fetch is a GET endpoint that can then retrieve any of those files for the running application.
You can deploy the proxy to AWS using npm run deploy
.