‹ 返回总目录
工具 最近更新08-01

recipe-save-email-to-doc

| 2026-08-01 收录

☆ 收藏
🛒 📚 AI提效实战指南 · 图解Skill🛒 📱 大流量手机卡 · 低月租📣 加入推广 · 佣金80-300/张 ›

🛍️ 更多精选好物 ›

📊 公开数据一览

📦 榜单安装量24.7K
⭐ GitHub Stars30,166(fork 1762)
🗓️ 最近推送2026-08-01
🌱 项目创建2026-03-02
💻 语言 / LicenseRust · Apache-2.0
🐛 开放Issue117

📝 工具简介

命令行工具,统一操作Drive、Gmail、Calendar等Google服务,支持AI agent技能。

📖 怎么用

先装 gws,用 `npm install -g @googleworkspace/cli` 最省事,或者 `brew install googleworkspace-cli` 也行。装完先 `gws auth setup` 把 Google Cloud 项目配好,再 `gws auth login` 完成 OAuth 登录。登录后就能操作 Gmail 和 Drive 了,比如 `gws drive files list --params '{"pageSize": 5}'` 先列几个文件试试。这工具是动态生成命令的,Google 加新接口它自动就能用,不用手动更新命令列表。注意它还在活跃开发中。

📋 迷你测评

同样是Google服务命令行工具。亮点是把邮件内容存成文档,方便后续整理或引用。适合做邮件备份或资料汇总,具体效率提升未给出数据。

📄 README 要点

这是gws谷歌工作区命令行工具的一个使用示例,gws可以调用Drive、Gmail、Calendar等所有谷歌工作区API,不需要写样板代码,输出结构化JSON格式。它的命令不是静态的,而是运行时读取谷歌Discovery服务动态生成,所以谷歌新增API后它自动支持。安装需要Node.js 18以上,可以用npm安装或下载预编译二进制文件。这个示例具体演示怎么把邮件内容保存到文档里,适合那些想自动化处理邮件和文档工作流的人,比如把重要邮件存档到Google Docs里。项目还在活跃开发中,到1.0版本前可能会有破坏性变更,而且不是谷歌官方支持的产品。

查看英文原文
gws One CLI for all of Google Workspace — built for humans and AI agents. Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included. [!NOTE] This is not an officially supported Google product. ⬇️ Download the latest release for your OS gws doesn't ship a static list of commands. It reads Google's own Discovery Service at runtime and builds its entire command surface dynamically. When Google Workspace adds an API endpoint or method, gws picks it up automatically. [!IMPORTANT] This project is under active development. Expect breaking changes as we march toward v1.0. Contents Prerequisites Installation Quick Start Why gws? Authentication AI Agent Skills Advanced Usage Environment Variables Exit Codes Architecture Troubleshooting Development Prerequisites Node.js 18+ — for npm install (or download a pre built binary from GitHub Releases) A Google Cloud project — required for OAuth credentials. You can create one via the Google Cloud Console or with the gcloud CLI or with the gws auth setup command. A Google account with access to Google Workspace Installation The recommended way to install gws is to download the pre built binary for your OS and architecture from the GitHub Releases page. Extract the archive and place the gws binary in your $PATH . For convenience, you can also use npm to automate downloading the appropriate binary from GitHub Releases: [安装/使用命令见下方] Or build from source: [安装/使用命令见下方] A Nix flake is also available at github:googleworkspace/cli [安装/使用命令见下方] On macOS and Linux, you can also install via Homebrew: [安装/使用命令见下方] Quick Start [安装/使用命令见下方] Why gws? For humans — stop writing curl calls against REST docs. gws gives you help on every resource, dry run to preview requests, and auto‑pagination. For AI agents — every response is structured JSON. Pair it with the included agent skills and your LLM can manage Workspace without custom tooling. [安装/使用命令见下方] Authentication The CLI supports multiple a

💬 评论(0)

交流使用体验、避坑建议;违规内容将被删除

💬 意见反馈 / 联系客服

数据来源:skills.sh 榜单 + GitHub 公开数据,非人工实测,仅供参考