0.0.4 • Published 2 months ago

makaparser v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Build GitHub GitHub issues GitHub closed pull requests Lines of code Size

"Buy Me A Coffee"

Core functionalities:

  1. Conversion among various formats.
  2. Support for parsing QX rewrites into Surge Shadowrocket Loon Stash

  3. Support parsing Surge modules into Loon Stash

  4. Support parsing Loon plugins into Surge Shadowrocket Stash

  5. Supports QX & Surge & Loon & Shadowrocket & Clash rule set parsing, applicable app: Surge Shadowrocket Stash Loon

  6. Support converting QX scripts into Surge scripts (compatible)

  7. Parameter argument can be modified

  8. Supports one-click import of Shadowrocket / Loon / Stash

  9. Advanced features OR modify any text

  10. If some modules require adding parameters before they can be used but you only want to use the remote link and do not want to pull the local module, you can directly use plain text -> advanced operations and parameter modification functions to modify any content or argument parameters of the remote link without copying. to local module

The following descriptions of features may not be updated in real-time. Please refer to the actual available features for accurate information.

1. Subscription Conversion

Supported Input Formats

  • URI(SS, SSR, VMess, VLESS, Trojan, Hysteria, Hysteria 2, TUIC v5)
  • Clash Proxies YAML
  • Clash Proxy JSON(single line)
  • QX (SS, SSR, VMess, Trojan, HTTP, SOCKS5, VLESS)
  • Loon (SS, SSR, VMess, Trojan, HTTP, SOCKS5, WireGuard, VLESS, Hysteria 2)
  • Surge (SS, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, TUIC, Snell, Hysteria 2, SSH(Password authentication only), SSR(external, only for macOS), External Proxy Program(only for macOS), WireGuard(Surge to Surge))
  • Surfboard (SS, VMess, Trojan, HTTP, SOCKS5, SOCKS5-TLS, WireGuard(Surfboard to Surfboard))
  • Shadowrocket (SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard, Hysteria, Hysteria 2, TUIC)
  • Clash.Meta (SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard, Hysteria, Hysteria 2, TUIC)
  • Stash (SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard, Hysteria, TUIC)
  • Clash (SS, SSR, VMess, Trojan, HTTP, SOCKS5, Snell, VLESS, WireGuard)

Supported Target Platforms

  • Plain JSON
  • Stash
  • Clash.Meta(mihomo)
  • Clash
  • Surfboard
  • Surge
  • Loon
  • Shadowrocket
  • QX
  • sing-box
  • V2Ray
  • V2Ray URI

2. Subscription Formatting

Filtering

  • Regex filter
  • Discard regex filter
  • Region filter
  • Type filter
  • Useless proxies filter
  • Script filter

Proxy Operations

  • Set property operator: set some proxy properties such as udp,tfo, skip-cert-verify etc.
  • Flag operator: add flags or remove flags for proxies.
  • Sort operator: sort proxies by name.
  • Regex sort operator: sort proxies by keywords (fallback to normal sort).
  • Regex rename operator: replace by regex in proxy names.
  • Regex delete operator: delete by regex in proxy names.
  • Script operator: modify proxy by script.
  • Resolve Domain Operator: resolve the domain of nodes to an IP address.

Development

Install node dependencies:

pnpm i

Run the backend server on http://localhost:3000

pnpm start

or

esbuild(experimental)

pnpm run --parallel "/^dev:.*/"