CodeVerse: A Browser-Based Collaborative IDE with Server-Arbitrated File Locking, Hybrid Remote/Local Code Execution, and Schema-Constrained AI Assistance
Setting up compilers, runtimes, and shared repositories remains a recurring obstacle for students and small teams who simply want to write code together.This paper presents CodeVerse, a web-based integrated development environment that runs entirely from a browser tab and combines three capabilities that are usu-ally delivered by separate products: real-time multi-user editing, multi-language program execution, and an AI assistant that edits project files.Rather than adopting operational transformation or conflict-free replicated data types, CodeVerse serializes writers with a server-side, per-file lock that expires after three seconds of inactiv-ity, which keeps the server authoritative and the client logic simple.Code is dispatched first to a remote Judge0 execution service and, on failure, to local toolchains for nine languages, with all workspace files staged together so that multi-file programs build correctly.The AI module forces the language model to answer in a fixed JSON schema of create/update file operations and validates every path before the workspace is touched.Room state, membership, chat, and an edit-level audit trail are persisted in PostgreSQL through Supabase, and member credentials are stored only as salted scrypt or SHA-256 digests.We describe the architecture and protocols, report measurements of the lock service on commodity hardware (about one microsecond per acquire/release pair and no mutual-exclusion violations in 160,000 contended attempts), and discuss the security and scalability limits of the current design together with directions for future work.
Authors
- Shiva Prakash J
- Yashas A
- J. R. Harshavardhan
- Shreyas B
- Yashwanth K
Publication Details
- Journal
- IJARCCE
- Published
- 2026-11-19
- DOI
- https://doi.org/10.17148/ijarcce.2026.1511160
- Primary Topic
- Mobile and Web Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00