Command-line client for TexOps — a remote LaTeX compilation service.
Install
go install github.com/texops/tx/cmd/tx@latest
Usage
tx login # Authenticate with TexOps
tx init # Initialize a project in the current directory
tx build # Build all documents
tx build <name> # Build a specific document
tx status # Show project status
tx token create [--name "CI"] # Create an API token
tx token list # List API tokens
tx token delete [name] # Delete an API token
Getting started
Run tx login to authenticate.
In your LaTeX project directory, run tx init to create a .texops.yaml config file. This interactively prompts for TexLive version and compiler, auto-discovers .tex files with \documentclass, and lets you select which documents to build. Use --texlive and --compiler flags to skip interactive prompts.
Run tx build to compile your documents remotely. The first build creates the project on TexOps; subsequent builds use incremental file sync for speed.