Update: 2024-01-29
Script to process data for quickbar
To run script locally, clone this repo and run yarn
. You also need an API-Key for simple analytices. Create an .env
file with it:
SA_KEY=sa_api_key_...
The script contains of 4 independant parts
output: v2_current_de_serlo.org_visits.csv
about ~160mb, takes about 1 - 2 minutes to download
input: v2_current_de_serlo.org_visits.csv
output: quicklinks.json
a few secs
input: quicklinks.json, (cache of metadata)
output: _output/meta_data.json
takes 10 - 15 minutes to not overflow API
input: meta_data.json
output: quickbar.json
the final output, available at https://serlo.github.io/quickbar-updater/quickbar.json
input: meta_data.json
output: sitemap.json
output the sitemap (seo) as well. Available at https://serlo.github.io/quickbar-updater/sitemap.json