← Back to VOLUME 15, ISSUE 11, NOVEMBER 2026
This work is licensed under a Creative Commons Attribution 4.0 International License.
CodeVerse: A Browser-Based Collaborative IDE with Server-Arbitrated File Locking, Hybrid Remote/Local Code Execution, and Schema-Constrained AI Assistance
Mr. J. R. Harshavardhan, Shreyas B, Yashas A, Yashwanth K, and Shiva Prakash J
π 4 viewsπ₯ 1 download
Abstract: 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.
Keywords: collaborative editing, web IDE, file locking, code execu-tion sandbox, WebSocket, large language models, software engineering education
Keywords: collaborative editing, web IDE, file locking, code execu-tion sandbox, WebSocket, large language models, software engineering education
How to Cite:
[1] Mr. J. R. Harshavardhan, Shreyas B, Yashas A, Yashwanth K, and Shiva Prakash J, βCodeVerse: A Browser-Based Collaborative IDE with Server-Arbitrated File Locking, Hybrid Remote/Local Code Execution, and Schema-Constrained AI Assistance,β International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.1511160
