Try It in the Browser
You can explore cap2UI5 without installing anything — no Node.js, no CAP server, no clone. The complete stack (frontend and backend, including all sample apps) runs as a static site on GitHub Pages:
Start a specific app with the same app_start parameter you'd use against a real CAP server:
https://cap2ui5.github.io/web-cap2UI5-build/?app_start=z2ui5_cl_app_hello_world
https://cap2ui5.github.io/web-cap2UI5-build/?app_start=z2ui5_cl_demo_app_001The z2ui5_cl_demo_app_* samples are the transpiled abap2UI5 demo collection — a browsable cookbook of tables, forms, popups, charts, and more.
Wait — didn't you say the backend renders the view?
Yes, and that's exactly what makes this playground fun: cap2UI5's backend is plain JavaScript with no hard CAP dependency in the hot path. So the builder-cap2UI5-web build bundles the entire backend — framework core plus all sample apps — into a single ~1.2 MB JS file and loads it into the browser tab:
Browser tab
├── index.html + webapp the unchanged UI5 frontend (UI5 from CDN)
│ │
│ │ still calls fetch("/rest/root/z2ui5", { method: "POST", … })
│ ▼
└── z2ui5-web.js the bundled "server"
├── fetch interceptor answers /rest/root/z2ui5 in-process,
│ passes everything else to the network
├── framework core the same core/srv/z2ui5 code that runs on CAP
├── all sample apps registered at build time
└── in-memory drafts a Map instead of the databaseThe frontend doesn't know the difference — it POSTs to the same endpoint and gets the same responses. Every roundtrip that would normally hit your CAP server is answered inside the tab.
For comparison: abap2UI5 has the same kind of twin (abap2UI5-web), but it has to ship an ABAP runtime and a WASM database to the browser (~12 MB). Because cap2UI5's backend is already JavaScript, the bundle here is roughly a tenth of that.
What it's good for
- Kicking the tires before you install anything.
- Browsing the sample apps as a live catalog next to their source in
core/srv/app/samples/. - Sharing a demo link with colleagues.
What it's not
- Not a production topology. cap2UI5's security model — UI logic and state stay on the server — obviously doesn't apply when the "server" is shipped to the client. It's a demo artifact.
- Sessions live in the tab. Reload = fresh state. On a real CAP server, drafts persist in the database.
- Server-only features are off. Samples that call external OData services (e.g. Northwind) or need real CAP services/destinations won't work here.
- Internet still required — UI5 itself loads from the SAP CDN.
The site is rebuilt automatically from the latest cap2UI5 sources (weekly and on demand) by the builder-cap2UI5-web repository and published to web-cap2UI5-build.
→ Ready for the real thing? Head to the Quickstart — you'll have the same apps running on a local CAP server in five minutes.