A JS script that extracts the Tonic's task text into a markdown file for easy readability.
Note that I'm only writing the scraping script. I haven't contributed to anything else in Tonic (that's all, Lux and team).
Khaled Wael
Check their project out: early cancer allert
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
This devlog should probably have been split into many, but I got sucked into coding.
I completed the thing. This script now extracts task text from the task JS files in hackclub/tonic. This is something I'd use and as of writing, 9 upvoters seem to like the idea of. I'll be adding updates to make the presentation better and adding nice-to-have features, but this Minimum Viable Product is here.
fix: correct method call to getSentenceFromString in Sentence constructor
feat: refactor scrape.js to use ES module syntax and enhance sentence extraction logic
refactor: rename and restructure scrape functions to improve clarity and organization
chore: update .gitignore to include taskText.json
feat: enhance task scraping functionality with validation and markdown conversion
chore: ignore taskText.md
fix: correct workaround implementation of kwargs in JS
feat: default to scraping all tasks if no tasksList is provided
fix: ensure tasks list includes .js extension
feat: implement Sentence class to extract sentences from lines of code