Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LiteyukiBot OneBot Adapter

liteyukibot-v7-adapter-onebot is a pure-Python protocol package for the liteyukibot-v7-runtime-adapter child host. Its first release implements the OneBot v11 HTTP Post event transport and HTTP API actions; it has no NoneBot, Node, or platform-SDK dependency.

uv add liteyukibot-v7-runtime-adapter liteyukibot-v7-adapter-onebot

Configure an adapter instance in the independently installed adapter runtime:

[runtimes.platform]
kind = "adapter"

[runtimes.platform.options.adapters.qq-main]
kind = "onebot-v11"
bot_id = "123456"

[runtimes.platform.options.adapters.qq-main.config]
event_host = "127.0.0.1"
event_port = 5700
event_path = "/onebot/v11/http"
api_root = "http://127.0.0.1:5701"
access_token = "replace-with-the-onebot-http-token"

Point the OneBot implementation's HTTP Post callback at event_path. The adapter verifies Authorization: Bearer <access_token> when configured and requires a token for non-loopback listeners. It verifies matching self_id / X-Self-ID values before forwarding an event.

The adapter accepts private and group message events, maps text, mentions, replies, image/record/video media, and adapter-specific segments into frozen LiteyukiBot messages, and executes SendMessage plus constrained CallApi actions through the configured OneBot HTTP API root. OneBot v12 is intentionally not part of this release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liteyukibot_v7_adapter_onebot-0.1.0a1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file liteyukibot_v7_adapter_onebot-0.1.0a1.tar.gz.

File metadata

  • Download URL: liteyukibot_v7_adapter_onebot-0.1.0a1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for liteyukibot_v7_adapter_onebot-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 36a3cd8b3f5eace3afda03998526cefa0c3d43a766ee18cb36dc9e069ed700b8
MD5 6b4c1600baf914de70b19f973ec1a4bd
BLAKE2b-256 8ea0e2ef83435159c27c2220e05ca44642b6f1553a334bff5847bf55f848ab44

See more details on using hashes here.

File details

Details for the file liteyukibot_v7_adapter_onebot-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: liteyukibot_v7_adapter_onebot-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for liteyukibot_v7_adapter_onebot-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 00b042e855cecb08d2d57d65eb4c56a02acc2bfcbd2870c5dd0a91d210e7baf8
MD5 73e7dcf9e36b9630eb3efefc7589b260
BLAKE2b-256 ca69fe2fa9a5bcab1d3f5cb07844cae795916f87b0cf1069bd16afdce51758e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page