Commit graph

8 commits

Author SHA1 Message Date
dc65439632 Perform circup installation from a requirements file
.. generated by "circup freeze"
2024-02-20 09:21:31 -06:00
30488c93e1 fix circup invocation to use double dash 2024-02-20 09:16:26 -06:00
d851c9a74a Use long option names with rsync 2024-02-20 09:16:05 -06:00
1fe1708b86
Apply suggestions from code review
Co-authored-by: James Ide <ide@users.noreply.github.com>
2024-02-18 10:34:08 -06:00
e9442e9457 Update to newest adafruit_httpserver; make content dynamic
Now it'll name the specific device and version in the returned
(text/plain) content.
2024-02-16 10:04:38 -06:00
2c7939bb06 Use circup to install adafruit_httpserver
The bundled httpserver was old and its mpy format was not
compatible with circuitpython 9
2024-02-16 10:04:14 -06:00
James Ide
86009ef6ae
Add an example server (very slow)
This implements a simple HTTP and HTTPS server pair that serve a static HTML file. The HTTP server uses adafruit_httpserver in a straightforward, basic way. The HTTPS server works by wrapping a socket pool object in an object that wraps all sockets in SSLSockets.

There are throwaway, self-signed certificates for testing under src/certificates. However, HTTPS is very slow. Probably need an optimized AES implementation.
2023-03-01 19:55:58 -08:00
James Ide
54b1dbe7f1
Add README, MIT License, .gitignore 2023-02-26 09:20:12 -08:00