MCPcopy Index your code
hub / github.com/ASL-19/beepassvpn-client

github.com/ASL-19/beepassvpn-client @1.7.0-80

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.7.0-80 ↗ · + Follow
1,193 symbols 2,987 edges 281 files 104 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

(This is the documentation for Outline. You can find BeePass-specific documentation in src/beepass-ui.)

Outline Client

Build and Test Mattermost Reddit

Test coverage currently only tracks the Apple Libraries and core web view code:

codecov

The Outline Client is a cross-platform VPN or proxy client for Windows, macOS, iOS, Android, and ChromeOS. The Outline Client is designed for use with the Outline Server software, but it is fully compatible with any Shadowsocks server.

The client's user interface is implemented in Polymer 2.0. Platform support is provided by Cordova and Electron, with additional native components in this repository.

To join our Outline Community, sign up for the IFF Mattermost.

Requirements for all builds

All builds require Node 18 (lts/hydrogen), in addition to other per-platform requirements.

💡 NOTE: if you have nvm installed, run nvm use to switch to the correct node version!

After cloning this repo, install all node dependencies:

npm install

Building the shared web app

Outline clients share the same web app across all platforms. This code is located in the src/www directory. If you are making changes to the shared web app and do not need to test platform-specific functionality, you can test in a desktop browser by running:

npm run action src/www/start

The latter command will open a browser instance running the app. Browser platform development will use fake servers to test successful and unsuccessful connections.

The app logic is located in src/www/app. UI components are located in src/www/ui_components. If you want to work specifically on an individual UI element, try the storybook!:

npm run action src/www/storybook

💡 NOTE: the src part of the path is optional. npm run action www/start resolves to the same script.

💡 NOTE: every script in this repository can be run with npm run action - for a CLI-like experience, add something like

sh alias outline="npm run action"

(you can call it whatever you like)

to your shell, then try outline www/start!

Life of a Packet

How does the Outline Client work?

Accepting a server invite

Looking for instructions on how to accept a server invite?

Platform-specific development

Each platform is handled differently:

  1. Developing for Apple (MacOS and iOS)
  2. Developing for Android
  3. Developing for Electron (Windows and Linux)

Error reporting

To enable error reporting through Sentry for local builds, run:

export SENTRY_DSN=[Sentry development API key]
[platform-specific build command]

Release builds on CI are configured with a production Sentry API key.

Support

For support and to contact us, see: https://support.getoutline.org.

Extension points exported contracts — how you extend this code

OutlineEvent (Interface)
(no doc) [7 implementers]
src/www/model/events.ts
VpnTunnel (Interface)
(no doc) [2 implementers]
src/electron/vpn_tunnel.ts
ImportMetaEnv (Interface)
(no doc)
src/beepass-ui/beepassReactEnv.d.ts
NativeNetworking (Interface)
(no doc) [9 implementers]
src/www/app/net.ts
RoutingServiceRequest (Interface)
(no doc)
src/electron/routing_service.ts
ImportMeta (Interface)
(no doc)
src/beepass-ui/beepassReactEnv.d.ts
Tunnel (Interface)
(no doc) [6 implementers]
src/www/app/tunnel.ts
RoutingServiceResponse (Interface)
(no doc)
src/electron/routing_service.ts

Core symbols most depended-on inside this repo

info
called by 111
tools/outline_proxy_controller/logger.cpp
error
called by 87
tools/outline_proxy_controller/logger.cpp
warn
called by 54
tools/outline_proxy_controller/logger.cpp
log
called by 45
tools/outline_proxy_controller/logger.cpp
debug
called by 31
tools/outline_proxy_controller/logger.cpp
add
called by 29
src/www/model/server.ts
subscribe
called by 26
src/www/model/events.ts
serversStorageV0ConfigToAccessKey
called by 25
src/www/app/outline_server_repository/index.ts

Shape

Method 666
Function 256
Class 206
Interface 37
Enum 27
Struct 1

Languages

TypeScript59%
Java27%
C++8%
C#4%
Python1%
Go1%

Modules by API surface

src/www/model/errors.ts60 symbols
src/www/app/app.ts47 symbols
src/cordova/android/OutlineAndroidLib/outline/src/main/java/org/outline/vpn/VpnTunnelService.java40 symbols
tools/OutlineService/OutlineService/OutlineService.cs39 symbols
tools/outline_proxy_controller/outline_proxy_controller.cpp35 symbols
src/cordova/plugin/android/java/org/outline/vpn/VpnTunnelService.java34 symbols
cordova-plugin-outline/android/java/org/outline/vpn/VpnTunnelService.java34 symbols
src/www/app/cordova_main.ts33 symbols
src/www/ui_components/app-root.js28 symbols
src/www/model/events.ts28 symbols
src/www/app/outline_server_repository/index.ts28 symbols
src/cordova/plugin/android/java/org/outline/OutlinePlugin.java28 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page