Astronaut with laptop Astronaut
Study Helper Progress: File Management
┌─
[INFO]
2025-02-17 00:00:00
entry.log
─┐
February 17, 2025
278d ago

$> cat entry.log | head -n 1
Study Helper Progress: File Management

Study Helper file management systems, and upcoming technical challenges. Plus some cool finds in tech and anime.

└─ ──────────────────────────────────────────────────────────────────

📝 The last Week

In the last dev log I said would continue, but I found a really cool open source github repo which helped a lot.

  • chat.vercel - actual ai chat app with image upload and a bunch of stuff other stuff, such as “tools”
  • repo - the open source repo for the chat app mentioned above

🚀 This Week

Then I continued with this process by working on the creation of the flashcards and saving them to projcts. And then I worked on the process of saving the entire chat(including file-uploads). The former was a bit tricky, but for the latter I used uploadthing.

Meaning that right now you can select between different conversations, and AI models, with the option to upload any file and pass it to the ai (some models can handle files better than others, but that is something I still have to work on).

🎨 The Design Changes

The design is basically a copy from the vercel app with additions from shadcn/ui (which the vercel app also uses)

AI Chat app visaul representation of the study helper

🔧 Technical challenges ahead

  • how to handle long chats where the ai token count is exceeded
  • how to handle multiple project files that exceed the ai token count
  • manage files, and assign them to projects
  • create flashcards with sources attached if possible, ideall the page and file where it’s from so that I can quickly show it
  • the entire process of handling the flashcard algorithm
  • integration of more models and user ai keys
  • usage data and subscription options via stripe
  • and importat, by default I need to make it so that a user can not use my keys, and instead has to use his key unless “enabled” to do so by me

📌 Week Gems

  • I saw this really interesting article about writing blogs and stuff in general Advice for a friend who wants to start a blog
  • I also found a video about a platform doing something similar to what I’m doing called Opennote
  • Also the DANDADAN opening is straight fucking fire, so here are a few cool videos