No description
Find a file
Hicham a7a2e794ba
All checks were successful
/ build (push) Successful in 39s
Add CI
2025-09-02 16:57:54 +02:00
.forgejo/workflows Add CI 2025-09-02 16:57:54 +02:00
.vscode feat: first commit 2024-03-21 13:52:19 +01:00
bin feat(api): add fetch API client with headscale@v0.23.0-alpha1 2024-03-23 02:13:29 +01:00
public chore: update logo 2024-03-23 15:35:44 +01:00
src feat(machine): automatically select only user is applicable 2024-09-03 12:38:13 +02:00
.env.example feat: add dockerfile 2024-05-20 19:32:52 +02:00
.eslintrc.ts style: add prettier and eslint 2024-03-22 11:06:37 +01:00
.gitignore feat: add dockerfile 2024-05-20 19:32:52 +02:00
.prettierrc style: add prettier and eslint 2024-03-22 11:06:37 +01:00
Dockerfile feat(docker): add nginx conf for SPA 2024-05-26 14:31:34 +02:00
index.html feat(ui): implement dark mode 2024-05-26 14:32:04 +02:00
nginx.conf Fix typo 2025-09-02 16:53:24 +02:00
package-lock.json Update dependencies 2025-09-02 16:53:00 +02:00
package.json Update dependencies 2025-09-02 16:53:00 +02:00
postcss.config.js feat: add tailwindcss and typescript 2024-03-21 15:18:57 +01:00
README.md Add CI 2025-09-02 16:57:54 +02:00
tailwind.config.js feat(machine): implement machine rename 2024-03-23 15:26:08 +01:00
tsconfig.json chore: integrate vite better into TS project 2024-03-22 17:32:00 +01:00
tsconfig.node.json feat: add tailwindcss and typescript 2024-03-21 15:18:57 +01:00
vite.config.ts chore: integrate vite better into TS project 2024-03-22 17:32:00 +01:00

Headview Headview

A Vue frontend for Headscale

Commitizen friendly Build status

Warning

This is only compatible with Headscale <=0.22.3

Usage

Make sure to authorize CORS requests if you don't deploy on the same origin. See the CORS documentation for more information.

Using Docker

services:
  headscale:
    image: headscale/headscale:0.22.3
    container_name: headscale
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./config:/etc/headscale/
    command: headscale serve
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "timeout", "1", "bash", "-c", "</dev/tcp/127.0.0.1/8080"]
    expose:
      - "8080"

  headview:
    build: https://git.hicham.party/hicham/headview.git
    container_name: headscale-ui
    healthcheck:
        test:
        [
            "CMD",
            "wget",
            "--no-verbose",
            "--tries=1",
            "--spider",
            "http://localhost:80/",
        ]

Static Deployment

Clone and build:

git clone https://git.hicham.party/hicham/headview.git
cd headview
npm install
npm run build

Then deploy the files in the dist folder to your server.