ifly-translate

Solid

iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages. Use when the user wants to translate text. Pure Python stdlib, no pip dependencies.

AI & Automation 453 stars 121 forks Updated 1 months ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
88
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ifly-translate Translate text using iFlytek's Machine Translation API (机器翻译). Supports 70+ language pairs. ## Setup 1. Create an app at [讯飞控制台](https://console.xfyun.cn) with 机器翻译 service enabled 2. Set environment variables: ```bash export XFYUN_APP_ID="your_app_id" export XFYUN_API_KEY="your_api_key" export XFYUN_API_SECRET="your_api_secret" ``` ## Usage ### Basic translation (Chinese → English by default) ```bash python3 scripts/translate.py "你好世界" ``` ### Specify source and target language ```bash python3 scripts/translate.py -s en -t cn "Hello world" ``` ### Read from stdin ```bash echo "こんにちは" | python3 scripts/translate.py - -s ja -t cn ``` ### Read from file ```bash python3 scripts/translate.py -f document.txt -s cn -t en ``` ### Options | Flag | Short | Description | |------|-------|-------------| | `text` | | Text to translate (use `-` for stdin) | | `--file` | `-f` | Read text from a file | | `--from` | `-s` | Source language code (default: `cn`) | | `--to` | `-t` | Target language code (default: `en`) | | `--verbose` | `-v` | Show source/target language labels | | `--raw` | | Output raw JSON response | ### Common language codes | Code | Language | Code | Language | |------|----------|------|----------| | `cn` | 中文 | `en` | English | | `ja` | 日语 | `ko` | 韩语 | | `fr` | 法语 | `de` | 德语 | | `es` | 西班牙语 | `ru` | 俄语 | | `ar` | 阿拉伯语 | `th` | 泰语 | | `vi` | 越南语 | `pt` | 葡萄牙语 | | `it` | 意大利语 | `tr` | 土耳其语 | Aliases are supported: `zh`→`cn`, ...

Details

Author
iflytek
Repository
iflytek/iFly-Skills
Created
1 months ago
Last Updated
1 months ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

bruce-doc-converter

双向文档转换工具,将 Word (.docx)、Excel (.xlsx)、PowerPoint (.pptx) 和 PDF (.pdf) 转换为 AI 友好的 Markdown 格式,或将 Markdown (.md) 转换为 Word (.docx) 格式。当用户请求以下操作时使用:(1) 明确请求文档转换,包括任何包含"转换"、"转为"、"转成"、"convert"、"导出"、"export"等词汇的请求(例如:"转换文档"、"把这个文件转为docx"、"convert to markdown"、"导出为Word");(2) 需要 AI 理解文档内容("帮我分析这个 Word 文件"、"读取这个 PDF"、"总结这个 Excel");(3) 上传文档文件并询问内容("这是什么"、"帮我看看");(4) 任何涉及 .docx、.xlsx、.pptx、.pdf、.md 文件格式转换的请求。

49 Updated 2 weeks ago
bruc3van
AI & Automation Featured

narrator-ai-cli

Create AI-narrated film/drama commentary videos via CLI. Two workflow paths (Original & Adapted narration), 93 movies, 146 BGM tracks, 63 dubbing voices in 11 languages, 90+ narration templates. Use when creating narration videos, film commentary, short drama dubbing, or video production.

667 Updated 1 months ago
GridLtd-ProductDev
AI & Automation Solid

tlive

IM bridge for AI coding tools — chat with Claude Code / Codex from Telegram, Discord, or Feishu. Approve permissions, get streaming responses, manage sessions from your phone. Use for: starting IM bridge, configuring IM platforms, checking status, diagnosing issues. Trigger phrases: "tlive", "IM bridge", "消息桥接", "手机交互", "启动桥接", "连接飞书", "连接Telegram", "诊断", "查看日志", "配置". Do NOT use for: building bots, webhook integrations, or general coding tasks.

199 Updated 1 months ago
y49
AI & Automation Solid

refly

Base skill for Refly ecosystem: creates, discovers, and runs domain-specific skills bound to workflows. Routes user intent to matching domain skills via symlinks, delegates execution to Refly backend. Use when user asks to: create skills, run workflows, automate multi-step tasks, or manage pipelines. Triggers: refly, skill, workflow, run skill, create skill, automation, pipeline. Requires: @refly/cli installed and authenticated.

7,331 Updated 2 months ago
refly-ai
Web & Frontend Solid

autocli

Use autocli CLI to interact with social/content websites (HackerNews, DevTo, Lobsters, StackOverflow, Steam, Linux-do, Arxiv, Wikipedia, Apple-Podcasts, Xiaoyuzhou, BBC, Hugging Face, SinaFinance, Google, V2EX, Bloomberg, Twitter/X, Bilibili, Reddit, Zhihu, Xiaohongshu, Xueqiu, Weibo, Douban, WeRead, YouTube, Medium, Substack, SinaBlog, BOSS直聘, Jike, Facebook, Instagram, TikTok, Yollomi, Yahoo-Finance, Barchart, LinkedIn, Reuters, SMZDM, Ctrip, Coupang, Grok, Jimeng, Chaoxing, Weixin, Doubao, Cursor, Codex, ChatWise, ChatGPT, Doubao-App, Notion, Discord, Antigravity etc.) via the user's Chrome login session. ALWAYS prefer autocli over playwright/browser automation for these supported sites. Triggers: user asks to browse, search, or fetch hot/trending content from internet, post, or read messages on any web site;

841 Updated 1 months ago
nashsu