Inspiration
Alright, so the whole idea kicked off because I'm one of those guys who’s always got a million thoughts racing around my head, and I figured I'm probably not the only one, right? CloudDiary is all about capturing those moments - the hype, the randomness, the genius brainwaves at 2 AM. But with things going digital, I wanted to blend the good old diary concept with some new age tech - mixing up blockchain and AI to keep our thoughts both safe and shareable.
What it does
CloudDiary is basically a journal keeper. You get to write down whatever you want, but here's the kicker – if you want to keep it to yourself, it's locked down and encrypted. Only you can see it. But, if you're feeling like sharing, switch it to public , it's out there for other folks on the platform to see. Plus, you can follow other users’ diaries, and they can follow back. It's like your personal blog meets super secure diary.
How we built it
I used solidity+hardhat for coding the smart contract, the UI will be in next.js but I couldn't complete it in time, some glimpses of the ui/ux could be found in the pictures.
Challenges we ran into
Encrypting the diaries and in the same time give access to AI features was (and is!) a big for me. I could encrypt everything with public key of the diary owners but this way, no one could use AI features, if we don't encrypt the diaries, all those private info could be accessible to everyone, what I did was a trade off between these two, adding public/private diaries, public diaries could be accessed by AI through smart contract and Chainlink functions but private diaries shall be decrypted off-chain by diary owner and then they could be accessed by AI. One other big challenge was time, since this is my very first try in dapp, I lost weeks in learning what should I do and what not to do, because of that, I couldn't complete the frontend of the project and implement all the features I planed for.
Accomplishments that we're proud of
This is my first-ever crack at building a smart contract, and just seeing a part of it up and running gives me a real kick. The fact that I've managed to set up a system where diaries have their own safe space, where you can choose who gets a peek and who doesn’t, is pretty wild.
What we learned
This whole gig was like a crash course in coding, privacy, and user experience, all rolled into one. Got a better grip on the tricky bits of blockchain, especially when it comes to protecting personal stuff. Plus, I picked up a whole stack of new skills on the development front. Solid start for a newbie, if I do say so myself.
What's next for CloudDiary
well this project is still in its infancy, the features I planed (like music, movie and book recommendation), mood history, and social hub of the project is far from its destination. Besides that, the UI and the frontend should be completed.
Built With
- chainlink
- chatgpt
- hardhat
- javascript
- solidity
Log in or sign up for Devpost to join the conversation.