Hi, devnotes is a project that I started a while back but only just recently got to finishing!
So without further ado:
Devnotes is a platform for developers to create their notes about projects they have been working on, using the integrated github plugin to access repos, commits, and prs. Additonally, it has a
variety of snippets to help the user form thoughts.
Tech Stack::
- Next.js + React.js
- Supabase for auth and db
- Github api (used octokit in v1 but switched to the api)
- codemirror
This project has 2 versions listed under the two branches. Version one was way more ambitious with vercel based deploying and custom agents to actually accomplish the stuff you write about in your
notes as well as qwen-2.5-coder serving as the autocomplete engine through ollama, but the issue with version one was that it was incredibly unstable and extremely error prone, and although there
were multiple mvp moments where i got one part working, i never truly got all of it working and it went downhill when i tried to use ai to fix some features and it downloaded rubbish dependencies
and broke the whole codebase which i was unable to recover due to the fact that I didnt commit to github nearly enough and i would lose most features if i did so. Version 2 is simpiler with just 2
screens, landing and the home which both are incredibly stable bc i used codemirror instead of essentially custom designing my own text editor and enabled me to enact a few features like the github
plugin and end to end encrption which both worked really well and cleanly (rather than taking a minute to load just to have a billion errors).
rs).
- Github integration through github api
- Snippets and a code editor like experience through codemirror
- E2EE through the peppered sha256 hash of the persons user.id from supabase and then encrypts the text on the aes 128 algorithim (yes i know its a derived key but it is peppered with a .env so it should be okay))
- Colaboration on notes. Shouldnt be THAT hard to implement, just another collumn on the db prob but then id have to rethink the encryption algos
- Autocomplete...we will see how hard this is bc it was really hard to get a good autocomplete without using like ollama which cant scale to web based apps
- I'd like to rethink the whole enncryption system tbh
Overall it was a pretty fun project outside when i got absolutley nuked for a while bc of the hundreds of bugs in V1