Skip to content

caner-cetin/code-cansu-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code.cansu.dev

main branch

development branch unstable

overview

Code playground with 38 different environments, all with autocompletes, snippets, and syntax highlighters.

alt text

Entire UI is subject to change and UI in screenshots/gifs/videos might not reflect the live version of the project.

features

Autocomplete and Snippets

demo autocomplete

Share Code Output

demo share code

Live2D Model that reacts to your code after execution

alt text

Stdin Support

demo stdin

Execution and Loading Speed

demo execution

Network Friendly

From Haskell to NASM to Prolog to Lua, run everything with under 2 MB of network (3.7 MB including anime girl), all autocompletes and snippets included.

As a comparison, with no cache, from initial load to output, JDoodle consumes 3.05 megabytes for only loading COBOL. My precious darling loads needs only 1.6 MB of network initially, for loading all languages. Language switch takes almost nothing, where as JDoodle transfers 6 MB of network just to switch from COBOL to Fortran.

Cached initial network transfer is only 4 KB, and executions, submissions, etc. takes only a few kilobytes per query.

Secure

With the latest versions, this project does not rely on third party self-hosted solutions for code execution and rolls with a new solution using Docker Engine API. Previous versions, and the third-party service used worker-slave architecture, and all submissions were processed by one or more slaves, mixing every submissions in one machine. Now, every submission have their own container, operating system, filesystem, all unique and disposable sandboxx environment.

Real time collaboration (WIP)

this feature is heavily work in progress, its nowhere near being finished, im just adding here to tell you that i am working on it. there are still many features // UI changes planned to implement (such as but not limited to multiple cursor tracking, chat rooms, seperate code tabs, etc.) so this may take a while.

basic version of RTC is live on main branch and you can use it in https://code.cansu.dev, but it is unstable and definitely buggy. wip.

more to come

supported languages

others

contact: mail

changelog is in public/readme.md and can be vieved at website.

palette: #211e20 #504945 #2c2a2a #3c3836, for text, either #e9efec or #9ca3af

Releases

No releases published

Packages

No packages published