Skip to content

A front-end for the xi-editor built with modern web technologies.

Notifications You must be signed in to change notification settings

baransu/xi-electron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xi Electron

A front-end for the xi-editor built with modern web technologies._

Demo

XiEditor

NOTE: This is still a WIP!

Getting started

To build and run xi-electron you'll need to have NodeJS installed (Node version 6 or greater) as well as Git.

To get started, simply run:

> git clone https://gitlab.com/callodacity/xi-electron
> cd xi-electron
> yarn && yarn install:core
> yarn make

The built app will be output to xi-electron/out/.

Updating xi-core

The easiest way by far is to use the install script found in bin/install-core. You will need to have Git, Rust and relevant build tools installed. This script will clone the latest version of xi-core, build it, and copy it into xi-electron.


In order to build it manually, follow these steps:

To update xi-core, you must build it and place it in xi-electron/src/xi-core/. You can do so by following these steps (taken from the xi-editor repo):

You need Xcode 8.2 (only on Mac) and Rust (version 1.13+ is recommended and supported). You should have cargo in your path. You'll also need cmake installed, to run the syntax highlighter. If you have homebrew, easiest to run brew install cmake. It is possible to build without cmake, but requires some editing of build scripts.

To build the core:

> git clone https://github.com/google/xi-editor
> cd xi-editor/rust
> cargo build

Then copy the contents of xi-editor/rust/target/debug/**/* to xi-electron/src/xi-core and rebuild xi-electron.

Lastly

All credits for the xi-editor go to Raph Levien.

About

A front-end for the xi-editor built with modern web technologies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.9%
  • CSS 7.7%
  • Shell 1.8%
  • HTML 0.6%