Skip to content

Latest commit

 

History

History

hydrapp-example-vanillajs-forms

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

hydrapp Vanilla JS and Forms

hydrapp Vanilla JS and forms app.

hydrapp CI

Overview

A simple hydrapp Vanilla JS and forms app.

Installation

See INSTALLATION.html.

Reference

Command Line Arguments

All arguments passed to the binary will be forwarded to the browser used to display the frontend.

Environment Variables

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)

Acknowledgements

Contributing

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, run the following:

$ git clone https://github.com/pojntfx/hydrapp.git
$ 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.

License

hydrapp Vanilla JS and Forms (c) 2024 Felicitas Pojtinger and contributors

SPDX-License-Identifier: Apache-2.0