simplexmq
862
Stars
123
Forks
17
Watchers
165
Open Issues
AGPL-3.0
许可证
Haskell
语言
2020-10-11
创建时间
2026-11-11
最近更新
项目能做什么
SimpleXMQ 是基于 Haskell 开发的单向(simplex)消息代理,解决了在公共网络中安全、隐私地管理消息队列与传输的问题。其核心功能包括提供 SMP 服务端、客户端库及代理,支持基于 TLS 指纹防劫持的通信、内存存储结合追加日志持久化,并通过组合多个单向队列实现全双工连接。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# SimpleXMQ [](https://github.com/simplex-chat/simplexmq/actions/workflows/build.yml) [](https://github.com/simplex-chat/simplexmq/releases) 📢 SimpleXMQ v1 is released - with many security, privacy and efficiency improvements, new functionality - see [release notes](https://github.com/simplex-chat/simplexmq/releases/tag/v1.0.0). **Please note**: v1 is not backwards compatible, but it has the version negotiation built into all protocol layers for forwards compatibility of this version and backwards compatibility of the future versions, that will be backwards compatible for at least two versions back. If you have a server deployed please deploy a new server to a new host and retire the previous version once it is no longer used. ## Message broker for unidirectional (simplex) queues SimpleXMQ is a message broker for managing message queues and sending messages over public network. It consists of SMP server, SMP client library and SMP agent that implement [SMP protocol](./protocol/simplex-messaging.md) for client-server communication and [SMP agent protocol](./protocol/agent-protocol.md) to manage duplex connections via simplex queues on multiple SMP servers. SMP protocol is inspired by [Redis serialization protocol](https://redis.io/topics/protocol), but it is much simpler - it currently has only 10 client commands and 8 server responses. SimpleXMQ is implemented in Haskell - it benefits from robust software transactional memory (STM) and concurrency primitives that Haskell provides. ## SimpleXMQ roadmap - SimpleX service protocol and application template - to enable users building services and chat bots that work over SimpleX protocol stack. The first such service will be a notification service for a mobile app. - SMP queue redundancy and rotation in SMP agent connections. - SMP agents synchronization to share connections and messages between multiple agents (it would allow using multiple devices for [simplex-chat](https://github.com/simplex-chat/simplex-chat)). ## Components ### SMP server [SMP server](./apps/smp-server/Main.hs) can be run on any Linux distribution, including low power/low memory devices. OpenSSL library is required for initialization. To initialize the server use `smp-server init -n <fqdn>` (or `smp-server init --ip <ip>` for IP based address) command - it will generate keys and certificates for TLS transport. The fingerprint of offline certificate is used as part of the server address to protect client/server connection against man-in-the-middle attacks: `smp://<fingerprint>@<hostname>[:5223]`. SMP server uses in-memory persistence with an optional append-only log of created queues that allows to re-start the server without losing the connections. This log is compacted on every server restart, permanently removing suspended and removed queu阅读完整原文
项目深度分析 规则生成(AI 未配置)
综合评分 50.9 分。该项目在“个人可实施性”维度得 30 分,“付费可能性”维度得 35.0 分,差异化空间 70.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 simplexmq 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| simplex-chat/simplexmq-js | 中文介绍暂未生成 🚧 SimpleXMQ - JavaScript SMP protocol client and agent 🏗 |
13 | TypeScript |
| samrockcash/simplexmq | 中文介绍暂未生成 | 0 | Haskell |
| Katya-AI-Systems-LLC/Simplexmq | 中文介绍暂未生成 | 0 | Haskell |
| Noranek0/simplexmq | 中文介绍暂未生成 ⚙️ SimpleXMQ - A reference implementation of the SimpleX Mes |
0 | - |
| kn0wmad/SimpleXMQ-Wrapper | 中文介绍暂未生成 This wraps the SimpleXMQ server for embassyOS |
0 | TypeScript |
| symbolicsoft/simplex-verifpal-analysis | 中文介绍暂未生成 Supporting materials for https://github.com/simplex-chat/sim |
0 | HTML |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2020-10-11,近 30 天仍在推送,发布过 100 个 Release |
| 社区活跃 | Star 862 / Fork 123 / Issue 165(数据支持,可自行核实) |
| 许可证 | AGPL-3.0 商用需注意传染性条款 |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/simplex-chat/simplexmq.git cd simplexmq docker compose up -d # 或参考 README 中的 docker run 命令
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。