Virtual tour platform · Self-hosted
Spatviewer: virtual tours from 360° photos and walkable Gaussian splats
Build a tour from places, each a 360° photo or a Gaussian splat you can walk through, and connect them with paths. Add floor plans and street maps in a no-code editor, publish when you're ready, or take visitors round live.
- Places
- 360° photos & Gaussian splats
- Editor
- No code
- Publishing
- Private, unlisted or public
- Live tours
- Host-led, with chat
- Hosting
- Self-hosted, Docker
What it does
Places
- 360° photos, and Gaussian splats in PLY, compressed PLY, SPZ, SPLAT, KSPLAT or SOG
- Walk through a splat in first person, with route-finding across the floor
Splat editing
- Align with 3D handles and set the exact arrival view
- Draw walkable boundaries
- Refine down to individual splats, with every edit reversible
Maps
- Floor plans from an image, SVG or PDF
- Street maps, 3D models and automatic diagrams
- Clickable rooms that take you to a place
People
- Accounts and platform admins
- Owner, editor and viewer roles on each tour
Publishing
- Private, unlisted or public
- Visitors see an immutable snapshot, so editing never breaks a live tour
Live tours
- A host leads guests through the tour in real time
- Built-in chat
How I built it
The front end is React and TypeScript with Three.js through React Three Fiber, and Spark for rendering Gaussian splats. Heavy splat work (levelling the floor, finding floaters, building the walkable grid) runs in a Web Worker so the viewer stays smooth. Splat edits never touch the original file: each one stores its selection as a small compressed bitmask and is replayed on load.
The back end is a Fastify API in TypeScript. PostgreSQL holds accounts, roles and the audit log with real constraints and transactions; MongoDB holds tour documents and published snapshots, and GridFS streams multi-gigabyte captures. Drafts save optimistically with version checks, so two editors can't silently overwrite each other. Tours export as encrypted packages (AES-256-GCM, streamed), and the whole thing ships as one Docker stack behind nginx.
Spatviewer is designed and built by Sterin Saji, a full-stack, mobile and XR engineer in London. See more of my work.
- React
- TypeScript
- Three.js
- React Three Fiber
- Gaussian splats
- Web Workers
- Fastify
- PostgreSQL
- MongoDB
- WebSockets
- Docker
Questions
What is a Gaussian splat?
A Gaussian splat is a 3D capture of a real space made of millions of soft, coloured points. Unlike a 360° photo, which you look around from one spot, a splat lets you move through the space.
Which splat formats does Spatviewer support?
PLY, compressed PLY, SPZ, SPLAT, KSPLAT and SOG, alongside ordinary 360° photos.
Can I host it myself?
Yes. Spatviewer runs as one Docker stack: an nginx front end, a Node.js API, PostgreSQL and MongoDB, with an optional Cloudflare tunnel.