{"id":50998806,"url":"https://github.com/thedavidweng/canvas-cli","last_synced_at":"2026-06-20T12:03:23.857Z","repository":{"id":364474333,"uuid":"1267997641","full_name":"thedavidweng/canvas-cli","owner":"thedavidweng","description":"Agent-friendly CLI for Canvas LMS. Stable JSON output, automatic pagination, mutation safety gates, audit logging.","archived":false,"fork":false,"pushed_at":"2026-06-20T09:28:00.000Z","size":413,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-20T11:20:18.900Z","etag":null,"topics":["agent-friendly","api-client","canvas-lms","cli","education","go","json","lms"],"latest_commit_sha":null,"homepage":"https://thedavidweng.github.io/site/canvas-cli/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thedavidweng.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-13T03:39:50.000Z","updated_at":"2026-06-20T08:25:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thedavidweng/canvas-cli","commit_stats":null,"previous_names":["thedavidweng/canvas-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thedavidweng/canvas-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedavidweng%2Fcanvas-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedavidweng%2Fcanvas-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedavidweng%2Fcanvas-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedavidweng%2Fcanvas-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedavidweng","download_url":"https://codeload.github.com/thedavidweng/canvas-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedavidweng%2Fcanvas-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34568743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-friendly","api-client","canvas-lms","cli","education","go","json","lms"],"created_at":"2026-06-20T12:03:23.112Z","updated_at":"2026-06-20T12:03:23.852Z","avatar_url":"https://github.com/thedavidweng.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/icon.webp\" alt=\"canvas-cli\" width=\"160\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ecanvas-cli\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Agent-friendly CLI for Canvas LMS.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/thedavidweng/canvas-cli/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/thedavidweng/canvas-cli/ci.yml?branch=main\u0026style=flat-square\u0026label=ci\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/thedavidweng/canvas-cli/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/thedavidweng/canvas-cli?style=flat-square\" alt=\"Release\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/thedavidweng/canvas-cli/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/thedavidweng/canvas-cli?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/go-%3E%3D1.26-blue?style=flat-square\" alt=\"Go\"\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/thedavidweng/canvas-cli\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/thedavidweng/canvas-cli?style=flat-square\" alt=\"Go Report\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n`canvas-cli` gives students, teachers, scripts, and agents a stable terminal interface for Canvas LMS: predictable commands, JSON output, safe mutation gates, and a raw API escape hatch when the typed command surface is not enough.\n\n## Why\n\nCanvas automation often fails because browser flows, ad hoc exports, and one-off scripts are brittle. `canvas-cli` keeps the common LMS workflows small and scriptable while preserving enough structure for agents to reason about courses, assignments, submissions, files, and inbox state.\n\n## Quickstart\n\n### Install\n\nRun the following on macOS or Linux:\n\n```shell\ncurl -fsSL https://raw.githubusercontent.com/thedavidweng/canvas-cli/main/install.sh | sh\n```\n\nRun the following on Windows:\n\n```shell\npowershell -ExecutionPolicy ByPass -c \"irm https://raw.githubusercontent.com/thedavidweng/canvas-cli/main/install.ps1 | iex\"\n```\n\nThe installer detects Homebrew automatically and uses it when available (recommended for easy upgrades). Otherwise it downloads the binary to `~/.local/bin`.\n\n\u003cdetails\u003e\n\u003csummary\u003eOther installation methods\u003c/summary\u003e\n\n**Homebrew Cask (macOS/Linux):**\n\n```shell\nbrew tap thedavidweng/tap\nbrew install --cask canvas\n```\n\n**Go:**\n\n```shell\ngo install github.com/thedavidweng/canvas-cli/cmd/canvas@latest\n```\n\n**Manual download:** grab the archive for your platform from the [latest GitHub Release](https://github.com/thedavidweng/canvas-cli/releases/latest), extract it, and place the `canvas` binary on your `PATH`.\n\n\u003c/details\u003e\n\n### Set up\n\n```shell\ncanvas auth login\n```\n\nThe CLI walks you through selecting your Canvas instance and authenticating. You can use an access token (recommended) or a session cookie (experimental, for schools that disable tokens).\n\nThen try it:\n\n```shell\ncanvas courses list\ncanvas assignments list --course 123 --json\n```\n\n### Uninstall\n\n```shell\n# Homebrew Cask\nbrew uninstall --cask canvas\n\n# install.sh\ncurl -fsSL https://raw.githubusercontent.com/thedavidweng/canvas-cli/main/install.sh | sh -s uninstall\n\n# Go\nrm \"$(go env GOPATH)/bin/canvas\"\n```\n\nRemove config if desired: `rm -rf ~/.config/canvas-cli`\n\n## Documentation\n\n- [Authentication \u0026 Configuration](docs/auth.md) — token, cookie, OAuth, profiles, env vars\n- [Command Reference](docs/command-spec.md) — full command inventory with examples\n- [JSON Contract](docs/json-contract.md) — envelope schema, exit codes, `--json` output\n- [Safety Model](docs/safety-model.md) — read-only mode, dry-run, confirm gates\n- [Architecture](docs/architecture.md) — codebase structure and design decisions\n- [Contributing](CONTRIBUTING.md) — development setup and guidelines\n\n\n## Infrastructure\n\n- **CI/CD:** [cli-workflow-template](https://github.com/thedavidweng/cli-workflow-template) — reusable GitHub Actions workflows\n- **Docs:** [site](https://github.com/thedavidweng/site) — landing page and documentation\n\n## License\n\nApache License 2.0. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedavidweng%2Fcanvas-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedavidweng%2Fcanvas-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedavidweng%2Fcanvas-cli/lists"}