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