quine
366
Stars
59
Forks
21
Watchers
9
Open Issues
NOASSERTION
许可证
Scala
语言
2022-02-05
创建时间
2026-11-11
最近更新
项目能做什么
Quine 是一款专为实时流数据设计的流式图解释器。它能接入 Kafka、Kinesis 等事件流,将其动态构建为有状态的图结构;核心特色是“持续查询”(Standing Queries),可在图数据中实时监测复杂模式并在命中时触发操作,将计算结果实时流式输出。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)

[](https://github.com/thatdot/quine/releases)
[](https://hub.docker.com/r/thatdot/quine)
[](https://that.re/quine-slack)
<div style="padding-top: 10px;">
<div style="vertical-align:middle;">
<img width="400" height="100%" src="https://quine.io/assets/images/quine_logo.svg">
</div>
<div style="vertical-align:middle;">
<p>Quine is a streaming graph interpreter; a server-side program that consumes data, builds it into a stateful graph structure, and runs live computation on that graph to answer questions or compute results. Those results stream out in real-time.</p>
</div>
</div>
You interact with Quine by connecting it to a data source (Kafka, Kinesis Data Stream, SQS, files, stdin, etc.) and using regular database queries to stream that data in, build the graph structure, and find important patterns.
Three design choices define Quine, setting it apart from all event stream processing systems:
1. A graph-structured data model
2. An asynchronous actor-based graph computational model
3. Standing queries
Standing queries live inside the graph and automatically propagate the incremental results computed from both historical data and new streaming data. Once matches are found, standing queries trigger actions using those results (e.g., execute code, transform other data in the graph, publish data to another system like Apache Kafka or Kinesis).

All together, Quine can:
* Consume high-volume streaming event data
* Convert it into durable, versioned, connected data
* Monitor that connected data for complex structures or values
* Trigger arbitrary computation on the event of each match
This collection of capabilities is profoundly powerful! It represents a complete system for stateful event-driven arbitrary computation in a platform scalable to any size of data or desired throughput.
Read the docs at [quine.io](https://quine.io) to learn more.
## Building from source
In order to build Quine locally, you'll need to have the following installed:
* A recent version of the Java Development Kit (17 or newer)
* The [`sbt` build tool](https://www.scala-sbt.org/download.html)
* Yarn 0.22.0+ (for frontend components of `quine-browser` subproject)
Then:
```
sbt compile # compile all projects
sbt test # compile and run all projects' tests
sbt fixall # reformat and lint all source files
sbt quine/run # to build and run Quine
sbt quine/assembly # assemble Quine int
阅读完整原文
项目深度分析 AI 生成
垂直场景实时风控与反洗钱(AML)解决方案集成
| 产品构想 | 基于 Quine 核心引擎,打包金融反欺诈/反洗钱预设 Recipe 与流式图规则,提供开箱即用的实时交易风险监控套件。 |
| 核心功能 | 资金流向环路实时识别、多层关联欺诈检测 Recipe、对接 Kafka 的交易数据导入模版、告警推送到风控引擎。 |
| 目标用户 | 中小型互金公司、跨境支付机构的风控研发负责人。 |
| 难度/周期 | 高 · 3 - 6 个月 · 成本:流式基础设施测试环境、领域业务专家知识成本、Kafka 集群搭建与压测费用。 |
| 收费模式 | 按解决方案许可收费、私有化部署实施费、年度规则升级维护费。 |
| 竞争风险 | 金融风控对低时延与零丢失容忍度极高,单人/小团队难以承担生产级故障连带责任;合规审查严格。 |
| 依据 | 已验证事实 |
Quine Recipes 工业级预制库与可视化管理中台
| 产品构想 | 针对 Quine 的“Recipe”机制与复杂查询,开发低代码构建平台与场景库,降低企业写复杂图查询的门槛。 |
| 核心功能 | 可视化的 Standing Query 设计器、一键部署并监控 Recipe 运行状态、预设数十种主流安全与业务监控模版。 |
| 目标用户 | 数据分析师、缺乏 Scala/复杂 Cypher 背景的数据管道工程师。 |
| 难度/周期 | 中等 · 2 - 3 个月 · 成本:前端可视化开发成本、云服务器托管展示环境。 |
| 收费模式 | SaaS 工具订阅费、高级垂直领域 Recipe 模板付费购买。 |
| 竞争风险 | Quine 本身自带 Web UI,独立管理平台的增量付费价值若不明显则难产生粘性。 |
| 依据 | 数据支持的判断 |
网安实时威胁猎捕(Threat Hunting)流式图分析代理
| 产品构想 | 将网络流量与系统日志(Syslog/EDR)实时摄取进 Quine,利用其常驻查询自动匹配 APT 攻击链和横向移动轨迹。 |
| 核心功能 | 对接 Sysmon/Zeek 数据流、MITRE ATT&CK 图模式匹配 Recipe、实时生成攻击链路拓扑告警。 |
| 目标用户 | 企业安全运营中心(SOC)团队、安全外包服务商(MSSP)。 |
| 难度/周期 | 高 · 4 - 6 个月 · 成本:网络安全测试靶场环境、高吞吐流数据回放测试成本。 |
| 收费模式 | 企业安全插件授权、MSSP 联合运营分成、定制化威胁图开发服务。 |
| 竞争风险 | 需要深厚的网安知识储备,且大厂安全产品(如 Splunk、Elastic)生态壁垒极高。 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2022-02-05,近 30 天仍在推送,发布过 40 个 Release |
| 社区活跃 | Star 366 / Fork 59 / Issue 9(数据支持,可自行核实) |
| 许可证 | NOASSERTION |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/thatdot/quine.git cd quine docker compose up -d # 或参考 README 中的 docker run 命令
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。