ayushsharma82 / WebSerial

A remote terminal library for wireless microcontrollers to log, monitor or debug your firmware/product
https://webserial.pro
GNU Affero General Public License v3.0
461 stars 108 forks source link

How to recreate webserial_webpage.h? #7

Closed PeeJay closed 3 years ago

PeeJay commented 4 years ago

How did you create webserial_webpage.h? Could you add the source in for that?

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

eried commented 3 years ago

Hi, did you solved the issue?

PeeJay commented 3 years ago

The author added the source code to https://github.com/ayushsharma82/WebSerial/tree/master/ui but I haven't tried to compile it yet.

eried commented 3 years ago

I see, but I do not see the moment it gets packaged into the code, so maybe there is another tool required. I can see it is a gz package. I was trying to move the plaintext to the ESP filesystem, but failed.

PeeJay commented 3 years ago

You need Nodejs v12 to build the package, and if you look in https://github.com/ayushsharma82/WebSerial/blob/master/ui/finalize.js part of the build process is to create /dist/webpage.h