Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
subconverter-ng
command
Command subconverter-ng is a Go reimplementation of subconverter focused on modern proxy protocols.
|
Command subconverter-ng is a Go reimplementation of subconverter focused on modern proxy protocols. |
|
internal
|
|
|
config
Package config holds the application-level configuration: where the server listens and the default fetch (access) settings.
|
Package config holds the application-level configuration: where the server listens and the default fetch (access) settings. |
|
convert
Package convert orchestrates a full conversion: fetch subscription(s) and the external config, parse nodes, then render the target output.
|
Package convert orchestrates a full conversion: fetch subscription(s) and the external config, parse nodes, then render the target output. |
|
emoji
Package emoji implements subconverter-compatible emoji handling for node names.
|
Package emoji implements subconverter-compatible emoji handling for node names. |
|
extconfig
Package extconfig parses subconverter's INI-style external config (the file referenced by the &config= URL parameter).
|
Package extconfig parses subconverter's INI-style external config (the file referenced by the &config= URL parameter). |
|
fetch
Package fetch retrieves remote resources (subscriptions, rulesets, base configs) with three concerns airports impose on us:
|
Package fetch retrieves remote resources (subscriptions, rulesets, base configs) with three concerns airports impose on us: |
|
generator
Package generator renders parsed nodes plus an external config into a target client configuration.
|
Package generator renders parsed nodes plus an external config into a target client configuration. |
|
parser
Package parser turns raw subscription payloads into proxy.Proxy values.
|
Package parser turns raw subscription payloads into proxy.Proxy values. |
|
proxy
Package proxy defines the intermediate proxy-node model used across the converter.
|
Package proxy defines the intermediate proxy-node model used across the converter. |
|
ratelimit
Package ratelimit provides a thread-safe, per-client token-bucket limiter with no external dependencies.
|
Package ratelimit provides a thread-safe, per-client token-bucket limiter with no external dependencies. |
|
server
Package server exposes the subconverter-compatible HTTP API.
|
Package server exposes the subconverter-compatible HTTP API. |
|
web
Package web serves the embedded single-page web UI that helps users build a /sub?...
|
Package web serves the embedded single-page web UI that helps users build a /sub?... |
Click to show internal directories.
Click to hide internal directories.