doc: update README.md

This commit is contained in:
tux
2025-06-24 20:17:03 +05:30
parent 18d9117236
commit b37940f636

View File

@ -11,19 +11,34 @@
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/tuxdotrs/trok"> <img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/tuxdotrs/trok">
</p> </p>
### Table of Contents ## Table of Contents
- [Features](#features)
- [Installation](#installation) - [Installation](#installation)
- [Usage](#usage) - [Usage](#usage)
- [Selfhost](#selfhost) - [Selfhost](#selfhost)
### Installation ## Features
- [x] TCP Tunneling
- [ ] UDP Tunneling
- [x] HTTP Tunneling
- [ ] HTTPS Tunneling
## Installation
```sh ```sh
curl -fsSL https://trok.cloud/install.sh | sh curl -fsSL https://trok.cloud/install.sh | sh
``` ```
#### Nix Flake #### Nix
```nix
# If you want to quickly test trok
nix run github:tuxdotrs/trok
```
#### Flake
```nix ```nix
# Add to your flake inputs # Add to your flake inputs
@ -36,12 +51,12 @@ trok = {
environment.systemPackages = [ inputs.trok.packages.${system}.default ]; environment.systemPackages = [ inputs.trok.packages.${system}.default ];
``` ```
### Usage ## Usage
```sh ```sh
trok tcp PORT_NUMBER trok tcp PORT_NUMBER
``` ```
### Selfhost ## Selfhost
TODO TODO