Skip to content

lyonjs/code-in-the-dark-editor

Repository files navigation

Code in the Dark - Next.js rewrite 🚀

This is a rewrite of the Coffescript version, it's coded in Next.js !

localhost_3000_editor · 11 32am · 03-17

Demo 🔗

Getting Started 🆕

To set up your event have a look at the file called config/templtes.ts in this file you set up the reference image and the instruction. You can put your images in the public folder.

First, run the development server:

pnpm dev

Basic usage

You will be greeted with a form if you access the root of the site. Here the participants can put in there name. They will now be sent to the editor.

Warning

There has been no consideration about security and a bright person could maybe easily find a way to cheat 😅

Credit

Big thanks to https://github.com/vLX42/code-in-the-dark which enabled me to use some of the code to reproduce this project 🙏🏼

https://github.com/codeinthedark/codeinthedark.github.io More about the Code In The Dark concept

https://github.com/MHase/code-in-the-dark-uber-editor/tree/develop/ For some of the CSS and the idea to do a rewrite in React