Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mo-framework with all npm packages installed. Try it out:

mo-framework lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("mo-framework/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mo-framework v0.6.8

Hybrid mobile app framework with generators

mo 🐍 framework

Hybrid mobile and web app framework with generators

Create awesome mobile and web apps:

  • Using all ES6+ features
  • With any view engine you love
  • Generating scaffold stuff
  • With wireless hot-reload on devices

Fast start

# Install mo globally
npm install -g mo-framework
# Create new app
mo new my-app && cd my-app
# Install dependencies
npm install
# Start the development server
mo serve

Now open http://x.x.x.x:7777 in your mobile or desktop browser.

Add the page to your device Home Screen to run it in fullscreen.

Using generators

# Create new page with .js, .hbs and .less files
mo generate page Profile

# Create new modal with .js, .hbs and .less files
mo generate modal Connection

Now edit views/components/menu/menu.hbs to include new page to menu.

Using with PhoneGap

# Setup
cd phonegap/
phonegap platform add ios
phonegap platform add android
cd ../

# Build
npm run phonegap

# Run emulators
npm run phonegap:emulate

Publishing as web app

npm run webapp

Tune webapp/index.html if needed and upload webapp folder to your web hosting.

Demo screenshots

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free