I built a spatial 3D knowledge graph with React Three Fiber & Gemini AI ๐
Source: Dev.to

Hey developers! ๐
Iโve always felt that standard noteโtaking apps force our brains into unnatural, linear lists. Our thoughts are connected, chaotic, and spatial. So, I spent the last few weeks building an experiment to fix this.
Itโs called Echo Archive.
Itโs a spatial knowledge management system where your notes live in a 3D constellation.
๐ The Tech Stack
I wanted to keep it lightweight but visually immersive.
- Frontend: React 18 + Vite
- 3D Engine: Three.js & React Three Fiber (drei)
- AI Core: Google Gemini AI (via API)
- Styling: Tailwind CSS + Lucide Icons
- Storage: LocalStorage (Privacy first, no cloud database)
๐ง The AI Integration
The coolest part was integrating Gemini. Since Iโm using the gemini-2.5-flash model, I could implement:
- AutoโTagging: The AI reads the note and suggests categories based on context.
- Smart Continue: Writerโs block? The AI finishes your sentence.
- Abstracts: It automatically generates a TL;DR summary at the top of long notes.
๐ The Challenge: Mobile 3D Navigation
Making a 3D orbit control feel natural on a phone screen was tricky. I had to map touch events carefully to ensure you can pan the universe with one finger and zoom with two, without accidentally triggering the text editor.
๐ Try it out
I just released v1.0 and would love some feedback on the navigation feeling!
Live Demo:
Let me know what you think about spatial interfaces. Are they the future or just a gimmick?
Cheers!