vision-05 / betterCode

A light code editor made in Clojure using CLJFX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BetterCode

BetterCode Logo

A modern text editor with remote editing built in, made entirely in Clojure using the CLJFX library for UI, and the Gloss, Aleph and Manifold libraries for sockets.

What you will need to compile this project: JVM, Clojure compiler and leiningen build tool

Status: WIP, development still continuing. 16/02/2021

New architecture:

Client server based model, a text server backend will deal with editing and file IO while a client frontend is in charge of handling events and displaying to the user. The decoupling of the UI from the functionality will allow more flexibility and customisability, as well as the option to write custom clients in any language and remote editing.

Install

Linux

First of all you need to download Leiningen . You should be able to download it from your distros' repositories.

  • Ubuntu/Debain based: `sudo apt install leiningen`
  • Arch: `sudo pacman -S leiningen`

Then clone the repository using git clone https://github.com/vision-05/betterCode.git That is everything that's needed!

Run

Running Server

  1. Open a terminal/command line session
  2. Navigate to the directory where you cloned the repository to
  3. Go into the `bettercodeserver` directory
  4. Run the command `lein run`

Running client

  1. Open a terminal/command line session
  2. Navigate to the directory where you cloned the repository to
  3. Navigate into the `bettercode` directory
  4. Run the command `lein run [server ip]` insert the server ip where it says( Example `lein run 192.168.4.16`)

About

A light code editor made in Clojure using CLJFX

License:GNU General Public License v3.0


Languages

Language:Clojure 97.2%Language:Shell 2.8%