hoover-ui
Hoover user interface
10K+
This Repository is part of Liquid Investigations.
Advanced UI for Hoover
Working on the UI needs a recent nodejs (see 'engine' in package.json for the version currently used).
Download the code, install dependencies
git clone https://github.com/liquidinvestigations/hoover-ui.git
cd hoover-ui
npm install
Development server
npm run dev
Production server
npm run build
npm run prod
All servers listen on port 8000.
You can work on this repository by either using some already existing backend service (that you have a login for) or you can run the whole stack locally.
To run UI on localhost set environment variable API_URL=https://hoover.your.server.url and REWRITE_API=true
Also add NODE_TLS_REJECT_UNAUTHORIZED=0 to allow local proxy without SSL.
You can set environment variables in your OS shell or as a part of the startup script in package.json
"scripts": {
...
"dev": "cross-env API_URL=https://hoover.your.server.url REWRITE_API=1 NODE_TLS_REJECT_UNAUTHORIZED=0 next dev -p 8000 -H 0.0.0.0",
...
}
In order to get authorized just copy _oauth2_proxy_hoover_your.server.url cookie using browser's development tools
(Application -> Cookies in Chrome DevTools, Data -> Cookies in Firefox Firebug).
https://your.server.url and go to HooverCookies in development tools, find _oauth2_proxy... cookie under https://your.server.url, copy cookie nameCookies, paste cookie name in http://localhost:8000You can use the npm.docker.sh script instead of the binary npm on your
machine. This will run a docker image as your user and run npm on its
arguments.
Example usage: ./npm.docker.sh test -- -u
You will need to meet the hardware requirements - have at least 16GB RAM free if you only want to run Hoover.
Run Liquid Investigations with mount_local_repos = True. You can change the code in your local repository there.
Upgrading the node version requires a version bump in the following files:
engine)The project uses the following icon libraries:
Any additional library with icons in SVG format can be added, for example Bootstrap Icons
Content type
Image
Digest
sha256:a00f31590…
Size
724.5 MB
Last updated
10 months ago
docker pull liquidinvestigations/hoover-ui