mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2025-02-23 16:44:58 +08:00
commit
c2ce81800a
23
.github/workflows/lint.yml
vendored
Normal file
23
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- production
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14'
|
||||
|
||||
- run: |
|
||||
cd src
|
||||
npm ci
|
||||
npm run lint
|
@ -1,9 +0,0 @@
|
||||
|
||||
# Note: Do not edit this file directly.
|
||||
# Your changes will be overwritten!
|
||||
|
||||
# Server
|
||||
[Interface]
|
||||
PrivateKey = 8JtWwlHvx4ogphP601ABdvNFXbd1noCd+Sn9fg19jWA=
|
||||
Address = 10.8.0.1/24
|
||||
ListenPort = 51820
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"server": {
|
||||
"privateKey": "8JtWwlHvx4ogphP601ABdvNFXbd1noCd+Sn9fg19jWA=",
|
||||
"publicKey": "065+jEZi4CMWbwSCrixByy3D+haZR2e+kjmxMq6h+EY=",
|
||||
"address": "10.8.0.1"
|
||||
},
|
||||
"clients": {}
|
||||
}
|
23
README.md
23
README.md
@ -1,23 +1,26 @@
|
||||
# WireGuard Easy
|
||||
|
||||
[](https://github.com/WeeJeWel/wg-easy/actions/workflows/deploy.yml)
|
||||
[](https://github.com/WeeJeWel/wg-easy/actions/workflows/lint.yml)
|
||||
[](https://hub.docker.com/r/weejewel/wg-easy)
|
||||
[](https://hub.docker.com/r/weejewel/wg-easy)
|
||||
[](https://github.com/sponsors/WeeJeWel)
|
||||
|
||||
You have found the easiest way to install & manage WireGuard on any Linux host!
|
||||
|
||||
<p align="center">
|
||||
<img src="./assets/screenshot.png" width="702" height="510" />
|
||||
<img src="./assets/screenshot.png" width="702" />
|
||||
</p>
|
||||
|
||||
## Features
|
||||
|
||||
* All-in-one: WireGuard + Web UI
|
||||
* A beautiful management Web UI
|
||||
* Easy installation
|
||||
* List, create, delete, enable & disable clients
|
||||
* Show a client's QR code
|
||||
* Download a client's configuration file
|
||||
* Statistics for which clients are connected
|
||||
* Gravatar support 😏
|
||||
* All-in-one: WireGuard + Web UI.
|
||||
* Easy installation, simple to use.
|
||||
* List, create, delete, enable & disable clients.
|
||||
* Show a client's QR code.
|
||||
* Download a client's configuration file.
|
||||
* Statistics for which clients are connected.
|
||||
* Gravatar support.
|
||||
|
||||
## Installation
|
||||
|
||||
@ -52,7 +55,7 @@ Optionally, set a Web UI password by uncommenting `PASSWORD=foobar123` and chang
|
||||
Finally, run WireGuard. It will automatically start after a reboot.
|
||||
|
||||
```bash
|
||||
$ docker-compose up
|
||||
$ docker-compose up --detach
|
||||
```
|
||||
|
||||
The Web UI will be available on `http://0.0.0.0:51821`. You can create new clients there.
|
||||
|
@ -15,7 +15,7 @@ services:
|
||||
image: weejewel/wg-easy
|
||||
container_name: wg-easy
|
||||
volumes:
|
||||
- .wg-easy:/etc/wireguard
|
||||
- .:/etc/wireguard
|
||||
ports:
|
||||
- "51820:51820/udp"
|
||||
- "51821:51821/tcp"
|
||||
|
@ -1,5 +1,8 @@
|
||||
{
|
||||
"extends": "athom",
|
||||
"ignorePatterns": [
|
||||
"**/vendor/*.js"
|
||||
],
|
||||
"rules": {
|
||||
"consistent-return": "off",
|
||||
"no-shadow": "off"
|
||||
|
@ -5,7 +5,8 @@
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"serve": "DEBUG=Server,WireGuard WG_HOST=0.0.0.0 WG_PATH=../config/ nodemon server.js",
|
||||
"serve-with-password": "PASSWORD=wg npm run serve"
|
||||
"serve-with-password": "PASSWORD=wg npm run serve",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"author": "Emile Nijssen",
|
||||
"license": "GPL",
|
||||
|
Loading…
x
Reference in New Issue
Block a user