{"id":19819995,"url":"https://github.com/mbund/canvas-cli","last_synced_at":"2026-04-02T00:28:59.666Z","repository":{"id":65806848,"uuid":"597954535","full_name":"mbund/canvas-cli","owner":"mbund","description":"Interact with Canvas LMS from the command line","archived":false,"fork":false,"pushed_at":"2025-03-12T15:20:46.000Z","size":3896,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T08:53:53.946Z","etag":null,"topics":["api","async","canvas","cli","rest","rust","tokio"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-06T04:20:14.000Z","updated_at":"2025-05-14T19:45:30.000Z","dependencies_parsed_at":"2025-01-11T08:25:24.157Z","dependency_job_id":"795f4187-8ad5-4c95-b7ec-6520a544ae72","html_url":"https://github.com/mbund/canvas-cli","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mbund/canvas-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbund%2Fcanvas-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbund%2Fcanvas-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbund%2Fcanvas-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbund%2Fcanvas-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbund","download_url":"https://codeload.github.com/mbund/canvas-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbund%2Fcanvas-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30338581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T14:50:13.961Z","status":"ssl_error","status_checked_at":"2026-03-10T14:49:32.490Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","async","canvas","cli","rest","rust","tokio"],"created_at":"2024-11-12T10:21:00.374Z","updated_at":"2026-03-10T15:02:41.668Z","avatar_url":"https://github.com/mbund.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build and Release](https://github.com/mbund/canvas-cli/actions/workflows/build.yaml/badge.svg)](https://github.com/mbund/canvas-cli/actions/workflows/build.yaml)\n![Crates.io Version](https://img.shields.io/crates/v/canvas-cli)\n![Crates.io License](https://img.shields.io/crates/l/canvas-cli)\n\nInteract with [Canvas LMS by Instructure](https://instructure.com) from the command line. If your institution hosts Canvas under a `*.instructure.com` domain, it is very likely this will work :rocket:\n\nFeatures:\n\n- [Submit assignments](#submit-assignments)\n- [Download files](#download-files)\n\n![canvas-cli --help](./docs/help.gif)\n\n## Install\n\n### Crate\n\n```\ncargo install canvas-cli\n```\n\n### Single Static Binary\n\nDownload from the [GitHub Releases](https://github.com/mbund/canvas-cli/releases/latest).\n\n### Nix\n\nAs a [Nix](https://nixos.org) flake:\n\n```nix\n{\n  inputs = {\n    canvas-cli.url = \"github:mbund/canvas-cli\";\n  };\n}\n```\n\n```nix\n{\n  pkgs,\n  canvas-cli,\n  ...\n}: {\n  # home-manager\n  home.packages = with pkgs; [\n    # ...\n    canvas-cli.packages.x86_64-linux.default\n  ];\n\n  # nixos\n  environment.systemPackages = with pkgs; [\n    # ...\n    canvas-cli.packages.x86_64-linux.default\n  ];\n}\n```\n\nOr run it directly with `nix run github:mbund/canvas-cli auth`.\n\n## Authenticate\n\nRun `canvas-cli auth` and follow the prompts. In total, you will:\n\nGo to your user profile settings at `https://YOUR_INSTITUTION.instructure.com/profile/settings` or through the UI. Go to **Approved Integrations** and click on **+ New Access Token**.\n\n![](./docs/new-access-token.png)\n\nThen, give your access token a reasonable name like `canvas-cli` and click **Generate Token**. You can leave the **Expiration date** and **Expiration time** blank for it to never expire, or to whatever date you feel is reasonable. Note that access tokens can be revoked at any time you want to later.\n\n![](./docs/new-access-token-dialog.png)\n\nFinally, copy this `Token` field and paste it into `canvas-cli auth` when it asks. You can now close out of the dialog.\n\n![Access Token Details dialog with ](./docs/access-token-details.png)\n\n```\n$ canvas-cli auth\n\u003e Canvas Instance URL: https://osu.instructure.com\n\u003e Access token: ********\n✓ Test query successful\nAuthenticated as:\n  Mark Bundschuh (he / him / his)\n```\n\n## Submit assignments\n\n![canvas-cli submit --help](./docs/submit-help.gif)\n\nSubmit interactively, selecting the course and assignment from a dropdown.\n\n![canvas-cli submit upload-test.pdf](./docs/submit.gif)\n\nOr submit programmatically, specifying the Course ID and Assignment ID as arguments. These IDs are in the URL of the assignment on your Canvas instance.\n\n![canvas-cli submit -c 162316 -a 3936973 upload-test-1.pdf](./docs/submit-ids.gif)\n\nOr just pass the URL to parse it.\n\n![canvas-cli submit -u https://osu.instructure.com/courses/183022/assignments/4598164 upload-test-1.pdf](./docs/submit-url.gif)\n\n## Download files\n\nDownload one or more files from a course. Note that the list is like the **Files** tab on the course page, rather than any linked files under an Assignment.\n\n![canvas-cli download](./docs/download.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbund%2Fcanvas-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbund%2Fcanvas-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbund%2Fcanvas-cli/lists"}