jeffrey.blog
← Projects

Cozy Zen

2026 Open Beta

A pixel-art virtual coworking space with shared focus sessions and a lo-fi town

Overview

What it is

A 2D pixel-art virtual coworking space where people study together in a shared lo-fi town, then unwind with minigames, fishing, pets and rooms of their own.

Highlights

  • Rendered a depth-sorted pixel-art world with PixiJS 8 and a React UI overlay, with map ambience from placed sounds, weather and particle effects.
  • Built an admin map editor with a terrain brush that picks the right edges, walls, props, effects, undo and redo, and map export and import.
  • Built real-time multiplayer over Socket.IO with a Redis adapter: presence, server-validated movement, click-to-move pathfinding, map and realm chat, DMs, friends, and Focus Together sessions.
  • Built the study core: Pomodoro and Flow sessions, Zen mode, to-dos, goals, habits, a journal, streaks, and Scholar XP with levels, ranks and community milestones.
  • Added things to do between sessions: 9 minigames (chess with Stockfish bots and rated PvP, Four in a Row, Reversi, Checkers, Sungka, Memory, Snakes & Ladders, Crazy Eights, Stackwell), fishing, a playable piano, pets, leaderboards, and Mochi, an AI companion owl powered by OpenAI GPT-4o-mini.
  • Designed the revenue side: coins and a premium Embers currency sold through Stripe and InstaPay, a shop with cosmetics, pets, furniture and bundles, gifting, and the Hearth monthly membership with exclusive bundles.
  • Built personal nooks players decorate with furniture, plus an admin panel for realms, maps, missions, prices, bundles, cosmetics, users, reports, announcements and audit logs.

Stack

  • React 19
  • TypeScript
  • Vite
  • PixiJS 8
  • PixiJS Sound
  • pixi-filters
  • Tailwind CSS v4
  • Shadcn/ui
  • Redux Toolkit Query
  • Socket.IO
  • Motion
  • Recharts
  • TipTap
  • dnd-kit
  • Zod
  • NestJS
  • Prisma
  • PostgreSQL
  • Redis
  • RabbitMQ
  • Stripe
  • OpenAI
  • Stockfish
  • chess.js
  • Keycloak
  • MinIO
  • Elasticsearch
  • Kibana
  • Sentry
  • Resend
  • React Email
  • Elastic APM
  • Winston