Skip to content
/ seabass2 Public
forked from milikhin/seabass2

Code editor for mobile devices

License

Notifications You must be signed in to change notification settings

Pohli/seabass2

 
 

Repository files navigation

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

About

Code editor for mobile devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 61.6%
  • QML 32.5%
  • QMake 3.1%
  • Shell 1.9%
  • HTML 0.9%