DEV Community

Cover image for # Notes for Everyone on Local Storage
Chaman Lal
Chaman Lal

Posted on

# Notes for Everyone on Local Storage

This is a submission for the Built with Google Gemini: Writing Challenge

πŸ–‹οΈ CHRONICLE: The Living Journal

What I Built with Google Gemini

CHRONICLE is an ultra-premium, zero-dependency digital journal designed to solve the "blank page anxiety" that haunts most writers. While typical note apps are static silos, CHRONICLE is designed as a Living Journal that proactively pulls you into a flow state.

The Problem

Most journaling apps are either too clinical (simple text boxes) or too cluttered. They lack the "soul" of a physical paper journal and the proactive intelligence to help you reflect.

The Solution (Built with Gemini)

I used Google Gemini as a High-Level Architect and Lead Engineer to build a world-class journaling experience from total scratchβ€”no frameworks, no heavy libraries, just pure local-first performance.

Gemini enabled the creation of 5 core "Unprecedented" features:

  1. Immersive Zen Mode: A distraction-free sanctuary with a canvas-based particle system and a 6-second breathing ring that paces your heart rate while you write.
  2. Activity Heatmap: A GitHub-style architectural grid (182-day history) that lets you visualize and jump to any moment in your writing history.
  3. "On This Day" Echoes: A proactive memory banner that identifies entries from previous years, turning your journal into a conversation with your past self.
  4. Generative Prompts: Over 40+ time-contextual prompts (Morning vs. Night) to kickstart reflection.
  5. Micro-Interaction Settings Engine: A custom-built settings panel with collapsible accordions, animated toggle switches, and live-preview sliders for font-weight, line-height, and writing width.

Demo

πŸ‘οΈ Live Experience: Explore CHRONICLE here

🎞️ Key Experiences

  • Zen Mode: Press Esc to enter a world of floating particles and focus.
  • The Vault: Protect your soul with a PIN-locked local storage system.
  • ASMR UI: Subtle haptic feedback and click-tick sounds for every interaction.
  • Customization: 8 designer themes and 4 curated font pairings (Space Grotesk, Newsreader, Caveat, Mono).

What I Learned

Technical Mastery

  • State Without Frameworks: Building a complex, persistent state machine in Vanilla JS without React/Vue.
  • Canvas Physics: Implementing a lightweight particle system for Zen Mode that runs at a smooth 60fps even on mobile browsers.
  • CSS Variable Architecture: Managing 50+ CSS variables for live-switching themes and font configurations.

Soft Skills & Design

  • Friction-Based Design: I learned that sometimes adding "good friction" (like a PIN keypad or a breathing timer) makes an app feel more valuable and intentional.
  • The Power of Micro-interactions: How a simple ripple or a sliding toggle can make a web app feel like a premium native OS.

Google Gemini Feedback

What worked exceptionally well:

  • Complex Refactoring: Gemini was able to handle 6000+ line single-file refactors without losing context of the global State object.
  • Creative CSS: Gemini provided the vibrant, glassmorphic design language that gives the app its "God-tier" aesthetic.
  • Edge Case Hunting: Gemini identified issues like "typewriter scroll jumping" and "draft persistence collisions" before I even noticed them.

Areas for future support:

  • Direct Asset Generation: While Gemini is a genius at SVG paths, direct generation of optimized background textures or audio sprites within the IDE would be a game-changer.
  • File Splitting Suggestions: As the project grew to 6500 lines of Vanilla JS/CSS, I had to be very intentional about where to inject new logic.

CHRONICLE is proof that a single developer, paired with the right LLM, can build tools that rival entire software teams.


Built with ❀️, Gemini, and a passion for deep writing.

#GoogleGeminiChallenge #WebDev #Productivity #Journaling

Top comments (0)