Extremely simple HTA chatting app that is overengineered
You will need node.js installed
Begin by installing the modules:
npm install
The run index.js:
node index.js
This may give you either a minified or non minified build in the dist folder (you can change this by editing MINIFY in constants.js, the value of it varies by commit)
There is no hot-reloading yet, so you will have to re-build the client everytime you make a change
In order to see console messages, you have a few options (you will need a non-minified build regardless):
- using the remote console (
tools\remote_console.py) - using HTAConsole, see
constants.js - running the html (generated alongside the hta) in Internet Explorer 11 and using it's dev tools
Tip
You can force the client to reconnect to the remote console by pressing F12
The server is located in the Server folder
You will need deno installed
Afterwards, just run the dev task:
deno task dev
The app uses React 17 and Typescript via a custom build system (named TS2HTA)
TS2HTA uses Babel and ESBuild for bundling
The following polyfills are used:
- core-js
- whatwg-fetch