SmallJS

Examples

SmallJS example apps.
Click on the titles for more info.

Front-end

Counter

Control a simple counter app in a browser.
Examine it to check out the SmallJS browser development environment.

Todo

A small task manager application (browser only).
This is a somewhat more complex browser app using more types of HTML elements.

Balls

Bouncing colored balls on a HTML canvas.

Full-stack

Shop

The skeleton of a webshop app with users, products and orders.
Consists of a client (browser) and a server (NodeJS) part.

AI

An AI server and client app that implements text chat to multiple AI providers and models.
And a Retrieval Augmented Generation (RAG) app.

Performance

Benchmark

Some benchmarks comparing SmallJS performance to native JS implementations.

Web Workers

Run multiple SmallJS worker threads in the browser.

Deskop

For developing desktop apps, there are there 3 options:

NW.js

Lightweight GUI framework merging Node.JS and Chromium.

Electron

App based on the full-featured Electron framework.