{"id":18044733,"url":"https://github.com/natterstefan/vscode-toggl-extension","last_synced_at":"2025-08-12T09:19:25.808Z","repository":{"id":36575789,"uuid":"173335412","full_name":"natterstefan/vscode-toggl-extension","owner":"natterstefan","description":"Track your working hours with Toggl (toggl.com) directly in Visual Studio Code (VS Code). ⌚️","archived":false,"fork":false,"pushed_at":"2022-02-11T17:04:51.000Z","size":1681,"stargazers_count":19,"open_issues_count":13,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T10:42:46.670Z","etag":null,"topics":["productivity","time-tracker","time-tracking","toggl","visual-studio-code","vscode","vscode-extension","vscode-plugin"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=natterstefan.vs-code-toggl-extension","language":"JavaScript","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/natterstefan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"github":["natterstefan"],"patreon":"natterstefan"}},"created_at":"2019-03-01T16:37:30.000Z","updated_at":"2024-02-25T19:56:55.000Z","dependencies_parsed_at":"2022-08-08T16:00:33.673Z","dependency_job_id":null,"html_url":"https://github.com/natterstefan/vscode-toggl-extension","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/natterstefan/vscode-toggl-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natterstefan%2Fvscode-toggl-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natterstefan%2Fvscode-toggl-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natterstefan%2Fvscode-toggl-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natterstefan%2Fvscode-toggl-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natterstefan","download_url":"https://codeload.github.com/natterstefan/vscode-toggl-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natterstefan%2Fvscode-toggl-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270034799,"owners_count":24515761,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":["productivity","time-tracker","time-tracking","toggl","visual-studio-code","vscode","vscode-extension","vscode-plugin"],"created_at":"2024-10-30T18:10:30.492Z","updated_at":"2025-08-12T09:19:25.769Z","avatar_url":"https://github.com/natterstefan.png","language":"JavaScript","funding_links":["https://github.com/sponsors/natterstefan","https://patreon.com/natterstefan"],"categories":[],"sub_categories":[],"readme":"# Toggl Extension for VSCode\n\n[![Build Status](https://travis-ci.com/natterstefan/vscode-toggl-extension.svg?branch=master)](https://travis-ci.com/natterstefan/vscode-toggl-extension) [![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/natterstefan.vs-code-toggl-extension.svg 'Current Release')](https://marketplace.visualstudio.com/items?itemName=natterstefan.vs-code-toggl-extension) [![Installs](https://vsmarketplacebadge.apphb.com/installs/natterstefan.vs-code-toggl-extension.svg 'Current Release')](https://marketplace.visualstudio.com/items?itemName=natterstefan.vs-code-toggl-extension) [![downloads](https://vsmarketplacebadge.apphb.com/downloads/natterstefan.vs-code-toggl-extension.svg 'Current Release')](https://marketplace.visualstudio.com/items?itemName=natterstefan.vs-code-toggl-extension)\n\nTrack your working hours with [Toggl](https://toggl.com) directly in Visual\nStudio Code :watch:\n\n## Features and Commands\n\n## Commands\n\n- `toggl.startEntry`: starts a new entry on toggl.com with the provided input\n- `toggl.startExistingEntry` starts an existing entry on toggl\n- `toggl.stopEntry`: stops the current entry\n- `toggl.openToggl`: opens [toggl.com](https://toggl.com/app/timer) in the browser\n- `toggl.fetchToggl`: fetch current toggl entry from [toggl.com](https://toggl.com/app/timer)\n\n## Features\n\n- add new entries or choose from existing entries from your toggl account\n- text for new entry can be selected in editor (just select the text and execute\n  the \"Toggl: Start with new entry.\" command)\n- status bar shows current task and opens toggl.com when clicked\n- clicks on the status bar can execute custom command (see\n  `toggl.statusBarCommand` setting below)\n- polling: fetches data periodically from toggl to show the current task in the\n  status bar\n\n## Extension Settings\n\nCurrently the extension does provide the following settings:\n\n- `toggl.apiKey`: your [private Toggl API key](https://www.toggl.com/app/profile)\n- `toggl.defaultProjectId`: all created tasks will use this as assigned project.\n  You can [get the id from the projects overview](https://www.toggl.com/app/projects).\n  Simply select the project and obtain the id from the url. Example: the id of\n  `https://www.toggl.com/app/projects/xxxxx/edit/12345678` would be `12345678`\n- `toggl.pollingTimeout`: timeout between polling intervals, when the extension\n  fetchs the latest current task from toggl. In order to not hit [toggl's rate limit](https://github.com/toggl/toggl_api_docs#the-api-format)\n  you cannot set it below 3 seconds (default: 3).\n- `toggl.maxChars`: Max. number of chars of the entry title shown in the status bar (default: 50).\n- `toggl.statusBarCommand`: Choose command to be executed when Toggl status bar\n  item is clicked (default: toggl.openToggl).\n\n## Development \u0026 Contribution\n\n### Requirements\n\n```sh\nnode ^12.12.0\nvscode ^1.27.1\n```\n\n## How to develop\n\nIn order to run the VS Code in debugger mode execute the `View: Show Debug`\ncommand and start the `Extension` task (see configuration in\n[.vscode/launch.json](.vscode/launch.json)).\n\nA new VS Code Window in debugger mode will open. When you changed something in\nthe code, you have to execute `Reload Window` to see the changes.\n\nA guide about \"Creating a VS Code Extension\" can be found [here](https://code.visualstudio.com/api).\n\n## How to test\n\nEither open the debug tab in your VS Code and start the `Extension Test` task,\nor run `npm t` in the terminal. When you run it in the terminal, make sure no\nother VS Code instance is running.\n\n[Jest](https://jestjs.io/) is used for testing, and the implementation is\n[inspired by the Unibeautify/vscode package](https://github.com/Unibeautify/vscode/tree/82e360ff73516c213fea0fa6c2740f0cd53d581b/test).\n\n## Helpful links\n\n### Tutorials\n\n- [Your first VS Code extension by Christian Brevik](https://blog.novanet.no/your-first-vs-code-extension/)\n\n### Configuration and API\n\n- [VS Code API](https://code.visualstudio.com/api/references/vscode-api)\n- [Contribution Points](https://code.visualstudio.com/api/references/contribution-points)\n- [Extension Manifest](https://code.visualstudio.com/api/references/extension-manifest)\n- [Activation Events](https://code.visualstudio.com/api/references/activation-events)\n\n### Commands\n\n- [Extension Guide #Command](https://code.visualstudio.com/api/extension-guides/command)\n- [API References #Commands](https://code.visualstudio.com/api/references/vscode-api#commands)\n\n### Publishing\n\nSimple execute the commands below or read more about [Publishing](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#packaging-extensions)\nfirst.\n\n```bash\nnpx vsce package\nnpx vsce publish\n```\n\n## Tools\n\nI have not yet tested these tools, but I'll keep them here for the future.\n\n- [vscode-helpers](https://www.npmjs.com/package/vscode-helpers)\n\n## Todos and Ideas\n\nThere are some further ideas and tasks left to make this extension better. You\ncan take a look at the [projects](https://github.com/natterstefan/vscode-toggl-extension/projects)\ntab to see what I have in mind, planned and what is still left. Feel free to\ncontribute! :muscle:\n\n## Licence\n\n[Apache 2.0](./LICENCE)\n\nThis extension is not affiliated, associated, authorized, endorsed by or in any\nway officially connected to Toggl ([toggl.com](https://toggl.com)).\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://twitter.com/natterstefan\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/1043668?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eStefan Natter\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/natterstefan/vscode-toggl-extension/commits?author=natterstefan\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/natterstefan/vscode-toggl-extension/commits?author=natterstefan\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"#ideas-natterstefan\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/natterstefan/vscode-toggl-extension/commits?author=natterstefan\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/pavelsuk\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/2633298?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePavel Suk\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/natterstefan/vscode-toggl-extension/commits?author=pavelsuk\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-pavelsuk\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatterstefan%2Fvscode-toggl-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatterstefan%2Fvscode-toggl-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatterstefan%2Fvscode-toggl-extension/lists"}