caliban
994
Stars
261
Forks
19
Watchers
28
Open Issues
Apache-2.0
许可证
Scala
语言
2019-09-12
创建时间
2026-11-11
最近更新
项目能做什么
Caliban 是一个面向 Scala 的纯函数式 GraphQL 库,用于构建 GraphQL 服务端与客户端。它能帮开发者免去手动定义 Schema 的繁琐样板代码,利用 Scala 标准类型在编译期完成 Schema 定义与校验,并结合运行时解析器,提供兼顾纯函数式和高性能的 GraphQL 解决方案。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Caliban [![Release Artifacts][Badge-SonatypeReleases]][Link-SonatypeReleases] [![Badge-Discord]][Link-Discord] [Link-SonatypeReleases]: https://central.sonatype.com/artifact/com.github.ghostdogpr/caliban_3 "Sonatype Releases" [Badge-SonatypeReleases]: https://img.shields.io/maven-central/v/com.github.ghostdogpr/caliban_3 "Sonatype Releases" [Link-Discord]: https://discord.gg/2ccFBr4 "Discord" [Badge-Discord]: https://img.shields.io/discord/629491597070827530?logo=discord "chat on discord" Caliban is a purely functional library for building GraphQL servers and clients in Scala. The design principles behind the library are the following: - minimal amount of boilerplate: no need to manually define a schema for every type in your API. - high performance: while every public interface is pure and immutable, library internals have been optimized for speed. - clean separation between schema definition and implementation: schema is defined and validated at compile time using Scala standard types, resolver (`RootResolver`) is a simple value provided at runtime. ### Consult the [Documentation](https://ghostdogpr.github.io/caliban/) to learn how to use Caliban. ### Any questions? Head up to the [#caliban](https://discordapp.com/channels/629491597070827530/633200096393166868) channel on [ZIO Discord](https://discord.gg/EYpumuv). ### Adopters Here is a partial list of companies using Caliban in production. Want to see your company here? [Submit a PR](https://github.com/ghostdogpr/caliban/edit/series/3.x/README.md)! * [Anduin Transactions](https://www.anduintransact.com) * [AnyMind Group](https://anymindgroup.com) * [AutoScout24](https://www.autoscout24.de) * [BusinessChat.io](https://businesschat.io) * [Carvana](https://www.carvana.com) * [Conduktor](https://www.conduktor.io) * [Credimi](https://www.credimi.com) * [Devsisters](https://www.devsisters.com) * [Fugo.ai](https://www.fugo.ai) * [LeadIQ](https://leadiq.com) * [Norwegian Agency for Shared Services in Education and Research](https://sikt.no/en/home) * [Sanjagh.pro](https://sanjagh.pro) * [Soundtrack Your Brand](https://www.soundtrackyourbrand.com) * [StepZen](https://www.stepzen.com) * [Undo](https://www.undo.app) * [Valamis Group](https://www.valamis.com)阅读完整原文
项目深度分析 AI 生成
Caliban Enterprise Extensions (企业级扩展插件包)
| 产品构想 | 针对Caliban生态开发开箱即用的企业级中间件套件,涵盖分布式追踪、细粒度RBAC/ABAC权限控制、查询复杂度深度限流及缓存代理适配。 |
| 核心功能 | 深度APM集成(Datadog/OpenTelemetry自动埋点)、字段级权限注解与引擎、自适应查询复杂度与DDoS防御中间件、分布式Redis响应缓存。 |
| 目标用户 | 已有Caliban上线业务的中大型企业工程团队、FinTech及高并发服务提供商。 |
| 难度/周期 | 中等 · 2 - 3 个月 · 成本:极低(主要是开发机与云测试环境费用) |
| 收费模式 | 核心代码双许可或商业扩展包年度订阅授权(按节点/按组织收费)。 |
| 竞争风险 | 开源社区可能会自行实现基础版拦截器;潜在企业客户采购流程较长。 |
| 依据 | 已验证事实 |
Caliban 架构咨询与专家支持服务 (Consulting & Support SLA)
| 产品构想 | 依托现有知名企业采用者(如Carvana、AutoScout24等)的基础,为采用Scala函数式GraphQL的企业提供定制化架构评审、性能调优和紧急工单SLA支持。 |
| 核心功能 | 定制化Schema审查与N+1查询优化指导、版本平滑升级迁移保障、生产紧急故障排除、专属SLA响应渠道。 |
| 目标用户 | 缺乏Scala函数式专家但需保障GraphQL服务稳定性的企业技术总监与后端架构师。 |
| 难度/周期 | 较低 · 即时开展(1 - 2 周完成服务规范与协议设计) · 成本:极低(主要投入时间成本与沟通成本) |
| 收费模式 | 按月/按年收取技术支持订阅费用(SLA),或按人天结算的咨询专项费。 |
| 竞争风险 | 个人交付带宽受限,高度依赖顾问的专业信誉与市场知名度。 |
| 依据 | 已验证事实 |
SchemaLens - 针对Scala/GraphQL的模式治理与契约测试SaaS
| 产品构想 | 结合Caliban类型推导特性打造轻量级Schema变更监控与契约治理平台,防止无意的破坏性变更(Breaking Changes)并自动生成前端/客户端SDK。 |
| 核心功能 | CI/CD嵌入式Schema破坏性检查、基于Scala类型的自动客户端代码生成、Schema变更差量告警与使用率分析看板。 |
| 目标用户 | 跨职能API协作团队、前后端分离团队、微服务API网关运维团队。 |
| 难度/周期 | 较高 · 3 - 5 个月 · 成本:中等(需维护托管云服务、鉴权、数据库及持续集成调度系统) |
| 收费模式 | 免费额度 + 阶梯席位订阅制的SaaS模式(Freemium)。 |
| 竞争风险 | 面临Apollo Studio等通用GraphQL治理平台的竞争,仅靠Scala生态壁垒可能较薄弱。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2019-09-12,近 30 天仍在推送,发布过 93 个 Release |
| 社区活跃 | Star 994 / Fork 261 / Issue 28(数据支持,可自行核实) |
| 许可证 | Apache-2.0 |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。