diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-05 13:59:34 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-06 19:56:12 -0700 |
commit | b06f305db319b90ff55e159a8538bac853ca2168 (patch) | |
tree | ac7e6559346f28c5cb4852a66b213732ab8b6d8e /TODO.md | |
parent | ca754e6254d9e0453dd0e02d700ea0ac3dd9d6a5 (diff) |
Fetch and cache SE sites
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,8 +4,10 @@ 0. Install sites when file not found 0. Implement --update-sites command 3. Parse markdown (`pulldown_cmark`) +4. Maybe default --validate-sites off (parsing 30k file a big hit) ### resources for later +0. [Intro to async rust](http://jamesmcm.github.io/blog/2020/05/06/a-practical-introduction-to-async-programming-in-rust/) 1. Async API calls [tokio](https://stackoverflow.com/a/57770687) 2. Parallel calls against multiple sites [vid](https://www.youtube.com/watch?v=O-LagKc0MPA) 3. [config mgmt](https://github.com/rust-cli/confy) or just use directories @@ -13,3 +15,5 @@ 5. Add sort option, e.g. relevance|votes|date 6. Google stuff [scraping with reqwest](https://rust-lang-nursery.github.io/rust-cookbook/web/scraping.html)) 7. App Distribution [cross-platform binaries](https://github.com/rustwasm/wasm-pack/blob/51e6351c28fbd40745719e6d4a7bf26dadd30c85/.travis.yml#L74-L91) + +8. Keep track of quota in a data file, inform user when getting close? |