The place where random ideas get written down and lost in time.
2020-08-30 - Rig4 Rust?
Category DEVWould a rig4 reboot be a good target for Rust?
Rust and Google drive api: https://docs.rs/google-drive3/1.0.14+20200618/google_drive3/
Rust and html soup parsing: https://docs.rs/scraper/0.12.0/scraper/ and some more references.
A real reboot needs to focus on 2 different issues:
- The GDrive api to fetch docs is slow as molasses. It would make sense to separate this process, e.g. download and cache locally. The obvious issue is that fetching a doc requires parsing it to find its dependencies.
- More robust sanitizing of that drive html into rig 3 syntax.
- The tree parser and generator.
The focus here should be on caching to avoid fetching from drive as much as possible.
The other focus is on parsing that html and stripping it even more than I do now.
There could be 2 tools:
- Rig4 docs downloader that takes drive docs, the index, the blogs, and generates local rig4 files, updating assets when needed.
- Rig4 generator that only works locally.
Generated on 2025-01-05 by Rig4j 0.1-Exp-f2c0035