Skip to content

💎 A pure front-end, high-performance Excel editor + 🤖 deeply integrated AI workflow automation ⚡ Visually control and complete all Excel tasks through AI

License

Notifications You must be signed in to change notification settings

wyyazlz/sheetnext

Repository files navigation

SheetNext Logo

SheetNext

✨ 数行代码可集成一个纯前端高性能 Excel 编辑器。
🤖 内置超级AI工作流程,目标用 AI 操纵 Excel 表格完成所有任务。

SheetNext Demo

✨ 特点

  • 📊 电子表格功能 - 支持电子表格核心功能如:单元格编辑、样式、公式引擎、图表、排序、筛选等
  • 🤖 AI 工作流 - 内置 AI 全自动操作工作流,简单配置可以生成模板、数据分析、公式编写、跨表逻辑操纵等
  • 📁 导入导出 - 原生支持 Excel (.xlsx) 文件的导入和导出,无需插件前端秒操作
  • 🚀 开箱即用 - 不用单独配置任何库和插件,安装后简单配置即用所有功能
  • 🔄 快速迭代 - 版本快速迭代更新,有问题可随时联系或提交 issue

🚀 快速开始

📦 使用 npm 安装

npm install sheetnext
<div id="SNContainer" style="width:100vw;height:100vh;padding:0 7px 7px"></div>
import SheetNext from 'sheetnext';
import 'sheetnext.css';

// 注意设置容器#SNContainer宽高
const SN = new SheetNext(document.querySelector('#SNContainer'));

🌐 浏览器直接引入

<!-- 引入样式 -->
<link rel="stylesheet" href="dist/sheetnext.css">

<!-- 编辑器容器 -->
<div id="SNContainer" style="width: 100vw; height: 100vh;padding:0 7px 7px"></div>

<!-- 引入脚本 -->
<script src="dist/sheetnext.umd.js"></script>

<!-- 初始化,注意设置宽高 -->
<script>
  const SN = new SheetNext(document.querySelector('#SNContainer'));
</script>

⚙️ 初始化配置

const SN = new SheetNext(document.querySelector('#container'), {
  AI_URL: "http://localhost:3000/sheetnextAI",  // AI 中转地址(可选)
  AI_TOKEN: "your-token"                        // 中转 token(可选)
});

🔗 相关链接

About

💎 A pure front-end, high-performance Excel editor + 🤖 deeply integrated AI workflow automation ⚡ Visually control and complete all Excel tasks through AI

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published