This is a static headscale admin ui, no backend enviroment required
The current release is backward compatible with headscale v0.22 as well as compatible with the future headscale v0.23;
Headscale - https://github.com/juanfont/headscale version: v0.21.0
UI - https://github.com/NG-ZORRO/ng-zorro-antd version: v15.0.3
BaseFramework - https://angular.io/ version: 15.2.4
- You need to generate a apikey use headscale-cli
on your headscale server run: headscale apikeys create -e 9999d
- You need a static web server space, or use docker
- (optional) If you deploy it on other domain, you need set headscale api's cors.
emmm.... I don't know how to describe this action.... it is really very easy...
- run command on your docker enviroment
docker run -d --name headscale-ui -p 8888:80 simcu/headscale-ui
(optional) if run it not on same domain with headscale,the system will error, don't warried, only click "Exit" on the top menu, you will redirect to login page.
if you deploy this standalone, on login page click "Change Server" then, input server url.
input apikey , click "Login"
domain.com {
@ui {
path_regexp (/$)|(\.)
}
handle @ui {
root * /www/headscale-ui
try_files {path} /index.html
file_server
}
reverse_proxy 127.0.0.1:7070
}
- ServerUrl and ApiKey are saved in localstorage in plain text.
- you will only need login once.if apikey is invalid , system will require login again.


