Inspiration

Journals are lists, and lists are easy to forget. I wanted my past to be something I'd want to look back at. The night sky felt right: every memory is a small light, and together they make shapes that tell a story.

What it does

Astra is a private journal where every entry becomes a star in your own night sky.

  • Mood sets the color (Joyful, Calm, Loved, Hopeful, Blue, Stormy) and importance sets the brightness, so good weeks glow and hard ones show as storm-red stars.
  • Constellations: entries with the same constellation name are linked in time order, like chapters of your life.
  • Explore: pan, zoom, pinch and drag stars, with a parallax starfield and shooting stars.
  • Timeline & replay: see your sky on any past day, or watch it form star by star.
  • Search, Sky Report (streaks, mood spectrum, brightest memories) and "revisit a random memory."
  • Your data stays yours: it's stored only in your browser, and you can export or import JSON and save the sky as a PNG.

How we built it

Plain HTML, CSS and JavaScript with the Canvas 2D API. There are no frameworks, no build step and no backend, and it's about 900 lines in total. It's hosted on GitHub Pages. I built it with help from Claude Code (Anthropic) as an AI coding assistant.

Challenges we ran into

  • Making Canvas look sharp on high-DPI phones without hurting performance.
  • One set of pointer controls for mouse, touch and pinch that tells "pan the sky" apart from "drag a star" and "tap a star."
  • Placing new stars automatically near their constellation without overlaps, and keeping each star's twinkle stable between sessions (a hash of its ID drives it).
  • Making the timeline replay smooth while still letting you scrub.

Accomplishments that we're proud of

  • A journal that feels calm and beautiful to open, not like a chore.
  • A full feature set with zero dependencies that runs offline in one page.
  • It works well on phones (bottom-sheet layout) and has keyboard shortcuts (N, /, ← →, Esc).
  • Privacy by design: no accounts, no servers, no tracking.

What we learned

  • How far the plain Canvas API and vanilla JS can go.
  • Small touches like twinkle, parallax and easing do most of the work in making something feel alive.
  • Choosing localStorage only was the hardest decision, but it made the privacy story simple and honest.

What's next for Astra

  • Optional end-to-end encrypted sync across devices.
  • Installable PWA with reminders to write.
  • Photo and voice entries, plus "on this day" memories.
  • Shareable read-only views of a single constellation.
  • Themes and accessibility work (screen-reader entry list, reduced motion).

Built With

  • canvas
  • constellations
  • css
  • data-visualization
  • diary
  • github
  • html
  • html5
  • javascript
  • journal
  • journaling
  • localstorage
  • mood-tracker
  • night-sky
  • no-framework
  • offline-first
  • privacy
  • stars
  • vanilla-javascript
Share this project:

Updates

Submission history