MCPcopy Index your code
hub / github.com/PasarGuard/node

github.com/PasarGuard/node @v0.5.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.2 ↗ · + Follow
941 symbols 2,851 edges 88 files 128 documented · 14% updated todayv0.5.2 · 2026-06-14★ 2492 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PasarGuard-Node

<a href="#">
    <img src="https://img.shields.io/github/actions/workflow/status/PasarGuard/node/docker-build.yml?style=flat-square" />
</a>
<a href="https://hub.docker.com/r/pasarguard/node" target="_blank">
    <img src="https://img.shields.io/docker/pulls/pasarguard/node?style=flat-square&logo=docker" />
</a>
<a href="#">
    <img src="https://img.shields.io/github/license/PasarGuard/node?style=flat-square" />
</a>
<a href="#">
    <img src="https://img.shields.io/github/stars/PasarGuard/node?style=social" />
</a>

Documentation

You can find a full guide in docs https://docs.pasarguard.org/en/node/

One-Click Installation (Recommended)

The easiest way to install PasarGuard Node is using our automated installation script:

sudo bash -c "$(curl -sL https://github.com/PasarGuard/scripts/raw/main/pg-node.sh)" @ install

Donation

You can help PasarGuard team with your donations, Click Here

Contributors

We ❤️‍🔥 contributors! If you'd like to contribute, please check out our Contributing Guidelines and feel free to submit a pull request or open an issue. We also welcome you to join our Telegram group for either support or contributing guidance.

Check open issues to help the progress of this project.

Stargazers over time

Stargazers over time

Thanks to the all contributors who have helped improve PasarGuard Node:

Made with contrib.rocks

Extension points exported contracts — how you extend this code

Backend (Interface)
(no doc) [2 implementers]
backend/backend.go
Service (Interface)
(no doc) [1 implementers]
controller/controller.go
Account (Interface)
(no doc)
backend/xray/api/account.go

Core symbols most depended-on inside this repo

GenerateKeyPair
called by 37
backend/wireguard/config.go
GetStats
called by 36
backend/backend.go
GetEmail
called by 34
backend/xray/api/account.go
Close
called by 29
backend/wireguard/manager.go
New
called by 28
pkg/stats/tracker.go
Backend
called by 22
controller/controller.go
NewConfig
called by 19
backend/wireguard/config.go
GetByKey
called by 16
backend/wireguard/peer_store.go

Shape

Method 503
Function 345
Struct 75
Interface 8
TypeAlias 8
FuncType 2

Languages

Go100%

Modules by API surface

common/service.pb.go231 symbols
common/service_grpc.pb.go76 symbols
backend/wireguard/manager.go34 symbols
backend/wireguard/integration_e2e_test.go31 symbols
backend/xray/api/account.go28 symbols
backend/wireguard/host_routing_linux.go28 symbols
backend/xray/config.go26 symbols
backend/wireguard/manager_test.go20 symbols
backend/xray/startup_diagnostics.go17 symbols
backend/backend.go17 symbols
pkg/stats/tracker_test.go16 symbols
controller/rpc/rpc_test.go16 symbols

For agents

$ claude mcp add node \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact