This is a simple method to embed the KiWix-JS into an executable.
-
Download and Build KiWix-JS
git clone [email protected]:kiwix/kiwix-js.git cd kiwix-js npm install npm install rollup --save-dev npm run build
-
Build Executable
copy the go.mod and main.go into the kiwix-js dir
go build -o kiwix-srv
-
Run Excutable
./kiwix-srv
Open the browser and goto kiwiz-js local server
You can also install it on the google cloud run or similar service.