kissl

kiss HTTPS server. serves static files

Usage no npm install needed!

<script type="module">
  import kissl from 'https://cdn.skypack.dev/kissl';
</script>

README

install

[sudo] npm install -g kissl

use

kissl <port:8000> <filesDir:'./files'> <certsDir:'./certs'>

If certsDir doesn't exist or has no key.pem and cert.pem, those will be created.

Bear in mind if you want to run it on port 443 (or any other below 1024) you must sudo kissl.