nodejs-app

Host Node.js server applications inside the WebToApp on-device runtime.

5.5k|794|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/shiaho777/web-to-app --skill nodejs-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nodejs-app
Source: https://github.com/shiaho777/web-to-app/tree/main/app/src/main/assets/skills/nodejs-app
Command: npx skills add https://github.com/shiaho777/web-to-app --skill nodejs-app

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build Node.js server applications that run inside the WebToApp on-device runtime, eliminating the need for remote servers for mobile-first backends.

Core Features & Use Cases

  • On-device Node.js runtime support (Node 20, ARM64/ARMv7 native).
  • Supports four build modes: static, ssr, api, fullstack.
  • Isolated sandbox with no global filesystem access; only project directory.
  • Constrains to pure-JS modules; no native modules.
  • Suitable for local APIs, SSR pages, full-stack apps on-device.

Quick Start

Create a package.json with main set to server.js and a start script, then implement server.js as the on-device runtime entry point.

Frequently Asked Questions about nodejs-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a Node.js server on mobile devices without a remote backend?

You can run a Node.js server on mobile devices by hosting it inside the WebToApp on-device runtime, eliminating remote backend dependencies. It supports pure JavaScript applications using Node 20 on ARM64/ARMv7 architectures.

How to configure package.json for an on-device Node.js app?

To configure an on-device Node.js app, set main to server.js in your package.json and include a start script. The server.js file acts as the direct entry point for the on-device runtime execution.

Can I use native Node.js modules in the WebToApp runtime?

No, you cannot use native Node.js modules in the WebToApp runtime. The on-device execution environment constrains applications to pure JavaScript modules only, without support for native add-ons.

What build modes are supported for on-device SSR and API applications?

The on-device runtime supports four build modes for SSR and API applications: static, ssr, api, and fullstack. These modes allow you to build local HTTP APIs, server-side rendered pages, or full-stack apps entirely on-device.

Does the on-device Node.js runtime have filesystem access limitations?

Yes, the on-device Node.js runtime has strict filesystem access limitations. It runs in an isolated sandbox with no global filesystem access, restricting all operations entirely to your specific project directory.