{"id":25875928,"url":"https://github.com/andrewarrow/toggl","last_synced_at":"2025-03-02T10:20:10.544Z","repository":{"id":249332352,"uuid":"831138067","full_name":"andrewarrow/toggl","owner":"andrewarrow","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-20T21:46:54.000Z","size":554,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T04:02:52.135Z","etag":null,"topics":["billing","clients","hours","tasks","teams","timer","tracker","tracker-application","trackers"],"latest_commit_sha":null,"homepage":"https://track.toggl.com/","language":"Rust","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/andrewarrow.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":"2024-07-19T18:47:26.000Z","updated_at":"2024-07-20T21:46:57.000Z","dependencies_parsed_at":"2024-07-20T04:10:18.273Z","dependency_job_id":null,"html_url":"https://github.com/andrewarrow/toggl","commit_stats":null,"previous_names":["andrewarrow/toggl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Ftoggl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Ftoggl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Ftoggl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewarrow%2Ftoggl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewarrow","download_url":"https://codeload.github.com/andrewarrow/toggl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241488953,"owners_count":19970964,"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":["billing","clients","hours","tasks","teams","timer","tracker","tracker-application","trackers"],"created_at":"2025-03-02T10:20:10.090Z","updated_at":"2025-03-02T10:20:10.526Z","avatar_url":"https://github.com/andrewarrow.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toggl\n\n![cURL](cURL.png)\n\nCopy as cURL one of your toggl.com http requests.\n\nPaste this into a text field and extract your cookie to a file like:\n\n```\nexport TOGGL_COOKIE='_gcl_au=ABC123...'\n```\n\nReplace (inside the single quotes) the `_gcl_au=ABC123...` stuff with your cookie value.\n\n# with api key vs cookie\n\n![apiToken](apiToken.png)\n\n```\nexport TOGGL_API_TOKEN=...\n```\n\n# building\n\n```\ncargo build\ncp targets/debug/toggle-cli .\n```\n\n# running\n\n```\n./toggl-cli\n--task=prefix or (--desc='desc of what I did' --time='when')\n\n./toggl-cli --task='foo'\n(this will search your projects and tasks for the string foo)\n\nexport TOGGLE_TASK_ID=123\n(you get 123 from the step before)\n\n./toggl-cli --desc='i did a lot for project foo.' --time='2024-07-19 16:00'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Ftoggl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewarrow%2Ftoggl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewarrow%2Ftoggl/lists"}