Make a counter of your own.

Start with one button for your next game. Give it a name, add a point and send a copy to a friend.

Saves an HTML file. Your friend can open it in a desktop browser and start at zero.

Have another idea?
Try it with AI.

Copy this prompt and change the game or the rules to suit the person you have in mind.

Build a table tennis scorer for two people sharing one phone. Give each player a button, let us undo the last point, and remember the score when we close the app. Read https://lanlet.org/kit/start.md and package the page with its assets so it works offline in Lanlet. Try it yourself, then give me the app file and instructions for opening it.

Share your creation

Send a finished web app as a file. Each person keeps their own copy and their own progress.

Gather your app files

Put your page, images, fonts and scripts in a folder named app/. Keep their paths intact. For the counter above, put your saved HTML file in the folder and rename it index.html.

Add a manifest.json using the two-file example. Give your app a name, a stable ID, a version and an entry page. Keep the same ID for updates.

Pack it and try it

Choose your system and save the command-line tool next to the app/ folder. Open a terminal there and run these commands.

Windows x64 · PowerShell

Download Windows creator CLI

File details

lanlet-windows-x64.exe · 0.4.7

SHA-256 32f3e0967397b1c908d854436a2d93b85fcb2455d68071f26924436a0c66df9e

.\lanlet-windows-x64.exe pack app my-app.lanlet
.\lanlet-windows-x64.exe check my-app.lanlet
.\lanlet-windows-x64.exe --data test-library install my-app.lanlet
.\lanlet-windows-x64.exe --data test-library serve --port 0
Linux x64

Download Linux creator CLI

File details

lanlet-linux-x64 · 0.4.7

SHA-256 6780006bbfbffb8d4406c76c39cdb3c09aac897b7f0ed1a78aae5f15dba4feb8

chmod +x ./lanlet-linux-x64
./lanlet-linux-x64 pack app my-app.lanlet
./lanlet-linux-x64 check my-app.lanlet
./lanlet-linux-x64 --data test-library install my-app.lanlet
./lanlet-linux-x64 --data test-library serve --port 0

Open the local address printed in the terminal and choose your app. Try its main action, then disconnect from the internet and reload. Check that the images, sounds and saved progress still work.

Send the file

Send my-app.lanlet as an attachment or pass it over on a USB drive. Include the opening instructions so your friend can save the file and import it into Lanlet.

More for developers

Packaging guide · Package format · Manifest fields · Host API · Device discovery

Lanlet product source