hydrapp Vanilla JS and forms app.
A simple hydrapp Vanilla JS and forms app.
See INSTALLATION.html.
All arguments passed to the binary will be forwarded to the browser used to display the frontend.
Name | Description |
---|---|
HYDRAPP_BACKEND_LADDR |
Listen address for the backend (localhost:0 by default) |
HYDRAPP_FRONTEND_LADDR |
Listen address for the frontend (localhost:0 by default) |
HYDRAPP_BROWSER |
Binary of browser to display the frontend with |
HYDRAPP_TYPE |
Type of browser to display the frontend with (one of chromium , firefox , epiphany , lynx and dummy ) |
HYDRAPP_SELFUPDATE |
Whether to check for updates on launch (disabled if OS provides an app update mechanism) |
- pojntfx/hydrapp provides the application framework.
To contribute, please use the GitHub flow and follow our Code of Conduct.
To build and start a development version of hydrapp Vanilla JS and Forms locally, first install Go, then run the following:
$ git clone https://github.com/pojntfx/hydrapp.git --single-branch
$ cd hydrapp
$ go generate ./hydrapp-example-vanillajs-forms/...
$ go run ./hydrapp-example-vanillajs-forms
To build the DEB, RPM, Flatpak, MSI, EXE, DMG, APK, and static binaries for all other platforms, run the following:
$ go run ./hydrapp build --config ./hydrapp-example-vanillajs-forms/hydrapp.yaml
# You can find the built packages in the out/ directory
If you only want to build certain packages or for certain architectures, for example to only build the APKs, pass --exclude
like in the following:
$ go run ./hydrapp build --exclude '(binaries|deb|rpm|flatpak|msi|dmg|docs|tests)' --config ./hydrapp-example-vanillajs-forms/hydrapp.yaml
For more information, see the hydrapp documentation.
hydrapp Vanilla JS and Forms (c) 2024 Felicitas Pojtinger and contributors
SPDX-License-Identifier: Apache-2.0