Skip to content

adeyinkaezra123/codeX

Repository files navigation

codeX

A Fast, tiny, in-browser, IndexedDB powered code editor and Snippet manager

Built with Vue.js, Dexie and Monaco Editor . codeX provides a clean and VSCode like familiar interface to save notes, tasks and code snippets directly in the browser.

For added security, all the data is stored within your browser tab (IndexedDB). There is no cloud backup available so far but you can still create backups and restore/share your contents with others.

Features

  • Syntax Highlighting and customizable code linting
  • Easy to use Document files (.doc) using ProseMirror Editor
  • MultiWindow Editing (Drag and drop files to the editor area to switch to multi editor)
  • Code compilation and formatting support for 40+ programing languages
  • Intuitive sketch pad for quick formulation and visual representation of ideas
  • Shortcuts for most of the actions (Create, Rename, Delete, etc..)
  • Ability Import and Export your data to and from anywhere

Screenshot_2021-04-13 CodeX - In browser notes and code snippets Screenshot_2021-04-12 CodeX - In browser notes and code snippets

Project setup

git clone https://github.com/adeyinkaezra123/codeX codex
cd codex
npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Docker Setup

You can use codeX from docker, you can build your own image using

docker build -t codex/codeX .

To depoly an codeX instance using docker container you can run the following:

docker run -it -p 80:80 codex/codeX .

You can change the host binding port from 80 to other ports.

Now to access the instance you can go to browser and write http://localhost or your ip:port if you deploy on a vps (public instance) and changed the host binding port.