From e46f84f4bd826eafce9546dbd51b71473d70570d Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Thu, 4 May 2023 18:28:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=B7=20Adds=20simple=20controller=20/?= =?UTF-8?q?=20stream=20viewer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/README.md | 6 +++++ data/index.html | 58 +++++++++++++++++++++++++++++++++++++++++ include/index_other.h | 60 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 app/README.md create mode 100644 data/index.html create mode 100644 include/index_other.h diff --git a/app/README.md b/app/README.md new file mode 100644 index 0000000..7843dce --- /dev/null +++ b/app/README.md @@ -0,0 +1,6 @@ +At the moment it's not possisble to build svelteKit to single js file or in a flatten structure +https://github.com/sveltejs/kit/issues/3882 + +This means that it cannot be stored in SPIFFS as it only support upto 32 bytes filenames include filepath + +For the time being the esp32 will serve at static html file diff --git a/data/index.html b/data/index.html new file mode 100644 index 0000000..5998145 --- /dev/null +++ b/data/index.html @@ -0,0 +1,58 @@ + + + + + + + + + + +

Spot Micro Controller

+
+ +
+ + + \ No newline at end of file diff --git a/include/index_other.h b/include/index_other.h new file mode 100644 index 0000000..e49025e --- /dev/null +++ b/include/index_other.h @@ -0,0 +1,60 @@ +const char index_simple_html[] = R"=====( + + + + + + + + + +

Spot Micro Controller

+
+ +
+ + +)====="; + +size_t index_simple_html_len = sizeof(index_simple_html)-1; \ No newline at end of file