https://github.com/serlo/quickbar-updater
Script to process data for quickbar
https://github.com/serlo/quickbar-updater
serlo service
Last synced: 1 day ago
JSON representation
Script to process data for quickbar
- Host: GitHub
- URL: https://github.com/serlo/quickbar-updater
- Owner: serlo
- License: apache-2.0
- Created: 2023-07-04T11:45:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-06-08T05:33:36.000Z (11 days ago)
- Last Synced: 2026-06-08T07:22:34.946Z (11 days ago)
- Topics: serlo, service
- Language: TypeScript
- Homepage:
- Size: 2.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# quickbar-updater
Update: 2024-01-29
Script to process data for quickbar

## Getting started
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
### yarn 1-fetch
output: v2_current_de_serlo.org_visits.csv
about ~160mb, takes about 1 - 2 minutes to download
### yarn 2-extract
input: v2_current_de_serlo.org_visits.csv
output: quicklinks.json
a few secs
### yarn 3-metadata
input: quicklinks.json, (cache of metadata)
output: \_output/meta_data.json
takes 10 - 15 minutes to not overflow API
### yarn 4-process
input: meta_data.json
output: quickbar.json
the final output, available at https://serlo.github.io/quickbar-updater/quickbar.json
### yarn 4-sitemap
input: meta_data.json
output: sitemap.json
output the sitemap (seo) as well. Available at https://serlo.github.io/quickbar-updater/sitemap.json