chore: add license and readme again
This commit is contained in:
parent
1cf9901d23
commit
1a7fd1fad2
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2024 Aarnav Tale
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
46
README.md
46
README.md
@ -1,36 +1,22 @@
|
|||||||
# Welcome to Remix + Vite!
|
# Headplane
|
||||||
|
> An advanced UI for [juanfont/headscale](https://github.com/juanfont/headscale)
|
||||||
|
|
||||||
📖 See the [Remix docs](https://remix.run/docs) and the [Remix Vite docs](https://remix.run/docs/en/main/future/vite) for details on supported features.
|
Headscale is a self-hosted version of the Tailscale control server, however, it currently lacks a first-party web UI.
|
||||||
|
This is a relatively tiny Remix app that aims to provide a usable GUI for the Headscale server.
|
||||||
|
It's still very early in it's development, however these are some of the features that are planned.
|
||||||
|
|
||||||
## Development
|
- [ ] Editable tags, machine names, users, etc
|
||||||
|
- [ ] ACL control through Docker integration
|
||||||
Run the Vite dev server:
|
- [x] OIDC based login for the web UI
|
||||||
|
- [x] Automated API key regeneration
|
||||||
```shellscript
|
- [ ] Editable headscale configuration
|
||||||
npm run dev
|
|
||||||
```
|
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
Instructions for deploying this will come soon. It will utilize Docker to support advanced features.
|
||||||
|
If you do want to fight with the environment variables right now, the image is `ghcr.io/tale/headplane:latest`
|
||||||
|
|
||||||
First, build your app for production:
|
## Contributing
|
||||||
|
If you would like to contribute, please install a relatively modern version of Node.js and PNPM.
|
||||||
|
Clone this repository, run `pnpm install`, and then run `pnpm dev` to start the development server.
|
||||||
|
|
||||||
```sh
|
> Copyright (c) 2024 Aarnav Tale
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
Then run the app in production mode:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm start
|
|
||||||
```
|
|
||||||
|
|
||||||
Now you'll need to pick a host to deploy it to.
|
|
||||||
|
|
||||||
### DIY
|
|
||||||
|
|
||||||
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
|
|
||||||
|
|
||||||
Make sure to deploy the output of `npm run build`
|
|
||||||
|
|
||||||
- `build/server`
|
|
||||||
- `build/client`
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user