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 auto-discovers .tex files with \documentclass and lets you select which documents to build.
Run tx build to compile your documents remotely. The first build creates the project on TexOps; subsequent builds use incremental file sync for speed.
Configuration
Project settings are stored in .texops.yaml:
project_key — unique identifier (safe to commit)
distribution_version — TexLive version (e.g. texlive:2021)