Skip to content

TwilgateLabs/inhive-core

 
 

Repository files navigation

InHive Logo

InHive Core

The Ultimate Universal Proxy Platform
A powerful, high-performance core for the InHive ecosystem, supporting all major protocols and platforms.

Website Telegram License Version


Quick Setup

Install inhive-core on any Linux platform (Ubuntu, Debian, CentOS, OpenWrt, and more) with a single command:

bash <(curl -Ls https://raw.githubusercontent.com/TwilgateLabs/inhive-core/main/installer.sh)

Note: This script automatically detects your OS and architecture, installs the appropriate binary, and configures the service manager (Systemd or Procd).


Key Features

  • Multi-Protocol Support: VLESS (Reality / XHTTP / XTLS-Vision), VMess, Trojan, Shadowsocks, ShadowTLS, WireGuard, AmneziaWG, Hysteria2, TUIC, SOCKS, NaiveProxy, Mieru, DNSTT, Tor, and more.
  • UTProto (FakeTLS): Custom MTProto-derived transport that mimics TLS handshake, invisible to DPI — developed in-house.
  • Cross-Platform: Powering InHive on Android, macOS, Linux, Windows, and iOS.
  • High Performance: Optimized core built on top of sing-box for maximum speed and stability.
  • Router Ready: Native support for OpenWrt and other router platforms.

Installation Methods

Docker

docker pull ghcr.io/TwilgateLabs/inhive-core:latest

# Or using Docker Compose
git clone https://github.com/TwilgateLabs/inhive-core
cd inhive-core/platform/docker
docker-compose up -d

OpenWrt

Install via the universal installer script — it auto-detects OpenWrt and configures procd service.


Roadmap

Done

  • Fork and rebrand from Hiddify Core
  • CI/CD pipeline with GitHub Actions
  • Full code audit and dead code cleanup (~5400 lines of dead code removed)
  • Critical bug fixes (tunnel service, config builder, service manager)
  • Dependency updates (Go 1.26, grpc v1.80, sing v0.8.4, sing-box v1.13.0)
  • NaiveProxy support (Chromium TLS stack)
  • naive+https:// and naive+quic:// scheme variants support
  • Hysteria2 / TUIC support (high-performance UDP-based protocols)
  • AmneziaWG (AWG) — WireGuard variant with junk packets / fragmentation
  • Mieru / DNSTT outbound support
  • Go 1.26 TLS compatibility (removed psiphon, fixed WireGuard deprecated warnings)
  • UTProto outbound — FakeTLS transport (MTProto-derived) — developed in-house
  • UTProto URI scheme: utproto://SECRET@HOST:PORT?tls_domain=DOMAIN&vless_uuid=UUID&vless_port=PORT#Name
  • Android library — gomobile AAR, 3 ABIs (arm64-v8a + armeabi-v7a + x86_64)
  • iOS library — XCFramework with arm64-device + arm64-simulator slices

Planned

  • macOS library — XCFramework with macOS slice for native Flutter macOS apps
  • Linux library — shared object (.so) for Flutter desktop integration

Note: This is the Go core / proxy engine only — it builds into a library (.dll / .aar / .xcframework) consumed by the client apps. The client app itself (UI, TUN integration, split tunnel, platform clients) is a separate product — get it at app.inhive.ru.


Building

Desktop (C shared library)

make windows-amd64
make linux-amd64
make macos

Mobile (gomobile)

make android
make ios

Team

Role Who
Idea & Product @twilgate
Core Development Claude (AI-assisted engineering)

License

GPL-3.0-or-later — based on Hiddify open-source project.

About

The Ultimate Universal Proxy Platform — InHive Core

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 85.7%
  • Shell 7.7%
  • JavaScript 3.5%
  • Makefile 2.6%
  • HTML 0.5%