Skip to content

edielam/TerminalEditor-CC

Repository files navigation

Phase 1, 2 and 3 of Lever(previously CortexCode) Project

A desktop application featuring a code editor, an embedded terminal emulator, and a working p2p network layer. This application is built with Tauri, Rust, and React, providing a seamless development environment for writing, testing, and sharing code. (PS: Code files have been moved to a private repo until completion of final phase)

UI update

Lever

previous ui

CortexCode

Features

  • Code Editor:
    • Integrated code editor with syntax highlighting and autocomplete features.
    • Built using React for a responsive and dynamic interface.
  • Terminal Emulator:
    • Embedded terminal emulator for executing commands directly within the application.
    • Utilizes xterm.js for ui and a pty serving rust backend.
  • P2P Network Layer:
    • Implements a peer-to-peer network for collaborative coding and resource sharing.
    • Overcomes NAT traversal challenges for cross-country collaboration.

Built With

  • Rust: Backend server logic and network layer implementation.
  • React: Frontend framework for building the UI.
  • Tauri: Framework for creating the desktop application.
  • Libp2p: For peer-to-peer network layer.

Progress

  • The code editor is fully functional and integrated into the Tauri desktop application.
  • The terminal emulator is embedded and allows for command execution within the app.
  • The P2P network layer is operational, enabling peer discovery and communication.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/edielam/TerminalEditor-CC.git
    cd TerminalEditor-CC
  2. Install dependencies:
    npm install
    cargo install tauri-cli --version ^1.0.0
  3. Run the application:
    npm run tauri dev

Usage

  • Open the application to start coding in the integrated code editor.
  • Use the embedded terminal to execute commands and manage your development environment.
  • Connect with peers through the P2P network layer for collaborative coding and resource sharing.

Acknowledgements

About

Code editor, embedded terminal and p2p network layer for cortexcode project(PS: Files have been moved until completion of final phase)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors