Skip to content

coderofsalvation/WQJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2MB all-in-one-binary approach for linux & windows (websocketd + quickjs)

NOTE: this is an experimental approach

Usage

  • https://websocketd.com serves src/html/index.html and starts src/app.js
  • all can be bundled into one EXE or linux binary
C:\Desktop> iexpress /N .packager\package.SED

$ .packager/build.linux-x86_64 
$ ls -la dist

total 5.4M
drwxr-xr-x 1 leon leon 4.0K Feb  2 20:10 .
drwxr-xr-x 1 leon leon 4.0K Feb  2 20:32 ..
-rwxr-xr-x 1 leon leon 2.9M Feb  2 20:10 app
-rwxr--r-- 1 leon leon 2.5M Feb  2 20:09 app.exe

build binaries

  • windows console: iexpress /N .packager\package.SED -> app.exe
  • linux console: .packager/build.linux-x86_64 -> app

NOTE: the windows binary has access to the files specified in package.SED but does not maintain folder structure

Todo

The windows build doesn't respect the directory-structure and isn't really convenient (new files require editing .packager/package.SED

About

2MB all-in-one-binary approach for linux & windows (websocketd + quickjs)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy