2 分•作者: mahmoudimus•14 天前
返回首页
最新
1 分•作者: linolevan•14 天前
1 分•作者: PaulHoule•14 天前
1 分•作者: enum•14 天前
1 分•作者: nickthegreek•14 天前
1 分•作者: lumpa•14 天前
1 分•作者: WarmWash•14 天前
1 分•作者: derekcheng08•14 天前
3 分•作者: speckx•14 天前
1 分•作者: OutOfHere•14 天前
1 分•作者: jmsflknr•14 天前
3 分•作者: jtr101•14 天前
我使用 Claude Code 处理多个项目,这些项目遵循不同的规范,并且有一些共享的仓库,这正是现实世界的样子。手动管理配置文件(.claude/rules/、mcps.json、settings.json)变得很繁琐,所以我为此构建了一个本地 Web UI。
这个项目最初名为 claude-config,但后来迁移到 coder-config,因为我正在添加其他工具(Gemini、AG、Codex 等)。
主要功能:
* 规则、权限和 MCP 服务器的可视化编辑器
* 项目注册表,用于在不同代码库之间切换
* “工作流”用于将相关的仓库(前端 + API + 共享库)分组,并共享上下文
* 在 cd 到包含的文件夹时自动加载工作流
* 还支持 Gemini CLI 和 Codex CLI
安装:
```bash
npm install -g coder-config
coder-config ui # UI 地址:http://localhost:3333
coder-config ui install # 可选,在 MacOS 上自动启动
```
它也可以作为 PWA 安装,并驻留在您的任务栏中。
开源,本地运行,无需账户。
欢迎反馈和贡献!
抱歉,我还没有机会在其他操作系统(linux/windows)上进行测试。
184 分•作者: DGAP•14 天前
16 分•作者: nill0•14 天前
2 分•作者: radicalethics•14 天前
2 分•作者: hello-tmst•14 天前
我们厌倦了编写原始的 Cypher 查询——转义引号、零代码补全、重构噩梦——所以我们构建了 GraphORM:一个使用纯 Python 对象的、针对 RedisGraph/FalkorDB 的类型安全的 Python ORM。
它能做什么
不再需要脆弱的 Cypher 查询:
```cypher
query = """
MATCH (a:User {user_id: 1})-[r1:FRIEND]->(b:User)-[r2:FRIEND]->(c:User)
WHERE c.user_id <> 1 AND b.active = true
WITH b, count(r2) as friend_count
WHERE friend_count > 5
RETURN c, friend_count
ORDER BY friend_count DESC
LIMIT 10
"""
```
你可以编写类型安全的 Python 代码:
```python
stmt = select().match(
(UserA, FRIEND.alias("r1"), UserB),
(UserB, FRIEND.alias("r2"), UserC)
).where(
(UserA.user_id == 1) & (UserC.user_id != 1) & (UserB.active == True)
).with_(
UserB, count(FRIEND.alias("r2")).label("friend_count")
).where(
count(FRIEND.alias("r2")) > 5
).returns(
UserC, count(FRIEND.alias("r2")).label("friend_count")
).orderby(
count(FRIEND.alias("r2")).desc()
).limit(10)
```
主要特性:
• 使用 Python 类型提示的类型安全模式
• 流畅的查询构建器 (select().match().where().returns())
• 自动批量处理 (flush(batch_size=1000))
• 原子事务 (with graph.transaction(): ...)
• 零字符串转义——O'Connor 和 "The Builder" 都能正常工作
目标受众
• AI/LLM 代理开发者:将长期记忆存储为图 (User → Message → ToolCall)
• 网络爬虫工程师:用 12 行代码插入 1 万个页面 + 链接,而 Cypher 需要 80 行
• 社交网络构建者:使用 indegree()/outdegree() 查询“朋友的朋友”
• 数据工程师:跟踪血缘关系 (Dataset → Transform → Output)
• 刚接触图的 Python 开发者:避免 Cypher 学习曲线
数据插入:真正的变革
原始 Cypher 噩梦:
```
queries = [
"""CREATE (:User {email: "alice@example.com", name: "Alice O\'Connor"})""",
"""CREATE (:User {email: "bob@example.com", name: "Bob \"The Builder\""})"""
]
for q in queries:
graph.query(q) # 没有事务安全!
```
GraphORM 的幸福:
```python
alice = User(email="alice@example.com", name="Alice O'Connor")
bob = User(email="bob@example.com", name='Bob "The Builder"')
graph.add_node(alice)
graph.add_edge(Follows(alice, bob, since=1704067200))
graph.flush() # 一次网络调用,原子事务
```
30 秒内试用
```bash
pip install graphorm
```
```python
from graphorm import Node, Edge, Graph
class User(Node):
__primary_key__ = ["email"]
email: str
name: str
class Follows(Edge):
since: int
graph = Graph("social", host="localhost", port=6379)
graph.create()
alice = User(email="alice@example.com", name="Alice")
bob = User(email="bob@example.com", name="Bob")
graph.add_node(alice)
graph.add_edge(Follows(alice, bob, since=1704067200))
graph.flush()
```
GitHub: [https://github.com/hello-tmst/graphorm](https://github.com/hello-tmst/graphorm)
我们很乐意收到诚实的反馈:
• 这是否解决了您真正的痛点?
• 生产环境使用还缺少什么?
• 有任何 API 设计建议吗?
33 分•作者: DamnInteresting•14 天前
1 分•作者: shivam-dev•14 天前
1 分•作者: speckx•14 天前
1 分•作者: askl•14 天前