Pioneer Designs

frezr

Web app · 2026 · Design, frontend, backend, infrastructure

frezr, image 1 frezr, image 2 frezr, image 3

A collaborative page builder with live social features. People build pages from blocks (images, video, synced video, text, chat, image and vote boards) on a drag-and-drop grid, publish them at frezr.com/<name> and edit them together in real time. Friends can message and call each other while they browse.

Builder

  • A 12-column drag-and-drop grid (Grid.vue) with an edit mode for moving, resizing, retyping and configuring blocks in place, page backgrounds, and per-page sharing with read-only or edit access.
  • Block types are data, not code: each is a database row plus a Vue component, so adding one never touches the builder. Admin-only types are gated by role.
  • Synced video: everyone on a page watches the same moment, with shared play, pause and seek.
  • Built with Vue 3 (script setup), Vite, vue-router, Tailwind and a shared F* form kit.

Real time

  • One WebSocket per tab carries named topics (chat:<page>, board:<kind>:<id>). A server-side policy allows only approved topic prefixes, and handlers broadcast through a single publishTopic path backed by Redis pub/sub.
  • Direct messages: a dock of conversations with unread counts, delivered live to every open tab.
  • 1:1 voice calls over WebRTC, encrypted end to end (DTLS-SRTP). The server only relays signaling between friends and runs its own STUN/TURN (coturn) with short-lived credentials. Calls survive dropped connections with ICE restarts and keep the phone awake.
  • Notifications, a friends system, user popovers and a community activity feed.

Backend

  • Go and Gin API with JWT auth over PostgreSQL 15 (45 migrations). Identity is always derived on the server, and anonymous posters get a stable hashed name.
  • Redis for rate limits, cache-aside reads and the pub/sub bus. Client-side caching cut /api calls per screen by up to 40% and removed the blank first round trip on signed-in pages.
  • Self-hosted proof-of-work captcha (ALTCHA) and quotas on sign-up, and Google sign-in.
  • An admin console covering users and moderation, audit log, block types, maintenance and announcements, health, performance and live goroutine breakdowns.

Deployment

  • ship.sh builds the Go binary and the frontend locally and pushes them as a single-commit deploy branch. A Gitea webhook makes Portainer rebuild copy-only images, so the VPS never compiles anything.
  • Runs as a Docker stack (API, web, Postgres, Redis, coturn) behind nginx and certbot, set up with my deployer script.

Topics: Vue 3, Go, PostgreSQL, Redis, WebSockets, WebRTC