{"id":16761775,"url":"https://github.com/angristan/trakt-cli","last_synced_at":"2025-04-10T17:52:32.864Z","repository":{"id":64304347,"uuid":"460454287","full_name":"angristan/trakt-cli","owner":"angristan","description":"A CLI for trakt.tv","archived":false,"fork":false,"pushed_at":"2024-07-06T09:11:29.000Z","size":40,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T13:12:45.839Z","etag":null,"topics":["cli","go","golang","movies","series","trakt","trakt-api","trakt-tv","tv"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angristan.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":"2022-02-17T13:47:44.000Z","updated_at":"2024-04-23T13:23:37.000Z","dependencies_parsed_at":"2024-06-20T01:36:26.733Z","dependency_job_id":null,"html_url":"https://github.com/angristan/trakt-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftrakt-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftrakt-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftrakt-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftrakt-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angristan","download_url":"https://codeload.github.com/angristan/trakt-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262434,"owners_count":21074308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","go","golang","movies","series","trakt","trakt-api","trakt-tv","tv"],"created_at":"2024-10-13T04:43:27.102Z","updated_at":"2025-04-10T17:52:32.846Z","avatar_url":"https://github.com/angristan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trakt-cli\n\n```\n\n████████╗██████╗  █████╗ ██╗  ██╗████████╗     ██████╗██╗     ██╗\n╚══██╔══╝██╔══██╗██╔══██╗██║ ██╔╝╚══██╔══╝    ██╔════╝██║     ██║\n   ██║   ██████╔╝███████║█████╔╝    ██║       ██║     ██║     ██║\n   ██║   ██╔══██╗██╔══██║██╔═██╗    ██║       ██║     ██║     ██║\n   ██║   ██║  ██║██║  ██║██║  ██╗   ██║       ╚██████╗███████╗██║\n   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝        ╚═════╝╚══════╝╚═╝\n```\n\nThis is a CLI for [trakt.tv](https://trakt.tv) using the [trakt.tv API](https://trakt.docs.apiary.io/).\n\n![](https://user-images.githubusercontent.com/11699655/154494260-d3ff23ec-72b2-45e4-9f39-41f52119621b.png)\n\n## Installation\n\nGrab a binary build from the [releases](https://github.com/angristan/trakt-cli/releases).\n\n## Development\n\n```\ngit clone https://github.com/angristan/trakt-cli\ncd trakt-cli\ngo build\n```\n\n## Usage\n\n```\n➜  trakt\nSource code: https://github.com/angristan/trakt-cli\n\nUsage:\n  trakt-cli [command]\n\nAvailable Commands:\n  auth        Authenticate with trakt.tv\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  history     Show your watched history\n\nFlags:\n  -h, --help     help for trakt-cli\n\nUse \"trakt-cli [command] --help\" for more information about a command.\n```\n\n## Authentication\n\nYou need to create a _Trakt API app_ to use the API.\n\nGo to https://trakt.tv/oauth/applications/new and create a new app.\n\nThis will give you a _Client ID_ and _Client secret_ for your app.\n\nYou can now log in with the CLI:\n\n```\n➜  trakt auth --client-id xxx --client-secret yyy\nPlease go to https://trakt.tv/activate and enter the following code: XXXXXXXX\nSuccessfully authenticated, creds written to ~/.trakt.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Ftrakt-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangristan%2Ftrakt-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Ftrakt-cli/lists"}