Unified communication, publishing, and execution for modern teams.
HorizonSync is a unified collaboration platform that combines:
- real-time team communication
- a public social feed
- a private knowledge and execution workspace
The product is designed as a single, cohesive operating surface for modern teams that want communication, planning, publishing, and AI assistance in one place.
HorizonSync is built around three core pillars:
-
HubsReal-time team collaboration with channels, direct messages, reactions, forwarding, and side-panel threads. -
GlobalOrganization-wide publishing with rich posts, comments, likes, bookmarks, quote-posting, polls, and author post management. -
My SpaceA personal execution layer with nested documents, reminders, slash-command editing, drag-and-drop blocks, and structured workspace views such as list, kanban, and calendar.
- production-grade Next.js App Router architecture
- strongly typed end-to-end TypeScript codebase
- Prisma + PostgreSQL data model
- NextAuth-based authentication
- responsive theme-aware UI
- real-time messaging with Pusher
- branded login security notifications by email
- AI drafting assistant integration
- modular shared UI primitives for drawers, toasts, skeletons, and transitions
- channel chat and direct messages
- message editing and soft deletion
- forwarding references
- emoji reactions
- side-panel threads
- typing indicators and presence
- file and image attachments
- create post with media
- quote-posting
- optimistic likes, bookmarks, comments
- author archive and delete actions
- poll creation and voting
- bookmarks tab
- infinite scroll feed loading
- nested document hierarchy
- reminders and follow-ups
- slash commands in the editor
- drag-and-drop block reordering
- sub-page creation
- list, kanban, and calendar workspace views
Next.js 14React 18Tailwind CSSframer-motionnext-themes
Next.js Route HandlersServer ActionsPrisma ORMPostgreSQLNextAuthPusherUploadThingNodemailer
src/
app/
(auth)/
(main)/
api/
modules/
ai/
auth/
global/
hubs/
myspace/
profile/
shared/
components/
hooks/
lib/
prisma/
public/
App Routerkeeps route-level layouts and loading states modular.Server Actionsare used where mutation ergonomics and type sharing matter.Route Handlersare used for client-side fetch flows, realtime-related endpoints, and external service boundaries.Prismaprovides the relational base for social, communication, and workspace features.Pusherhandles realtime message fanout, presence, and incremental UI updates.
Copy .env.example to .env for local development, and mirror the same variables in Vercel or Render.
DATABASE_URL=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
NEXT_PUBLIC_APP_URL=GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
MICROSOFT_CLIENT_ID=
MICROSOFT_CLIENT_SECRET=
MICROSOFT_TENANT_ID=PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
PUSHER_CLUSTER=
NEXT_PUBLIC_PUSHER_KEY=
NEXT_PUBLIC_PUSHER_CLUSTER=UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-miniEMAIL_SERVER_HOST=
EMAIL_SERVER_PORT=
EMAIL_SERVER_USER=
EMAIL_SERVER_PASSWORD=
EMAIL_FROM=npm installnpx prisma generatenpx prisma migrate devnpm run devnpx tsc --noEmit
npm run buildHorizonSync includes:
- server-side input sanitization helpers
- same-origin protection for mutation routes
- session-protected route groups
- soft-delete patterns for sensitive content
- branded login notification emails
- screenshot monitoring alerts on the client
- dual theme system with explicit dark and light visual identities
- mobile-first responsive layouts
- drawer-based navigation on smaller screens
- loading skeletons and smooth route transitions
- polished, high-contrast collaboration surfaces
HorizonSync is designed to run well on a standard Next.js deployment stack such as:
- Vercel for app hosting
- Neon, Supabase, or Railway PostgreSQL for data
- Pusher for realtime delivery
- UploadThing for file handling
- Resend or SMTP-compatible mail infrastructure
- Import the repository into Vercel.
- Set the framework preset to
Next.js. - Add every environment variable from
.env.example. - Point
NEXTAUTH_URLandNEXT_PUBLIC_APP_URLto your Vercel production URL. - Use a managed PostgreSQL database and run
npx prisma migrate deployagainst production before launch if it has not already been executed.
The repository includes vercel.json and a postinstall Prisma generate step so the build is production-safe by default.
- Create a new Blueprint or Web Service from this repository.
- Render will detect
render.yamland configure the Node service. - Set all secret environment variables in the Render dashboard.
- Point
NEXTAUTH_URLandNEXT_PUBLIC_APP_URLto your Render domain or custom domain. - Confirm that your production database is reachable from Render before the first deploy.
The Render service is configured to:
- install dependencies
- run the production build
- execute
prisma migrate deployon startup - serve the app with
next start
- configure a managed PostgreSQL database
- run Prisma migrations in the target environment
- set all auth provider secrets
- set all Pusher keys for realtime
- configure SMTP credentials for security emails
- set the OpenAI key for AI assistant features
- verify UploadThing credentials
- confirm
NEXTAUTH_URLandNEXT_PUBLIC_APP_URL - verify the logo and banner are present in
public/branding - update your custom domain DNS before opening public access
Potential future expansion areas:
- moderation and admin controls for Hubs
- richer analytics on Global engagement
- collaborative editing in My Space
- activity audit logs
- organization-level settings and billing
Crafted by MR. Rudranarayan Jena
Founder @Voxion Labs
Product builder, Full-stack Developer, AI Enthuiast and the creator behind HorizonSync.
Focused on building polished developer products, real-world web applications, and modern AI-assisted workflows.


