Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.35 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.35 KB

build

Seabass

About

Seabass is a code editor for mobile devices.

Currently supported platforms:

  • Sailfish OS

Features:

  • Syntax highlighting for over 120 programming/markup languages
  • Undo/Redo
  • Navigation buttons

Seabass on Sailfish X #1 Seabass on Sailfish X #2

Architecture

Application for each platform consists of two major parts:

  1. Platform-specific application
    The application provides UI using native components, interacts with file system and contains WebView to inject editor engine

  2. Web-based editor engine
    HTML5 application optimised for mobile WebView runtime

The two components interact using a simple message-based API. In Sailfish OS messages are delivered using navigator.qt API

Directory structure

  • harbour-seabass - QML application for Sailfish OS developed with Sailfish SDK
  • editor - JS editor engine

Build instructions

Requirements:

  • Node.js, tested using v12
  • Sailfish SDK

Build steps:

  1. Building editor engine
    1. Install editor dependencies and build tools: npm install
    2. Build editor engine and copy required files to Sailfish app directory: npm run build
  2. Build harbour-seabass using Sailfish SDK