Skip to content

harisrab/stratmap

Repository files navigation

Stratbook - Map-based Workspace for Strategic Thinking

A geospatial strategy workspace: a live globe, a file tree of notes/scenarios/data backed by Supabase Storage, and a chat panel that can read and edit those files.

While monitoring the middle-east conflict, I wanted to study the conflict at a deeper level. I found myself, taking lots of notes, looking at maps, and evolving these maps to understand the situation and history better. For this, I decided to build a tool for myself that combined maps, AI deep research, and markdown based file-system that integrates it all seamlessly. This way I can easily export these files to any agent for bookeeping and reasoning.

Screenshot 2026-05-01 at 4 29 38 PM

Stack

Next.js App Router · React 19 · Mapbox GL · AI SDK (Anthropic) · Supabase (Storage + Postgres)

Run it

cp .env.example .env   # fill in Supabase, Mapbox, Anthropic keys
pnpm install
pnpm dev

Bucket schema: supabase/storage.sql. Chat tables: supabase/chat.sql.

Scripts

  • pnpm dev — dev server (webpack)
  • pnpm dev:turbo — dev server (Turbopack)
  • pnpm build / pnpm start — production build + serve
  • pnpm lint — ESLint

About

A map-first workspace for strategic thinking. Open-source obsidian for maps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors