orris-inc a50e130b8b feat: add online device tracking and subscription count per node
- Implement Redis-based online device tracking using sorted sets with
  IP-level granularity and automatic stale entry cleanup
- Add online subscription count per node to dashboard, node list, node
  detail, and traffic stats APIs
- Propagate plan device limits to node agents during subscription sync,
  full sync, and plan feature changes
- Add OnlineDeviceCounter and NodeOnlineSubscriptionCounter interfaces
  to decouple application layer from infrastructure
- Populate onlineDeviceCount and deviceLimit in subscription API responses
  (get, list, create, reset-link)
- Handle multi-IP per subscription in online subscription reports with
  IP validation and deduplication
- Add plan change notification to re-sync affected nodes when plan
  features (e.g. device_limit) are updated
2026-02-26 18:22:40 +08:00

Orris

Quick Install

curl -fsSL https://raw.githubusercontent.com/orris-inc/orris/main/install.sh | bash

Or specify domain and admin credentials:

curl -fsSL https://raw.githubusercontent.com/orris-inc/orris/main/install.sh | \
  DOMAIN=orris.example.com \
  ADMIN_EMAIL=admin@example.com \
  ADMIN_PASSWORD=your-password \
  bash

Detailed Installation

See INSTALL.md for detailed installation instructions.

Update

Update to the latest version:

# From your Orris installation directory
./install.sh update

# Or remotely
curl -fsSL https://raw.githubusercontent.com/orris-inc/orris/main/install.sh | bash -s -- update

This will:

  1. Pull the latest Docker images
  2. Run database migrations
  3. Restart all services

Common Commands

docker compose ps        # Check status
docker compose logs -f   # View logs
docker compose down      # Stop services
docker compose up -d     # Start services
./install.sh update      # Update to latest version
./install.sh help        # Show help

License

MIT License

Description
Orris —— 面向专线 / IX 拼车的中转与订阅管理平台 梯子 科学上网
Readme MIT 56 MiB
Languages
Go 99%
Shell 0.8%
Makefile 0.2%