Skip to content

Template for packaged EnyoJS (Enyo2) applications on a variety of new and old platforms

Notifications You must be signed in to change notification settings

webOSArchive/enyo2-bootplate

Repository files navigation

About

This bootplate is a template for a minimal Enyo2 and Onyx web application. You would normally use this to setup your local environment then go and modify the files to build your own application.

Enyo2 (aka EnyoJS) was an open-source Javascript framework that had its origins on the Palm/HP TouchPad, but was updated for Open WebOS and other platforms through 2018, before being replaced with EnactJS.

This fork stops at version 2.5.1 to maintain compatibility with legacy webOS. You can download a Sampler of its capabilities from the enyo2-sampler repo, or view it online via webOS Archive.

You can learn more about legacy webOS at webOS Archive or by exploring my other repos.

Downloading

You can use a Git client to clone this repo and then initialize submodules. Be aware that you'll need to clone recursively --recurse-submodules to ensure that all the subfolders are downloaded.

Remove the .git folder to detach your local folder from the bootplate git repo so that you can customize the contents for your own app (and add to your own repo)

Dependencies

Each platform you want to target has its own dependencies and quirks. Check out the other docs in this folder for platform-specific details.

Use

The bootplate provides a folder structure and app template to allow you to develop Enyo2 apps for a variety of platforms including legacy webOS, LuneOS, Android and the web.

This project exists to allow apps to run on old and new devices, but can't prevent you from using modern web features that won't work on older devices -- QA is up to you!

You create your app by modifying and updating the contents of the enyo-app folder.

The build script will help you build the app for different platforms. You specify which platforms to build for with command line arguments to the build script.

Ensure the script is executable: chmod +x build.sh

Call the script, passing a list of the platforms you want to build, with a space between each one:

./build.sh webos www android

If you prefer to be in control, check out the other docs in this folder for platform-specific details.