Translated by AI model Qwen/Qwen3-8B.
Source Language: Simplified Chinese, Target Language: english, Translation Time: 2026-05-01 02:29
.AI translation is for reference only. Accuracy is not guaranteed, please refer to the original text.
There has always been a need for a website-based sticky note feature, allowing me to jot down text content anytime and anywhere while also conveniently transferring it.
I had previously learned about the Cloudflare KV feature, so I just casually wrote the note api using Worker.
Then, since I had classes, I'd just modify a few lines every night after returning home and go to sleep 😴😴😴.
By tinkering a bit every day, I've been writing a few lines each day for over a week, and the basic backend functionality is already done. Later, I used DeepSeek to set up a frontend — ~~~to be honest, I really don't know CSS~~~; I've since made a lot of modifications based on the code it generated, probably around 80% of the changes. Through this scattered effort, I eventually came up with something that works.
Well, it's still functional for now, but I don't know how many bugs are still lurking.
The latest commit modified the update note api, mainly ensuring that the password and expiration time can be correctly updated (if the expiration time is empty, the password is deleted or the expiration is canceled).
Then, for some reason, I tested it and got a 1101 error code when fetching a note. When updating a note, the expiration time was set to null, but it seems the expiration time wasn't actually updated.
I really don't get where the problem is here ????
Hey, guys passing by, could you lend a hand and take a look?
I've put the source code on GitHub, you can check it there
If you enjoyed this, leave a comment~