{"repo":"tomohiro-owada/affine-cli","free":true,"listed":false,"github":"https://github.com/tomohiro-owada/affine-cli","clone":"git clone https://github.com/tomohiro-owada/affine-cli.git","description":"CLI for AFFiNE - manage workspaces, documents, databases, tables, tags, and more from your terminal","language":"JavaScript","stars":19,"topics":["affine","cli","crdt","document-management","golang","graphql","markdown","self-hosted","websocket","yjs"],"license":"MIT","category":"cli-tools","readme_excerpt":"affine-cli A standalone CLI for AFFiNE — manage workspaces, documents, databases, tables, comments, tags, and more from your terminal. Built for self-hosted AFFiNE instances. Works with both email/password authentication and API tokens. Features - Document operations — create, read, export, append, replace via Markdown - Rich text support — bold, italic, code, strikethrough, links rendered natively in AFFiNE - Markdown tables — col col syntax converted to native affine:table blocks - Database blocks — create databases with typed columns and rows - Tags, comments, blobs, notifications — full CRUD - Structured JSON output — pipe-friendly, with --fields filtering - Dry-run mode — preview destructive operations before executing - AI-agent friendly — affine schema outputs full JSON Schema for all commands Installation From source Build locally Configuration Set credentials via environment variables: Or use an API token: Config file is also supported at /.config/affine-mcp/config (key=value format). Environment variables take precedence. Quick Start Commands Workspaces Documents Database Blocks Table Blocks Tables are also created automatically from Markdown table syntax in create-from-markdown and append-markdown . Tags Comments User & Auth Notifications Access Tokens Blobs (File Storage) History Global Flags Flag Description ------ ------------- -w, --workspace Workspace ID (overrides AFFINE WORKSPACE ID ) --dry-run Preview destructive operations without executing --fields Filter","default_branch":null,"files":null,"tree":[],"storefront":"/r/tomohiro-owada","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tomohiro-owada/affine-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}