ocom
A unified TUI for managing network/privacy tools: OpenVPN, SpoofDPI/GoodbyeDPI, and Cloudflare WARP.
Cross-platform: macOS, Linux, and Windows.
Features
- OpenVPN: Connect/disconnect using
.ovpnconfig files (sudo on Unix, Administrator on Windows) - SpoofDPI (Unix) / GoodbyeDPI (Windows): DPI bypass tools
- Cloudflare WARP: Toggle WARP VPN connection
- Tailscale: Toggle mesh VPN connection (
tailscale up/down) - Real-time logs: Live output from all tools in a dedicated panel
- Install guidance: Tools not installed show an Install button that opens documentation
- Conflict resolution: Automatically stops conflicting tools (e.g., WARP stops when starting OpenVPN)
- Extensible: Easy to add new tools
Installation
ocom is a standalone end-user tool. Install it into an isolated environment
with your preferred installer:
uv tool install ocom
pipx install ocom
Or run it without installing:
uvx ocom
On macOS/Linux, install it from the Homebrew tap:
brew install hasansezertasan/tap/ocom
On Windows, install it from the Scoop bucket:
scoop bucket add hasansezertasan https://github.com/hasansezertasan/scoop-bucket
scoop install ocom
Or install from source — see the installation docs.
Usage
ocom
Keyboard Shortcuts
| Key | Action |
|---|---|
q |
Quit |
r |
Refresh status |
c |
Clear logs |
Tab |
Navigate between tools |
Enter |
Activate button |
Esc |
Close modal |
Configuration
ocom reads a TOML config file at ~/.config/ocom/config.toml (the same path on
Linux and macOS). If the file doesn't exist, the defaults below are used.
[general]
refresh_interval = 2
auto_connect = false
[openvpn]
enabled = true
config_dirs = ["~/.openvpn", "~/vpn-configs"]
default_config = ""
[spoofdpi]
enabled = true
dns_addr = "8.8.8.8:53"
dns_mode = "https"
port = 8080
system_proxy = false
[warp]
enabled = true
mode = "warp"
[tailscale]
enabled = true
[goodbyedpi] # Windows only
enabled = true
mode = 9
block_quic = true
Options
[general]
| Option | Type | Default | Description |
|---|---|---|---|
refresh_interval |
int | 2 |
Status check interval in seconds (min: 1) |
auto_connect |
bool | false |
Auto-connect to OpenVPN using default_config on startup |
[openvpn]
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool | true |
Show OpenVPN in the TUI |
config_dirs |
list | ["~/.openvpn", "~/vpn-configs"] |
Directories scanned for .ovpn files |
default_config |
string | "" |
.ovpn file used for auto-connect |
[spoofdpi] (Unix)
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool | true |
Show SpoofDPI in the TUI |
dns_addr |
string | "8.8.8.8:53" |
DNS server address (ip:port) |
dns_mode |
string | "https" |
One of udp, https, system |
port |
int | 8080 |
Local proxy port (1–65535) |
system_proxy |
bool | false |
Set system proxy on start |
[warp]
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool | true |
Show Cloudflare WARP in the TUI |
mode |
string | "warp" |
One of warp, doh, proxy |
[tailscale]
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool | true |
Show Tailscale in the TUI |
Mesh mode only: ocom runs tailscale up/down and reads tailscale status --json.
It does not configure an exit node, so Tailscale coexists with OpenVPN/WARP rather
than conflicting. On Linux, controlling Tailscale without sudo requires setting the
operator once: sudo tailscale set --operator=$USER.
[goodbyedpi] (Windows)
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
bool | true |
Show GoodbyeDPI in the TUI |
mode |
int | 9 |
Preset mode (1–9), higher = more aggressive |
block_quic |
bool | true |
Block QUIC/HTTP/3 |
GoodbyeDPI must be run with Administrator privileges; ocom checks for them and reports a clear error if they are missing.
Auto-connect
When auto_connect = true, ocom attempts to connect to OpenVPN on startup using
openvpn.default_config (which must point to a valid .ovpn file). On Unix a sudo
password prompt appears immediately; on Windows the connection starts automatically
(run as Administrator).
[general]
auto_connect = true
[openvpn]
default_config = "~/.openvpn/my-server.ovpn"
Configuration is validated with Pydantic, so out-of-range values (e.g. an invalid
dns_mode or a port outside 1–65535) are rejected at load time. Settings come from
the TOML file only — environment variables are not read.
Requirements
- Python 3.14+
- OpenVPN (for OpenVPN support)
- warp-cli (for WARP support)
- spoofdpi (Unix) or goodbyedpi (Windows) for DPI bypass
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ocom-0.1.1.tar.gz.
File metadata
- Download URL: ocom-0.1.1.tar.gz
- Upload date:
- Size: 51.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b1ee93340e3a5174f9bc40cec5e10221eb3f5d3c8023c5c4c38e47729be1026
|
|
| MD5 |
6d1d9d4961057576c238a618d435176c
|
|
| BLAKE2b-256 |
d83d7b36f6b126b77b72706f8f1086172c534f12c0426caf69756f61c31ca701
|
Provenance
The following attestation bundles were made for ocom-0.1.1.tar.gz:
Publisher:
release.yml on hasansezertasan/ocom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ocom-0.1.1.tar.gz -
Subject digest:
6b1ee93340e3a5174f9bc40cec5e10221eb3f5d3c8023c5c4c38e47729be1026 - Sigstore transparency entry: 2347611951
- Sigstore integration time:
-
Permalink:
hasansezertasan/ocom@105fa2ccd860e7592f054a181f9d12be6d3f7c33 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hasansezertasan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@105fa2ccd860e7592f054a181f9d12be6d3f7c33 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ocom-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ocom-0.1.1-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
568ecbbf98ff80f1eb169b8c8f1aefef14673b702487d97d638acb15e6ef7887
|
|
| MD5 |
1e0549cc152e7f30a549d7f2cede429c
|
|
| BLAKE2b-256 |
b77b8a58cf72efd76df9b77744ecb032ae6ed68912e011591067dfb708570a1b
|
Provenance
The following attestation bundles were made for ocom-0.1.1-py3-none-any.whl:
Publisher:
release.yml on hasansezertasan/ocom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ocom-0.1.1-py3-none-any.whl -
Subject digest:
568ecbbf98ff80f1eb169b8c8f1aefef14673b702487d97d638acb15e6ef7887 - Sigstore transparency entry: 2347612577
- Sigstore integration time:
-
Permalink:
hasansezertasan/ocom@105fa2ccd860e7592f054a181f9d12be6d3f7c33 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hasansezertasan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@105fa2ccd860e7592f054a181f9d12be6d3f7c33 -
Trigger Event:
push
-
Statement type: