Docs

Command-Line Reference

The TranNAP client is a single self-contained binary named trannap (or trannap.exe on Windows). It exposes a small command-line interface (CLI) built on top of Cobra . This page documents every command and flag. On Windows you run the binary as trannap.exe. On macOS and Linux it is ./trannap (after chmod +x). The examples below use trannap for brevity. Overview trannap [command] Running trannap without a subcommand (or with trannap help) prints the list of available commands:

Read more
January 1, 0001

Keep TranNAP Running

While TranNAP can be run directly with its command line interface, there are numerous advantages to using a service manager to keep it running, such as ensuring it starts automatically when the system reboots and to capture stdout/stderr logs. We offer two ways to achieve this goal, namely automatic (recommendation) and manual. Automatic This is the recommended method. You only need to run a single command, and trannap takes care of the rest — registering itself as a system service and starting it. It supports mainstream operating systems: Windows, macOS, and Linux. If you are on a Linux distribution that does not ship systemctl (for example, an unusual init setup), you may need to set things up manually .

Read more
January 1, 0001

Getting Started

Suppose you have a web page running on your home computer at http://127.0.0.1, and you now want to access it from outside your home network.

Read more
January 1, 0001