This update introduces full JavaScript-based nested submenu handling for the Apps menu, enabling reliable click-based toggling without interference from Bootstrap’s native dropdown logic. Submenus now expand to the left via custom CSS and no longer require dropstart or data-bs-toggle attributes. Changes include: - Add javascript feature flag and enable inline eval in CSP - Add javascript.js implementing custom submenu toggle logic - Add CSS rules for left-expanding nested dropdown menus - Replace hardcoded headline with LITTLEJS_HEADLINE variable - Modernize “Play” → “Start” labels in cards - Remove unused/legacy examples from examples.yml (commented out, not deleted) - Cleanup nav_top.html.j2 to remove conflicting Bootstrap attributes Conversation reference: https://chatgpt.com/share/6928b4c7-19ec-800f-a087-9af304ef4ed9
LittleJS Playground
Description
LittleJS Playground is a self-hosted web application that bundles the LittleJS engine, its official examples, and a minimal Infinito.Nexus launcher UI.
It provides a simple, tile-based overview of demos and games, allowing you to quickly explore LittleJS examples directly in your browser.
Overview
LittleJS Playground is designed as a lightweight HTML5 game sandbox for education, prototyping, and fun.
It exposes the original LittleJS examples/ browser and adds a Bootstrap-based landing page that lists all examples as clickable tiles and offers quick links to popular games such as platformers and arcade-style demos.
The app runs as a single Docker container and requires no additional database or backend services.
Features
- Self-hosted LittleJS environment — run LittleJS demos and games under your own domain.
- Example browser integration — direct access to the original LittleJS example browser.
- Tile-based launcher UI — dynamically renders a catalog from the
exampleListdefinition. - Quick links for games — navbar entries for selected games (e.g. platformer, pong, space shooter).
- Bootstrap-styled interface — clean, minimalistic, and responsive layout.
- Docker-ready — fully integrated into the Infinito.Nexus Docker stack.
Further Resources
- 🕹 Upstream engine & examples: KilledByAPixel/LittleJS
- 📚 LittleJS README & docs: GitHub – LittleJS
Credits
LittleJS is developed and maintained by KilledByAPixel and contributors.
This integration and role are developed and maintained by Kevin Veen-Birkenbach.
Learn more at veen.world.
Licensed under the Infinito.Nexus NonCommercial License.