---
title: Writing low code P2P web-apps in single HTML file with Gun-Vue toolkit
date: 2023-05-02
youtube: mXXpiQ3G1dc
version: 0.17.1
---

Recently added importmaps are a wonderful way to have all the power of reactive p2p ui just in local HTML files, that can be stored, transferred, modified and executed by any means available. Any modern browser will do the sync. Try it!

00:00 One file build
01:00 Local file links
02:00 Data syncing from all peers
03:00 Posts graph browsing experience
04:20 Example HTML apps
05:20 App.html - Chat example demo
07:00 Improving UI with Unocss classes
10:00 Public chat working
13:00 Build apps with composables - example
14:10 Messages.html - private e2e encrypted messaging
16:00 Alice talks to Bob
19:00 Two browser tabs talk to each other 
23:00 Simplicity of example apps structure
25:00 Extending the app