This release is a pre-release and may not be stable for production use.
English | 简体中文 | 繁體中文 | 日本語 | Русский
ErisPulse
Write once, deploy across multiple platforms.
An event-driven multi-platform chatbot development framework.
Based on the OneBot12 standard interface, write once and deploy across multiple platforms. Flexible plugin system, hot reload support, and a complete developer toolchain, suitable for various scenarios from simple chatbots to complex automation systems.
Chained Sending DSL
Complete all sending logic in a single chained call: @user, reply, retry, timeout, callback, etc.:
yunhu = sdk.adapter.get("yunhu")
# Single send: @user + reply + retry + success callback
await (yunhu.Send.To("group", "123")
.At("456").Reply("msg_789")
.Retry(3).Timeout(10)
.Hook(lambda r: print("Send successful!"))
.Text("Hello"))
# Batch send: send multiple messages in one chain
results = await (yunhu.Send.To("user", "123")
.Build()
.Text("Notification 1")
.Image("pic.jpg")
.Retry(2)
.send_all())
Supports Hook (success callback), Retry (failure retry), Timeout (timeout cancellation), OnProgress (progress monitoring), Defer (delayed send), Build (batch construction), and other chained methods. See SendDSL documentation.
Same code. Multiple platforms.
Identical command handlers. Different platforms. No business logic changes required.
|
Kook |
|
Yunhu |
Ecosystem
ErisPulse is more than just a framework. Install and start immediately, no need to build wheels from scratch.
|
Framework Core runtime Unified event & message model |
Dashboard Visual management Plugins · Logs · Configuration |
AI Builder Natural language → usable module |
Module Market Ready-to-use plugins |
|
Adapters 15+ platform integrations |
Documentation |
Docker Multi-architecture support
|
CLI
|
Project Origin
ErisPulse was not born to be a framework.
It originated from Amer — a project for message interconnection and synchronization across different platforms.
As the number of integrated platforms increased, we began maintaining the asynchronous version of ryunhusdk2, gradually abstracting a unified event model and adapter system.
These practices eventually evolved into today's ErisPulse.
Its goal has never changed:
Let developers focus on business, not platform differences.
Quick Start
One-click installation script (recommended)
The installation script automatically detects your environment (Docker, Python, uv), guides you to choose the most suitable installation method, and supports multiple languages (Chinese/English/Japanese/Russian/Traditional Chinese).
Windows (PowerShell):
irm https://get.erisdev.com/install.ps1 -OutFile install.ps1; powershell -ExecutionPolicy Bypass -File install.ps1
macOS / Linux:
curl -fsSL https://get.erisdev.com/install.sh -o install.sh && chmod +x install.sh && ./install.sh
|
Docker Installation Demo |
pip Installation Demo |
Using Docker (recommended)
docker pull erispulse/erispulse:latest
Docker Hub unavailable?
If Docker Hub is inaccessible, you can use GitHub Container Registry:
docker pull ghcr.io/erispulse/erispulse:latest
When using the ghcr.io image, you need to modify the docker-compose.yml file's image:
image: ghcr.io/erispulse/erispulse:latest
Quick Start
# Download docker-compose.yml
curl -O https://raw.githubusercontent.com/ErisPulse/ErisPulse/main/docker-compose.yml
# Set Dashboard login token and start
ERISPULSE_DASHBOARD_TOKEN=your-token docker compose up -d
The image includes the ErisPulse framework and Dashboard management panel, supporting
linux/amd64andlinux/arm64architectures.
After startup, access http://<host>:<port>/Dashboard and use the set token as the password to log in to the Dashboard management panel.
Using pre-release version (Dev)
Set ERISPULSE_CHANNEL=dev to use the pre-release version:
# Method 1: Use environment variables (recommended)
ERISPULSE_CHANNEL=dev ERISPULSE_DASHBOARD_TOKEN=your-token docker compose up -d
# Method 2: Build dev image
ERISPULSE_BUILD_TARGET=dev docker compose up -d --build
To automatically update to the latest version at startup (regardless of stable or dev), explicitly set ERISPULSE_UPDATE_ON_START=true:
ERISPULSE_CHANNEL=dev ERISPULSE_UPDATE_ON_START=true docker compose up -d
You can also pull the pre-built dev image:
docker pull erispulse/erispulse:dev
Docker Environment Variables
| Variable | Default | Description |
|---|---|---|
ERISPULSE_CHANNEL |
stable |
Version channel: stable (stable) or dev (pre-release) |
ERISPULSE_UPDATE_ON_START |
false |
Whether to automatically update to the latest version when the container starts (must be explicitly enabled) |
ERISPULSE_DASHBOARD_TOKEN |
empty | Dashboard login token |
ERISPULSE_PORT |
8000 |
Dashboard port mapping |
TZ |
Asia/Shanghai |
Container timezone |
Enabling
ERISPULSE_UPDATE_ON_START=trueensures that even if the image is outdated, the container will automatically fetch the latest version at startup.
1Panel App Store
Install ErisPulse one-click via the 1Panel app store, see ErisPulse-1Panel.
bash <(curl -sL https://get-1panel.erisdev.com/install.sh)
ErisPulse is available in the 1Panel third-party app store and can be installed using the okxlin/appstore third-party repository.
Using pip to install
pip install ErisPulse
You can also use the one-click installation script above, which automatically detects the environment and guides configuration.
Initialize Project
# Interactive initialization
epsdk init
# Quick initialization (specify project name)
epsdk init -q -n my_bot
Create Your First Bot
Create a main.py file:
|
Command Handler from ErisPulse import sdk
from ErisPulse.Core.Event import command
@command("hello", help="Send a greeting message")
async def hello_handler(event):
user_name = event.get_user_nickname() or "friend"
await event.reply(f"Hello, {user_name}!")
@command("ping", help="Test if the bot is online")
async def ping_handler(event):
await event.reply("Pong! The bot is running normally.")
if __name__ == "__main__":
import asyncio
asyncio.run(sdk.run(keep_running=True))
|
Effect Description Send Bot replies: Send Bot replies: Running Method epsdk run main.py
# Or in development mode
epsdk run main.py --reload
|
For more detailed instructions, see:
Multi-turn Conversation Example
ErisPulse includes a powerful multi-turn conversation engine, easily achieving guided operations, information collection, and other interactive scenarios:
from ErisPulse.Core.Event import command, request
@command("register")
async def register_handler(event):
conv = event.conversation(timeout=60)
await conv.say("Welcome to register!")
# Multi-step collection of user information, with automatic validation
data = await conv.collect([
{"key": "name", "prompt": "Please enter your name"},
{"key": "age", "prompt": "Please enter your age",
"validator": lambda e: e.get_text().strip().isdigit(),
"retry_prompt": "Age must be a number, please re-enter"},
])
if data and await conv.confirm(f"Confirm registration? Name: {data['name']}, Age: {data['age']}"):
# Push notification using SendDSL
await sdk.adapter.get(event.get_platform()).Send.To(
"user", event.get_user_id()
).Text(f"Registration successful! Welcome {data['name']}")
# Or await event.reply("Registration successful!")
# Automatically handle friend requests
@request.on_friend_request()
async def handle_friend_request(event):
user_name = event.get_user_nickname() or event.get_user_id()
# Approve request
result = await event.approve()
if result.get("status") == "ok":
await event.reply(f"Friend request automatically approved, welcome {user_name}")
See more Conversation API (branching / selection / persistence)
@command("quiz")
async def quiz_handler(event):
conv = event.conversation(timeout=30)
# Multiple choice question
answer = await conv.choose("Who is the creator of Python?", [
"Guido van Rossum",
"James Gosling",
"Dennis Ritchie",
])
if answer == 0:
await conv.say("Correct!")
elif answer is None:
await conv.say("Timed out, try again next time!")
else:
await conv.say("Incorrect, the correct answer is Guido van Rossum")
@command("menu")
async def menu_handler(event):
conv = event.conversation(timeout=60)
# Branching, building complex interactive flows
@conv.branch("main")
async def main_menu():
await conv.say("=== Main Menu ===\n1. Personal Information\n2. Settings\n3. Exit")
resp = await conv.wait()
if resp and resp.get_text().strip() == "1":
await conv.goto("profile")
@conv.branch("profile")
async def profile():
await conv.say("Name: Alice\n0. Return")
resp = await conv.wait()
if resp and resp.get_text().strip() == "0":
await conv.goto("main")
await conv.start()
Supported Platforms
We welcome contributions to adapters!
| Adapter | Description |
|---|---|
| Kook (KaHeLa) instant messaging platform | |
| Decentralized communication protocol Matrix | |
| OneBot v11 general robot protocol | |
| OneBot v12 standard protocol | |
| Official QQ robot platform | |
| Web-based debugging, no need to connect to real platforms | |
| Global instant messaging platform | |
| Email protocol adapter | |
| Enterprise-level instant messaging platform (robot integration) | |
| Yunhu user protocol-based adapter | |
| Flower Maple Café | Allons! (・ω・) / |
| Global community communication platform, supports servers, channels, and private messages | |
| General HTTP bridge adapter, connects to any system | |
| Official WeChat public account platform |
See Adapter Details
Use Cases
| Multi-platform Bot | Chat Assistant | Automation Tool | Message Forwarding |
|---|---|---|---|
| Deploy identical functionality bots across multiple platforms | Integrate AI chat modules for entertainment and interaction | Message notifications, task management, data collection | Cross-platform message synchronization and forwarding |
Community
Welcome to join the ErisPulse community and build the ecosystem together with developers.
Yunhu
Group ID: 635409929
Join the group chat:
https://yhfx.jwznb.com/share?key=VWJL4fTWXepa&ts=1781889199
QQ Group
https://qm.qq.com/q/TOwnCmypcy
Telegram
Contribution Guidelines
The health of the ErisPulse project still needs your contribution! We welcome all forms of contributions:
- Report Issues — Submit bug reports on GitHub Issues
- Feature Requests — Propose new ideas via Community Discussions
- Code Contributions — Please read the Code Style and Contribution Guidelines before submitting PRs
- Documentation Improvements — Help improve documentation and example code
Star History
Acknowledgments
Part of this project's code is based on sdkFrame.
The core adapter standardization layer references and benefits from the OneBot12 specification.
Special thanks to the Yunhu ecosystem and community.
The early exploration and growth of ErisPulse would not have been possible without the support of the Yunhu developer community. Many ideas, adapters, and practical experiences originated here.
We also thank all developers and project authors who have contributed to ErisPulse, OneBot ecosystem, and the open-source community.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erispulse-2.6.1.dev0.tar.gz.
File metadata
- Download URL: erispulse-2.6.1.dev0.tar.gz
- Upload date:
- Size: 383.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74e3633a7bb3ed67a64bc6848db449c6640e3a6345ca48bec09147c916e64256
|
|
| MD5 |
a4c321ca802d27d8adecf02793a2b780
|
|
| BLAKE2b-256 |
ddfaf1e34e22741522ca8e83e22a06036eb45cf8d5a3c2aacae3eb7ab460487b
|
Provenance
The following attestation bundles were made for erispulse-2.6.1.dev0.tar.gz:
Publisher:
pypi-publish.yml on ErisPulse/ErisPulse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse-2.6.1.dev0.tar.gz -
Subject digest:
74e3633a7bb3ed67a64bc6848db449c6640e3a6345ca48bec09147c916e64256 - Sigstore transparency entry: 2175840835
- Sigstore integration time:
-
Permalink:
ErisPulse/ErisPulse@d72cc91cdf58b84adc1c4156b74120ed3f8c5d62 -
Branch / Tag:
refs/heads/Develop/v2 - Owner: https://github.com/ErisPulse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d72cc91cdf58b84adc1c4156b74120ed3f8c5d62 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file erispulse-2.6.1.dev0-py3-none-any.whl.
File metadata
- Download URL: erispulse-2.6.1.dev0-py3-none-any.whl
- Upload date:
- Size: 538.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd803667c6a314a46019ac66fde40bd9e6e44f2915f545f03ac6c6b880ec5ec
|
|
| MD5 |
b13fffc1f90ef7a4237b0f5472e480a4
|
|
| BLAKE2b-256 |
b098a80fa8256b1acd5612e1309dfbc4d20c62c2cd6cad6e653decb12d1155b6
|
Provenance
The following attestation bundles were made for erispulse-2.6.1.dev0-py3-none-any.whl:
Publisher:
pypi-publish.yml on ErisPulse/ErisPulse
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse-2.6.1.dev0-py3-none-any.whl -
Subject digest:
ecd803667c6a314a46019ac66fde40bd9e6e44f2915f545f03ac6c6b880ec5ec - Sigstore transparency entry: 2175840847
- Sigstore integration time:
-
Permalink:
ErisPulse/ErisPulse@d72cc91cdf58b84adc1c4156b74120ed3f8c5d62 -
Branch / Tag:
refs/heads/Develop/v2 - Owner: https://github.com/ErisPulse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d72cc91cdf58b84adc1c4156b74120ed3f8c5d62 -
Trigger Event:
workflow_dispatch
-
Statement type: