
aloth/olcli
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Overleaf CLI - ターミナルからLaTeXプロジェクトを引き出し、プッシュし、同期し、コンパイルできます。Gitリモートヘルパー、AIエージェント用のMCPサーバー、TypeScriptライブラリ。
概要
— 端末からLaTeXプロジェクトを同期、管理、コンパイルします。 Overleafプロジェクトはコマンドラインから直接操作できます。お気に入りのエディターでローカル編集、Gitでのバージョン管理、Overleafのクラウドコンパイルとシームレスに同期できます。 - 📋 すべてのOverleafプロジェクト - ✨ 空欄またはサンプルプロジェクト - ⬇️ プロジェクトファイルをオフライン編集用にローカルディレクトリに - ⬆️ ローカルでOverleafに戻す - 🔄 スマートコンフリクト検出付き双方向 - 🔍 プッシュ前にライブリモートに対してローカルファイルを - 🔀 — Overleafをネイティブgitリモート(ドキュメント)として使用- ✌️ - ローカルで削除されたファイルは次の同期時にOverleaf上で削除される - 🗑️ および✏️リモートファイルはパスごとに削除される - 🚫 - LaTeXビルドのアーティファクトとOSノイズを自動的にフィルタリング;拡張 .を使います
概要(AI 翻訳)
Overleafのコマンドラインインターフェース — LaTeXプロジェクトを端末から同期、管理、コンパイルできます。
Overleafプロジェクトはコマンドラインから直接操作できます。お気に入りのエディターでローカル編集、Gitでのバージョン管理、Overleafのクラウドコンパイルとシームレスに同期できます。
特徴
- 📋 すべてのOverleafプロジェクトをリスト
- ✨ **空白またはサンプルプロジェクトを作成してください
- ⬇️ **プロジェクトファイルをオフライン編集のためにローカルディレクトリにプルする
- ⬆️ ローカルの変更をOverleafに戻す
- 🔄 スマートコンフリクト検出と双方向同期
- 🔍 プッシュ前にライブリモートに対してローカルファイルを差し替える
- 📝 マークアップされた改訂 —
diff --latexdiffはアドバイザーやジャーナルが求める取り消し線付き・下線付きPDFを作成します - 🔀 Git remote — Overleafをネイティブのgitリモートとして使用(ドキュメント)
- ✌️ 双方向削除 — ローカルで削除されたファイルは次の同期時にOverleaf上で削除されます
- 🗑️ パスでリモートファイルの削除および✏️名前変更
- 🚫 スマート無視 — LaTeXビルドのアーティファクトとOSノイズを自動的にフィルタリング;
.olignoreで拡張します。 - 📄 Overleafのリモートコンパイラを使ったPDFをコンパイル
- 📦 個別ファイルまたはプロジェクトアーカイブをダウンロード
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
olcli — Overleaf CLI
Command-line interface for Overleaf — Sync, manage, and compile LaTeX projects from your terminal.
Work with Overleaf projects directly from your command line. Edit locally with your favorite editor, version control with Git, and sync seamlessly with Overleaf’s cloud compilation.
Features
- 📋 List all your Overleaf projects
- ✨ Create blank or example projects
- ⬇️ Pull project files to local directory for offline editing
- ⬆️ Push local changes back to Overleaf
- 🔄 Sync bidirectionally with smart conflict detection
- 🔍 Diff local files against the live remote before pushing
- 📝 Marked-up revisions —
diff --latexdiffproduces the struck-through/underlined PDF advisors and journals ask for - 🔀 Git remote — use Overleaf as a native git remote (docs)
- ✌️ Two-way deletions — files removed locally are deleted on Overleaf on next sync
- 🗑️ Delete and ✏️ rename remote files by path
- 🚫 Smart ignore — LaTeX build artifacts and OS noise filtered automatically; extend with
.olignore - 📄 Compile PDFs using Overleaf’s remote compiler
- 📦 Download individual files or full project archives
- 📤 Upload files to projects
- 💬 Review comments — list, add, resolve, reopen, delete, and reply to threads
- 🗂️ Preserve folder structure when pushing nested files
- ⏱️ Configurable timeout for slow connections
- 🔑 Password login for self-hosted instances (no browser required)
- ⚙️ Self-hosted Overleaf/ShareLaTeX support
- 📊 Output compile artifacts (
.bbl,.log,.auxfor arXiv submissions) - 🤖 MCP server for AI assistants (docs)
Perfect for:
- Editing LaTeX in your preferred text editor (Vim, VS Code, Emacs, etc.)
- Version control with Git while using Overleaf’s compiler
- Automating workflows and CI/CD pipelines
- Offline work with periodic sync
Installation
Homebrew (macOS/Linux)
brew tap aloth/tap
brew install olcli
npm (all platforms)
npm install -g @aloth/olcli
Or use with npx without installation:
npx @aloth/olcli list
For AI agents (via AgentSkills)
npx skills add aloth/olcli
インストール
npx @aloth/olcli list