Giter Site home page Giter Site logo

headscale-ui's Introduction

HeadscaleUi

main

This is a static headscale admin ui, no backend enviroment required

Thanks

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

ScreenShots

image

image

image

Pre Requirement

  1. You need to generate a apikey use headscale-cli

on your headscale server run: headscale apikeys create -e 9999d

  1. You need a static web server space, or use docker
  2. (optional) If you deploy it on other domain, you need set headscale api's cors.

Deploy Guide

A: use static web space

emmm.... I don't know how to describe this action.... it is really very easy...

B: use docker (k8s also, it's a nginx static webserver, no other required)

  1. run command on your docker enviroment

docker run -d --name headscale-ui -p 8888:80 simcu/headscale-ui

  1. open http://127.0.0.1:8888/manager/

  2. (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.

  3. if you deploy this standalone, on login page click "Change Server" then, input server url.

  4. input apikey , click "Login"

C: use caddy

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
}

Notice

  1. ServerUrl and ApiKey are saved in localstorage in plain text.
  2. you will only need login once.if apikey is invalid , system will require login again.

headscale-ui's People

Contributors

chowdpa02k avatar nzlov avatar xrain0610 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

headscale-ui's Issues

Changes in LastSeen / Online fields in the Headscale API

Hey!

Headscale dev here. Just a small heads up.

Since 0.23.0-alpha8, LastSeen is only updated when the node disconnects. This means the Online is now the indicator if the node is connected to headscale or not.

Of course, once a node is offline you can display the LastSeen data.

Rename Machine into Node

Hi there,

Headscale maintainer here :)

FYI, we are renaming Machine into Node - to better fit the internal naming of Tailscale. This might impact this project.

You can track the status of the change here juanfont/headscale#1553

Install ui for debian

Good morning,

I would like to install headscale-ui on a debian server but there is no indication on the installation to follow. Has anyone already done this installation or can help me with it?

Thanks

Issue connecting to headscale server

I might be making a mistake somewhere because I'm having trouble figuring out where to begin troubleshooting. Initially, I successfully set up a headscale server, and everything appears to be functioning smoothly as I have established connections with nodes without any problems.

However, my current challenge involves setting up headscale-ui. I generated an API key, but when I enter the server address (http://headscale.mydomain.tld) and provide the key, I encounter an error.

[object ProgressEvent]

The firewall is disabled and I'm just using a default Apache server with a static website defined on port 80

Aside from generating an API key, do I need to do anything else with the headscale server to allow access ?

If anyone can help, it would be greatly appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.