{"id":37185714,"url":"https://github.com/bro3886/gtasks","last_synced_at":"2026-01-14T21:31:11.561Z","repository":{"id":46534920,"uuid":"310691991","full_name":"BRO3886/gtasks","owner":"BRO3886","description":"A CLI client for Google Tasks, written in Go","archived":false,"fork":false,"pushed_at":"2025-09-25T11:22:16.000Z","size":1054,"stargazers_count":108,"open_issues_count":7,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-25T13:25:29.509Z","etag":null,"topics":["cli","go","golang","google-tasks","hacktoberfest","tasklist"],"latest_commit_sha":null,"homepage":"https://gtasks.sidv.dev/","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/BRO3886.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-06T19:49:32.000Z","updated_at":"2025-09-25T11:22:21.000Z","dependencies_parsed_at":"2025-09-25T13:13:30.656Z","dependency_job_id":"cd576ebf-95d5-4032-b881-fe3eefb47440","html_url":"https://github.com/BRO3886/gtasks","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/BRO3886/gtasks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRO3886%2Fgtasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRO3886%2Fgtasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRO3886%2Fgtasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRO3886%2Fgtasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BRO3886","download_url":"https://codeload.github.com/BRO3886/gtasks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BRO3886%2Fgtasks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28435082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cli","go","golang","google-tasks","hacktoberfest","tasklist"],"created_at":"2026-01-14T21:31:10.875Z","updated_at":"2026-01-14T21:31:11.551Z","avatar_url":"https://github.com/BRO3886.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Tasks CLI\n\n`gtasks`: A CLI Tool for Google Tasks\n\n![gtasks image](docs/static/images/screenshot.png)\n\n---\n\n## Docs\n\nRefer to the [docs website](https://gtasks.sidv.dev) to read about available commands.\n\n## Instructions to install\n\n1. Download the binary for your system (check [releases](https://github.com/BRO3886/gtasks/releases))\n2. Move to a particular folder, for eg Documents\n3. Append the absolute path (use `pwd`) of the folder to `PATH`\n4. Execute `gtasks` from anywhere\n\n## Instructions to install using go install\n\n\u003e [!WARNING]\n\u003e Installing via `go install` is currently not working. Will be fixed soon.\n\n```bash\ngo install github.com/BRO3886/gtasks@latest\n```\n\n\n\n## Instructions to Run and Build from Source:\n\n### Prerequisites\n\n- Go 1.24+\n- Google Cloud Console OAuth2 credentials (see Configuration section)\n\n### Setup\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/BRO3886/gtasks\ncd gtasks\n```\n\n2. Create a `.env` file with your OAuth2 credentials:\n\n```bash\n# .env\nGTASKS_CLIENT_ID=your-client-id.apps.googleusercontent.com\nGTASKS_CLIENT_SECRET=your-client-secret\n```\n\n### Build Commands\n\n```bash\n# Development build (uses .env file)\nmake dev\n\n# Build for specific platforms\nmake linux    # Linux (amd64 + arm64)\nmake windows  # Windows (amd64)\nmake mac      # macOS (amd64 + arm64)\n\n# Build for all platforms\nmake all\n\n# Create release packages\nmake release\n```\n\n### Configuration\n\nTo use GTasks, you need to set up Google OAuth2 credentials:\n\n1. Go to [Google Cloud Console](https://console.cloud.google.com/)\n2. Create a new project or select existing one\n3. Enable the Google Tasks API\n4. Create OAuth2 credentials:\n\n   - Application type: \"Desktop application\"\n   - Add authorized redirect URIs:\n     - `http://localhost:8080/callback`\n     - `http://localhost:8081/callback`\n     - `http://localhost:8082/callback`\n     - `http://localhost:9090/callback`\n     - `http://localhost:9091/callback`\n\n5. Set environment variables:\n\n```bash\nexport GTASKS_CLIENT_ID=\"your-client-id.apps.googleusercontent.com\"\nexport GTASKS_CLIENT_SECRET=\"your-client-secret\"\n```\n\nOr create a `.env` file (for building from source).\n\n### Token Storage\n\nGTasks stores authentication tokens in `~/.gtasks/token.json`. This directory is created automatically on first login.\n\n- Usage\n\n```\nUsage:\n  gtasks [command]\n\nAvailable Commands:\n  help        Help about any command\n  login       Logging into Google Tasks\n  tasklists   View and create tasklists for currently signed-in account\n  tasks       View, create, list and delete tasks in a tasklist\n\nFlags:\n  -h, --help     help for gtasks\n  -t, --toggle   Help message for toggle\n\nUse \"gtasks [command] --help\" for more information about a command.\n```\n\n## Commands\n\n### Help\n\n- To see details about a command\n\n```bash\ngtasks \u003cCOMMAND\u003e help\n```\n\n### Auth\n\n- Login\n\n```bash\ngtasks login\n```\n\n- Logout\n\n```bash\ngtasks logout\n```\n\n### Tasklists\n\n- Viewing Tasklists\n\n```bash\ngtasks tasklists view\n```\n\n- Creating a Tasklist\n\n```bash\ngtasks tasklists add -t 'title'\ngtasks tasklists add --title 'title'\n```\n\n- Deleting a Tasklist\n\n```bash\ngtasks tasklists rm\n```\n\n### Tasks\n\n- To pre-select tasklist, provide it's title as follows:\n\n```bash\ngtasks tasks -l \u003ctitle\u003e subcommand [--subcommand-flags]\n```\n\nExamples:\n\n```bash\ngtasks tasks [--tasklist|-l] \"DSC VIT\" view [--include-completed | -i]\n```\n\n**Note:** If the `-l` flag is not provided you will be able to choose a tasklist from the prompt\n\n- Viewing tasks\n\n```bash\ngtasks tasks view\n```\n\n- Include completed tasks\n\n```bash\ngtasks tasks view -i\ngtasks tasks view --include-completed\n```\n\n- Sort options\n\n```bash\ngtasks tasks view ... --sort [due,title,position, default=position]\n```\n\n- Adding a task\n\n```bash\ngtasks tasks add\n```\n\n- Mark task as completed\n\n```bash\ngtasks tasks done\n```\n\n- Deleting a task\n\n```bash\ngtasks tasks rm\n```\n\n\u003cdiv align=\"center\"\u003e\nMade with :coffee: \u0026 \u003ca href=\"https://cobra.dev\"\u003eCobra\u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbro3886%2Fgtasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbro3886%2Fgtasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbro3886%2Fgtasks/lists"}