How wedeach/chrline-patch works
CHRLINE is a Python LINE debugging/API client, intended to inspect LINE protocol behavior rather than run production bots. Users initialize a client with login or token details, then call account, messaging, Square, and BIZ/timeline operations; the library encodes requests, communicates with LINE, and decodes responses. Separate runtime branches provide persistent push connections and E2EE, while thrift and DummyProtocol support protocol inspection and compatibility work. The map follows documented capabilities and visible imports; unsampled service implementations are represented by their existing directories, and uncertain runtime links are omitted or dashed.
Main entry points: client.py CHRLINE client · manager.py BIZ manager · connManager.py Push connection manager · services Service methods
Components 27
Client and transport
- CHRLINE client
CHRLINE/client.py - API methods
CHRLINE/api.py - Device configuration
CHRLINE/config.py - Push connection manager
CHRLINE/dyher/connManager.py - Push connection
CHRLINE/dyher/conn.py - Push connection data
CHRLINE/dyher/connData.py
Protocol and security
- Thrift data types
CHRLINE/services/thrift/ttypes.py - Thrift codec
CHRLINE/thrift.py - Dummy thrift inspection
CHRLINE/serializers/DummyProtocol.py - E2EE support
CHRLINE/e2ee.py - Protocol helpers
CHRLINE/helpers/base.py - System helpers
CHRLINE/helpers/sys.py - Client models
CHRLINE/models.py - Thrift objects
CHRLINE/object.py
LINE service domains
- Service methods
CHRLINE/services - Service request sender
CHRLINE/services/BaseService.py - Authentication services
CHRLINE/services/AuthService.py - Thrift service clients
CHRLINE/services/thrift
BIZ and timeline
- BIZ manager
CHRLINE/BIZ/manager.py - BIZ request layer
CHRLINE/BIZ/base.py - Timeline services
CHRLINE/BIZ/services/TL.py - Timeline gateway
CHRLINE/BIZ/services/TLGW.py - Timeline BIZ
CHRLINE/BIZ/TL/ST.py - Other BIZ domains
CHRLINE/BIZ/services - Timeline internals
CHRLINE/BIZ/services/internal
Other components
- Library caller
- LINE services
Connections 30
- Library caller → CHRLINE client: initializes
CHRLINE/client.py - CHRLINE client → API methods: inherits API
CHRLINE/client.py - CHRLINE client → Device configuration: initializes
CHRLINE/client.py - CHRLINE client → BIZ manager: creates
CHRLINE/client.py - CHRLINE client → E2EE support: initializes
CHRLINE/client.py - CHRLINE client → Client models: initializes
CHRLINE/client.py - CHRLINE client → Thrift objects: initializes
CHRLINE/client.py - CHRLINE client → Push connection manager: uses
CHRLINE/dyher/connManager.py - Push connection manager → Push connection: opens
CHRLINE/dyher/connManager.py - Push connection manager → Push connection data: uses
CHRLINE/dyher/connManager.py - Push connection manager → Service methods: dispatches
CHRLINE/dyher/connManager.py - CHRLINE client → Service methods: exposes
CHRLINE/services/BaseService.py - Service methods → Service request sender: sends requests
CHRLINE/services/AuthService.py - Service request sender → CHRLINE client: uses client
CHRLINE/services/BaseService.py - Authentication services → Service request sender: sends requests
CHRLINE/services/AuthService.py - Thrift service clients → Thrift data types: uses types
CHRLINE/services/thrift/SquareService.py - Thrift codec → Dummy thrift inspection: uses serializer
CHRLINE/thrift.py - CHRLINE client → Thrift codec: initializes
CHRLINE/client.py - CHRLINE client → Protocol helpers: includes helpers
- Protocol helpers → System helpers: includes
CHRLINE/helpers/sys.py - BIZ manager → BIZ request layer: builds services
CHRLINE/BIZ/manager.py - BIZ manager → Timeline services: creates
CHRLINE/BIZ/manager.py - BIZ manager → Timeline gateway: creates
CHRLINE/BIZ/manager.py - BIZ manager → Timeline internals: creates services
CHRLINE/BIZ/manager.py - BIZ manager → Other BIZ domains: creates services
CHRLINE/BIZ/manager.py - Timeline services → Timeline internals: uses
CHRLINE/BIZ/services/TL.py - Timeline gateway → Timeline internals: uses typed posts
CHRLINE/BIZ/services/TLGW.py - BIZ request layer → CHRLINE client: uses client
CHRLINE/BIZ/base.py - CHRLINE client → LINE services: sends API traffic
- Library caller → Dummy thrift inspection: inspects fields