Skip to content

KevinXuxuxu/opencoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCoder

Open-source light-weight "serverless" collaborative coding and execution site, powered by codapi and PeerJS.

The connection is p2p fully based on generated peer_id, and code execution runs in WASI environment in browser. As a result it is truly "serverless" and able to be hosted as a static site and even through CDN.

Try it!

Or host yourself:

First, clone the repo:

git clone https://github.com/KevinXuxuxu/opencoder.git
cd opencoder
  • If you already have flask setup:
flask run -h 0.0.0.0 -p 80
  • Otherwise
# build docker
docker build . -t opencoder
# run the docker container
docker run -p 8888:8888 -v `pwd`:/root/opencoder opencoder

Then visit http://localhost:8888 and have fun :)

About

Open source online collaborative coding platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published