yb2460 / cli-anything-wps
PublicCLI harness for WPS Office -- let AI agents control Writer, Calc & Impress via COM automation
This is a command-line tool that lets you control WPS Office (the popular Chinese office suite) through simple text commands. It provides 47 commands for creating, editing, and exporting documents, spreadsheets, and presentations. The tool is designed so AI assistants can automate office tasks just as easily as they can work with open-source software. You can use it interactively from the terminal or hand it to an AI agent for batch automation. Everything runs through the real WPS Office engine, so the output looks exactly like documents created manually.
How It Works
You discover this tool when looking for a way to control WPS Office programmatically, perhaps for batch report generation or AI agent integration.
You install it with a simple command, and it works alongside your already-installed WPS Office on Windows.
You start a new project by telling the tool what kind of document you want: a text document, spreadsheet, or presentation.
You add paragraphs, headings, tables, and images by typing simple commands. Everything you type gets added to your document automatically.
Here's the exciting part: you hand this tool to an AI assistant, and it can now create and edit WPS documents on your behalf, exactly like it would with open-source software.
Export to DOCX, PDF, TXT, HTML, or RTF formats
Export to XLSX, CSV, PDF, or HTML formats
Export to PPTX or PDF formats
Your document appears exactly as you planned, rendered by the real WPS Office engine with perfect formatting, ready to share or print.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.