Skip to content

Commit 071f609

Browse files
committed
docs: Use new icon and README conventions, add library use instructions
Signed-off-by: Felicitas Pojtinger <[email protected]>
1 parent 8404877 commit 071f609

File tree

12 files changed

+323
-830
lines changed

12 files changed

+323
-830
lines changed

.vscode/launch.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
# weron
1+
<img alt="Project icon" style="vertical-align: middle;" src="./docs/icon.svg" width="128" height="128" align="left">
22

3-
![Logo](./docs/logo-readme.png)
3+
# weron
44

55
Overlay networks based on WebRTC.
66

7-
⚠️ weron has not yet been audited! While we try to make weron as secure as possible, it has not yet undergone a formal security audit by a third party. Please keep this in mind if you use it for security-critical applications. ⚠️
8-
97
[![hydrun CI](https://github.com/pojntfx/weron/actions/workflows/hydrun.yaml/badge.svg)](https://github.com/pojntfx/weron/actions/workflows/hydrun.yaml)
108
[![Docker CI](https://github.com/pojntfx/weron/actions/workflows/docker.yaml/badge.svg)](https://github.com/pojntfx/weron/actions/workflows/docker.yaml)
119
![Go Version](https://img.shields.io/badge/go%20version-%3E=1.18-61CFDD.svg)
1210
[![Go Reference](https://pkg.go.dev/badge/github.com/pojntfx/weron.svg)](https://pkg.go.dev/github.com/pojntfx/weron)
11+
[![TypeScript docs](https://img.shields.io/badge/TypeScript%20-docs-blue.svg)](https://pojntfx.github.io/weron)
1312
[![Matrix](https://img.shields.io/matrix/weron:matrix.org)](https://matrix.to/#/#weron:matrix.org?via=matrix.org)
14-
[![Binary Downloads](https://img.shields.io/github/downloads/pojntfx/weron/total?label=binary%20downloads)](https://github.com/pojntfx/weron/releases)
1513

1614
## Overview
1715

1816
weron provides lean, fast & secure overlay networks based on WebRTC.
1917

20-
It enables you too ...
18+
It enables you to:
2119

2220
- **Access nodes behind NAT**: Because weron uses WebRTC to establish connections between nodes, it can easily traverse corporate firewalls and NATs using STUN, or even use a TURN server to tunnel traffic. This can be very useful to for example SSH into your homelab without forwarding any ports on your router.
2321
- **Secure your home network**: Due to the relatively low overhead of WebRTC in low-latency networks, weron can be used to secure traffic between nodes in a LAN without a significant performance hit.
@@ -27,6 +25,14 @@ It enables you too ...
2725

2826
## Installation
2927

28+
### Library
29+
30+
You can add weron to your Go project by running the following:
31+
32+
```shell
33+
$ go get github.com/pojntfx/weron/...@latest
34+
```
35+
3036
### Containerized
3137

3238
You can get the OCI image like so:
@@ -62,7 +68,7 @@ PS> Invoke-WebRequest https://github.com/pojntfx/weron/releases/latest/download/
6268

6369
You can find binaries for more operating systems and architectures on [GitHub releases](https://github.com/pojntfx/weron/releases).
6470

65-
## Usage
71+
## Tutorial
6672

6773
> TL;DR: Join a layer 3 (IP) overlay network on the hosted signaling server with `sudo weron vpn ip --community mycommunity --password mypassword --key mykey --ips 2001:db8::1/32,192.0.2.1/24` and a layer 2 (Ethernet) overlay network with `sudo weron vpn ethernet --community mycommunity --password mypassword --key mykey`
6874
@@ -392,6 +398,10 @@ You can either use the [minimal adapter](https://pkg.go.dev/github.com/pojntfx/w
392398

393399
## Reference
394400

401+
### Library API
402+
403+
- [![Go Reference](https://pkg.go.dev/badge/github.com/pojntfx/weron.svg)](https://pkg.go.dev/github.com/pojntfx/weron)
404+
395405
### Command Line Arguments
396406

397407
```shell
@@ -636,6 +646,7 @@ All command line arguments described above can also be set using environment var
636646
637647
## Acknowledgements
638648
649+
- [Font Awesome](https://fontawesome.com/) provides the assets used for the icon and logo.
639650
- [songgao/water](https://github.com/songgao/water) provides the TUN/TAP device library for weron.
640651
- [pion/webrtc](https://github.com/pion/webrtc) provides the WebRTC functionality.
641652
@@ -650,19 +661,17 @@ $ git clone https://github.com/pojntfx/weron.git
650661
$ cd weron
651662
$ make depend
652663
$ make && sudo make install
653-
$ weron signal # Starts the signaling server
664+
$ weron signaler # Starts the signaling server
654665
# In another terminal
655666
$ weron chat --raddr ws://localhost:1337 --community mycommunity --password mypassword --key mykey --names user1,user2,user3 --channels one,two,three
656667
# In another terminal
657668
$ weron chat --raddr ws://localhost:1337 --community mycommunity --password mypassword --key mykey --names user1,user2,user3 --channels one,two,three
658669
```
659670
660-
Of course, you can also contribute to the utilities and VPNs like this.
661-
662671
Have any questions or need help? Chat with us [on Matrix](https://matrix.to/#/#weron:matrix.org?via=matrix.org)!
663672
664673
## License
665674
666-
weron (c) 2023 Felicitas Pojtinger and contributors
675+
weron (c) 2024 Felicitas Pojtinger and contributors
667676
668677
SPDX-License-Identifier: AGPL-3.0

docs/icon-dark.png

-25.8 KB
Binary file not shown.

docs/icon-dark.svg

Lines changed: 0 additions & 139 deletions
This file was deleted.

docs/icon-light.png

-31.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)