June 16, 2025
Finished up most of the UI for the assistant, as well as the screentime counting system. Playing around with text to speech so that the assistant can roast you.
Got basic ui working. Too lazy to make a virtual assistant face, so I'm gonna be using Fred from TosAutomation. Maybe gonna switch over to Microsoft Clippy if I get a good enough image of him.
Virtual assistant that annoys you into getting off your device, after you've been on it for too long
Forgot about devlogs, so HPD is already kinds screwed...
Well anyways, I got a self hosted model working and learnt a bit of Transformers (read lots of docs, asked copilot some questions). Now working on the FastAPI. Once that's done (shouldn't take too long), I'll try my hand at deploying it to AWS. Wish me luck!
Added a sidebar for customizable settings. Currently doesn't work, and is just there for aesthetics (still workin on the backend).
Also, the Hackatime issues kinda screwed my HDP. RIP :(
Holy hamsters, 7 hours already? (Maybe the hackatime issues are why) Better devlog...
Published working version demo to github pages. Once settings get done, I think I'll ship.
New features:
- Re-scraping pages in the database after a certain time
- Fixed Javascript link parsing so that the links given by the AI actually work
Try it out here: https://muyao-lu.github.io/tosautomation/
Added Mobile Responsive design to like 60% of the website (lesgooo), so that users will no longer have to work with 2pt font and microscopic widgets. Nearing the 48 hour mark on the project, will aim to ship before 60 hours.
(Attached image is of the iphone 12 pro emulator from devtools, with my website)
Added tab system and polished UI a bit more.
Apparently, Microsoft Copilot thinks quite highly of my code. See attached image
Added LocalStorage based saving for simplifications.
Currently working on multiple TOS simplifications at a time. Once that's done, a demo will be posted.
Changes:
- New mascot (See banner)
- Working frontend
- Minor changes to backend - now parses markdown into HTML
Todo:
- Link input validation
- Settings
- Additional pages (About, donor page)
Deployed database to Vercel, in addition to debugging. Working demo coming once I get the frontend somewhat decent.
Also did a lot of migrations and tech-stack refactoring. Like a lot. Project now uses:
- Supabase for databases (rate limiting and web scraping results)
- Cohere Embedding model for vector database embeddings
- Hyperbrowser for web scraping (already used previously)
- Vercel for hosting
Fixed error where vector database would store all the data in a single list (who could've guessed), leading to some interesting scenarios when deployed.
Also did some minor fixes as per Copilot suggestions. I now rank 8.1/10 on it's code scale, up from a 6.5 when I first started refactoring. Commit coming tomorrow with those changes.
I'm so excited to finally be a B student. Yippee
This is an update to an old project made for a hackathon. Most changes were updates to the horrendous backend code. (Refactoring, improving efficacy, migrating the database from a python dictionary [lol] to a SQLite database).
A webapp that will simplify terms of services for you. Includes customizable language difficulty (elementary school level, middle school, high school, adult, and monkey), follow-up questions (powered by RAG), a nice mascot (his name is Fred), and more!
This was widely regarded as a great move by everyone.