← 返回
安全合规 Key 中文

Yandex 360 CLI (Disk, Calendar, Mail)

CLI tool for Yandex Disk, Calendar, and Mail via Yandex OAuth API
通过 Yandex OAuth API 的 Yandex 网盘、日历、邮件命令行工具
smvlx
安全合规 clawhub v1.1.0 1 版本 100000 Key: 需要
★ 3
Stars
📥 703
下载
💾 9
安装
1
版本
#latest

概述

yax — Yandex 360 CLI

CLI tool for Yandex Disk, Calendar, and Mail via Yandex OAuth API.

Features

  • Disk: info, list, mkdir, upload, download
  • Calendar: list calendars, create events (via CalDAV)
  • Mail: ⚠️ Limited — Yandex has no public HTTP API for mail (IMAP/SMTP only, ports often blocked in cloud)

Prerequisites

  1. Create a Yandex OAuth app at https://oauth.yandex.ru/client/new
    • Redirect URI: https://oauth.yandex.ru/verification_code
    • Required scopes:
    • cloud_api:disk.app_folder — Disk app folder access
    • cloud_api:disk.info — Disk info
    • calendar:all — Calendar read/write
    • mail:smtp — Mail sending (SMTP only, no HTTP API)
    • Note the Client ID and Client Secret
  1. Save config to ~/.openclaw/yax.env:

```

YAX_CLIENT_ID=your_app_client_id

YAX_CLIENT_SECRET=your_app_secret_if_any

```

Setup & Auth

scripts/setup.sh        # Create env template
node src/yax.cjs auth   # OAuth flow (opens browser URL, paste code)

Usage

# Disk
node src/yax.cjs disk info
node src/yax.cjs disk list /
node src/yax.cjs disk mkdir /test-folder
node src/yax.cjs disk upload ./local-file.txt /remote-path.txt
node src/yax.cjs disk download /remote-path.txt ./local-file.txt

# Calendar
node src/yax.cjs calendar list
node src/yax.cjs calendar create "Meeting" "2026-02-14" "11:00:00" "12:00:00" "Holiday meeting" "Europe/Moscow"

# Mail (informational only)
node src/yax.cjs mail

Implementation Details

  • Calendar: Uses raw CalDAV HTTP requests to caldav.yandex.ru. Automatically discovers user login via OAuth info endpoint and calendar paths via PROPFIND. Supports timezone-aware event creation. No external dependencies.
  • Mail: Yandex does not offer a public REST/HTTP API for mail operations. Only IMAP/SMTP is available, which requires direct TCP connections on ports 993/465 — typically blocked in cloud environments (Railway, etc.). The Yandex 360 Admin API exists for organization accounts but is not suitable for personal use.

Scripts

  • scripts/setup.sh — Create env template
  • scripts/start.sh — N/A (CLI tool, not a daemon)
  • scripts/stop.sh — N/A
  • scripts/status.sh — Check auth status

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 13:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,081
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,687
communication-collaboration

GigaChat (Sber AI) Proxy

smvlx
通过 gpt2giga 代理将 GigaChat(Sber AI)与 OpenClaw 集成
★ 0 📥 720