Skip to content

Instantly share code, notes, and snippets.

@popdemtech
Created March 23, 2024 09:37
Show Gist options
  • Save popdemtech/cae8ead728f0bff4b9c367aeffbac67b to your computer and use it in GitHub Desktop.
Save popdemtech/cae8ead728f0bff4b9c367aeffbac67b to your computer and use it in GitHub Desktop.
Distributable application using web technologies
<p>this is a page with a link to the other page</p>
<a href="other.html">other page</a>
<p>there is a javascript added which increments this number</p>
<div id="number">0</div>
<script src="js.js"></script>
number = document.getElementById('number');
setInterval(() => {
val = number.innerText;
numberVal = Number(val);
newVal = numberVal + 1;
number.innerText = newVal;
}, 1000);
<p>this is the other page with a link to the index page</p>
<a href="index.html">index page</a>
@popdemtech
Copy link
Author

popdemtech commented Mar 23, 2024

Just a reminder that technology doesn't have to be as complicated as finding hosting for a static site or setting up a desktop app with Electron or whatever. Software distribution, fundamentally, is providing functionality. Every computer owner has access to an internet browser. If the functionality being distributed can be as simple as zipped up html files, you can simply send over zipped up html files.

Tell the receiver to open the file in their browser. Keep it simple

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment