{"id":25175882,"url":"https://github.com/weavefox/libro","last_synced_at":"2025-05-16T03:05:57.556Z","repository":{"id":203684298,"uuid":"691446741","full_name":"weavefox/libro","owner":"weavefox","description":"A Notebook with Flexible Customization and Easy Integration.","archived":false,"fork":false,"pushed_at":"2025-04-29T07:47:25.000Z","size":35454,"stargazers_count":404,"open_issues_count":2,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-10T08:34:19.166Z","etag":null,"topics":["agent","ai","artificial-intelligence","data-science","jupyter","jupyter-notebook","jupyter-notebooks","libro","machine-learning","notebook","python","sql"],"latest_commit_sha":null,"homepage":"https://weavefox.github.io/libro","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weavefox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-14T07:40:42.000Z","updated_at":"2025-05-09T00:12:51.000Z","dependencies_parsed_at":"2023-12-31T17:28:39.814Z","dependency_job_id":"83c9f683-5232-4f93-8e5c-3cb945aa3c3f","html_url":"https://github.com/weavefox/libro","commit_stats":{"total_commits":504,"total_committers":17,"mean_commits":"29.647058823529413","dds":0.625,"last_synced_commit":"eea64f87057efa2641db9e1c9eaa5a149a4fde8d"},"previous_names":["difizen/libro","weavefox/libro"],"tags_count":2306,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavefox%2Flibro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavefox%2Flibro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavefox%2Flibro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavefox%2Flibro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weavefox","download_url":"https://codeload.github.com/weavefox/libro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459088,"owners_count":22074605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","artificial-intelligence","data-science","jupyter","jupyter-notebook","jupyter-notebooks","libro","machine-learning","notebook","python","sql"],"created_at":"2025-02-09T13:01:19.155Z","updated_at":"2025-05-16T03:05:52.547Z","avatar_url":"https://github.com/weavefox.png","language":"Jupyter Notebook","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro-text.svg\" width=\"160\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003elibro：灵活定制、轻松集成的 Notebook 产品方案\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/difizen/libro/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/difizen/libro/ci.yml?branch=main\u0026style=for-the-badge\u0026logo=github\" alt=\"Code: CI\" style=\"max-width: 100%;\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/difizen/libro?style=for-the-badge\" alt=\"MIT License\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@difizen/libro-core\"\u003e\u003cimg alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@difizen/libro-core?logo=npm\u0026style=for-the-badge\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/difizen/libro/pulls\"\u003e\u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?style=for-the-badge\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://libro.difizen.net\"\u003e\u003cimg alt=\"website\" src=\"https://img.shields.io/static/v1?label=\u0026labelColor=505050\u0026message=Homepage\u0026color=0076D6\u0026style=for-the-badge\u0026logo=google-chrome\u0026logoColor=f5f5f5\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.gg/GEx6pa3GaG\"\u003e\u003cimg alt=\"discord\" src=\"https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge\u0026logo=discord\u0026logoColor=white\" height=\"20px\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 特性\n\n- 🚀 提供完整的 Notebook 能力和丰富的周边功能，基于现有组合快速上手。\n- 🌱 提供内核级别的扩展能力，所有层次的内容均允许二次开发定制。\n- 🔮 定义大模型工作流，内置大模型交互和辅助开发能力。\n\n![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_homepage_zh.png)\n\n---\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n## 目录\n\n- [快速开始](#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B)\n  - [安装](#%E5%AE%89%E8%A3%85)\n  - [启动](#%E5%90%AF%E5%8A%A8)\n- [新特性](#%E6%96%B0%E7%89%B9%E6%80%A7)\n  - [AI 能力](#ai-%E8%83%BD%E5%8A%9B)\n  - [Prompt Cell](#prompt-cell)\n  - [Sql Cell](#sql-cell)\n- [架构](#%E6%9E%B6%E6%9E%84)\n- [后续计划](#%E5%90%8E%E7%BB%AD%E8%AE%A1%E5%88%92)\n- [更多](#%E6%9B%B4%E5%A4%9A)\n  - [提交issue](#%E6%8F%90%E4%BA%A4issue)\n  - [贡献代码](#%E8%B4%A1%E7%8C%AE%E4%BB%A3%E7%A0%81)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n---\n\n## 快速开始\n\n### 安装\n```bash\npip install libro\n```\n\n\u003e [!NOTE]\n\u003e 使用的 Python 版本为 3.10-3.12，过高的 Python 版本可能存在依赖包不支持的问题。\n\n详情请阅读[快速开始](./apps/docs/docs/quickstart/index.md)。\n\n### 启动\n在终端中输入命令 `libro` 启动 Web 服务器，随后浏览器会自动打开 Libro。\n\n```bash\nlibro\n```\n![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/libro_launch.png)\n\n## 新特性\n\n### AI 能力\n\n\u003ctable align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_completion_zh.gif\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/ai_completion_zh.gif\" alt=\"AI 代码补全\" width=\"150\" height=\"100\"\u003e\n      \u003c/a\u003e\n      \u003cp\u003eAI 代码补全\u003c/p\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug_zh.gif\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/error_debug_zh.gif\" alt=\"错误修复\" width=\"150\" height=\"100\"\u003e\n      \u003c/a\u003e\n      \u003cp\u003e错误修复\u003c/p\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat_zh.gif\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_chat_zh.gif\" alt=\"AI 对话\" width=\"150\" height=\"100\"\u003e\n      \u003c/a\u003e\n      \u003cp\u003eAI 对话\u003c/p\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain_zh.gif\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_explain_zh.gif\" alt=\"代码解释\" width=\"150\" height=\"100\"\u003e\n      \u003c/a\u003e\n      \u003cp\u003e代码解释\u003c/p\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization_zh.gif\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/cell_opitimization_zh.gif\" alt=\"代码优化\" width=\"150\" height=\"100\"\u003e\n      \u003c/a\u003e\n      \u003cp\u003e代码优化\u003c/p\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n### Prompt Cell\n\n- 增强直接与大模型交互的能力，支持文本对话，多模态表达等。\n- 增强对于常见输出类型的交互能力，如在输出代码时给出复制、运行等操作能力。\n- 内置了 OpenAI 系列模型，您还可以通过以下方式扩展模型～\n  - 基于 langchain 定义 llm、agent 等可对话对象的变量，他们可以直接用在 Prompt cell 中。\n  - 基于 libro-ai 扩展自己的模型。\n- 支持选择聊天标识，使得选择该聊天标识的 Prompt Cell 都在一个聊天上下文中。\n- 支持 Prompt Cell 保存为一个变量，该变量即为 langchain 的 AIMessage。\n\n详情请阅读 [prompt cell 指南](./apps/docs/docs/manual/prompt-cell.md)。\n\n\u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell_zh.gif\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/prompt_cell_zh.gif\" alt=\"prompt cell\" width=\"150\" height=\"100\"\u003e\n\u003c/a\u003e\n\n### Sql Cell\n\n- 支持与 sql 的执行交互能力。\n- 连接 sql 数据库即可在 notebook 中写 sql 代码。\n\n详情请阅读 [sql cell 指南](./apps/docs/docs/manual/sql-cell.md)。\n\n\u003ca href=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell.gif\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/wiki/difizen/libro/assets/sql_cell_zh.gif\" alt=\"sql cell\" width=\"150\" height=\"100\"\u003e\n\u003c/a\u003e\n\n## 架构\n\n![image](https://raw.githubusercontent.com/wiki/difizen/libro/assets/technical_architecture_zh.png)\n\n## 后续计划\n\n- AI 特性接入\n- Libro 在浏览器端执行\n- 版本 Diff 接入\n\n## 更多\n\n### 提交issue\n\n😊 我们建议您使用[github issue](https://github.com/difizen/libro/issues) 提交您的疑问, 我们通常会在2日内回复。\n\n### 贡献代码\n\n🤝 请查阅 [CONTRIBUTING.md](./CONTRIBUTING_zh.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavefox%2Flibro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweavefox%2Flibro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavefox%2Flibro/lists"}