GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - void-57/SynCode: SynCode — Real-Time Collaborative Code Editor

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
backend
backend
 
 
frontend
frontend
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

SynCode

A real-time collaborative code editor that lets multiple users write, edit, and run code together in a shared room — live, in the browser.

Live: syncode.void57.space


Preview

Join Screen

Desktop Mobile
Join Desktop Join Mobile

Editor — Desktop

Editor Desktop

Editor — Mobile

Editor Collab
Editor Mobile Collab Mobile

Features

  • Real-time collaborative editing powered by Socket.IO
  • Multi-language code execution (JS, TS, Python, Go, Rust, Java, C++, C, Ruby) via self-hosted Piston
  • Monaco Editor (same engine as VS Code) with syntax highlighting
  • Live user presence — see who's in the room and their typing status
  • Room-based sessions — share a room code to collaborate instantly

Tech Stack

Layer Technology
Frontend React 19, Vite, TailwindCSS 4, Monaco Editor
Backend Node.js, Express 5, Socket.IO
Code Execution Self-hosted Piston API (AWS EC2)
Containerization Docker (Piston runtime isolation)
Deployment Render (app), AWS EC2 (Piston)

Project Structure

synCode/
├── backend/
│   └── index.js          # Express server, Socket.IO events, Piston
├── frontend/
│   ├── src/
│   │   ├── components/
│   │   │   ├── EditorView.jsx   # Monaco editor + run panel + user list
│   │   │   └── JoinRoom.jsx     # Room entry screen with validation
│   │   ├── context/
│   │   │   └── Room.jsx         # Global room state context
│   │   └── App.jsx
│   └── public/
│       ├── og-image.png         # OG banner image (1856×912)
│       ├── logo.svg / logo.png  # App icon
│       └── ...
├── package.json          # Root — start/build scripts
└── README.md

Getting Started

Prerequisites

  • Node.js 18+
  • Docker (required to self-host Piston)
  • A running Piston instance — production uses a self-hosted instance on AWS EC2

Running Piston Locally with Docker

Piston uses Docker to run untrusted code in isolated containers. To spin it up locally:

docker run \
  --platform linux/amd64 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -p 2000:2000 \
  ghcr.io/engineer-man/piston

Then set your .env:

PISTON_URL=http://localhost:2000/api/v2/execute

Piston pulls language runtimes on demand the first time each language is executed. In production, the Piston instance runs on an AWS EC2 instance inside Docker.

Install & Run (Development)

# Install root dependencies
npm install

# Install frontend dependencies
cd frontend && npm install && cd ..

# Start backend (with nodemon)
npm run dev

# In a separate terminal, start the frontend dev server
cd frontend && npm run dev

Backend runs on http://localhost:3000, frontend on http://localhost:5173 (Vite proxy).

Build for Production

npm run build
npm start

This builds the React app into frontend/dist/ and serves it from the Express backend.


Environment Variables

Create a .env file in the project root:

PISTON_URL=http://<your-piston-host>:2000/api/v2/execute
PORT=3000

Supported Languages

javascript · typescript · python · go · rust · java · c++ · c · ruby


License

This is a personal project. All rights reserved.

About

SynCode — Real-Time Collaborative Code Editor

syncode.void57.space

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.