{"id":20872736,"url":"https://github.com/zalari/time-shift","last_synced_at":"2026-02-28T04:39:19.191Z","repository":{"id":81977657,"uuid":"590060815","full_name":"zalari/time-shift","owner":"zalari","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-19T21:32:54.000Z","size":574,"stargazers_count":3,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-31T03:47:35.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zalari.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-01-17T15:16:41.000Z","updated_at":"2024-09-19T21:32:57.000Z","dependencies_parsed_at":"2024-11-18T06:20:41.107Z","dependency_job_id":null,"html_url":"https://github.com/zalari/time-shift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zalari/time-shift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Ftime-shift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Ftime-shift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Ftime-shift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Ftime-shift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalari","download_url":"https://codeload.github.com/zalari/time-shift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalari%2Ftime-shift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29924782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":[],"created_at":"2024-11-18T06:20:35.153Z","updated_at":"2026-02-28T04:39:19.160Z","avatar_url":"https://github.com/zalari.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Time Shift\n\nTime Shift collects time entries from various sources and maps them into configured targets.\n\n## Node\n\nEnsure to have the right node version installed and active.\n\nWe highly recommend to use [nvm](https://github.com/nvm-sh/nvm), the version to be used can be found in the [.nvmrc](.nvmrc) file.\n\n## Dependencies\n\nInstall dependencies with [pnpm](https://pnpm.js.org/):\n\n```bash\n$ pnpm -r install\n```\n\n## Build, Test, Run\n\nEach package can be built, tested and run individually.\nJust add a filter to the command to only run it on a specific package: `pnpm -r \u003ccommand\u003e --filter \u003cpackage-name\u003e`.\n\n### Build\n\n```bash\n$ pnpm --recursive build\n```\n\n### Test\n\n```bash\n$ pnpm --recursive test\n```\n\n### Run\n\n```bash\n$ pnpm --recursive --parallel dev\n```\n\n## Structure and terminology\n\n```mermaid\ngraph TD\n  subgraph Configuration\n    C --\u003e|source| Q[Query]\n    C --\u003e|target| Q\n    A[Adapter] --\u003e|used by| C[Connection]\n  end\n\n  A --\u003e|filter fields| Q\n  A --\u003e|note mapping fields| Q\n  A --\u003e|strategy fields| Q\n  A --\u003e|strategy| P[Preflight]\n  A ---\u003e PR[Preflight result]\n  A ---\u003e R[Result]\n\n  subgraph Synchonization\n    Q --\u003e E[Time entries]\n    E --\u003e|selection| P\n    P --\u003e|preview| PR\n    PR --\u003e|apply| R\n  end\n```\n\n### Adapters\n\nAre provided at runtime by Time Shift. They can be used to access APIs or to convert data. They conveniently deliver and receive time entries in a common format.\n\n### Connections\n\nAre used to connect to the adapters by providing necessary credentials. Multiple connections can use the same adapter.\n\n### Queries\n\nUse connections to define inputs and filter fields. Each configuration requires to have a source connection to be defined which delivers the available filters.\n\n### Filters\n\nIndividual filters can be configured to narrow the set of time entries. Each configuration has its own filters based on the selected source connection adapter type.\n\n### Time entries\n\nBy selecting a configuration the resulting time entries can be loaded. This data set can be filtered and individual entries selected for further interactions.\n\n### Synchonization\n\nAre configured by selecting a strategy provided by the target adapter. Once configured, the selected time entries can proceed a three stage process:\n\n- Preflight of the synchronization\n- Preview of the actions to be made\n- Apply the changes (perform the synchronization)\n\n#### Strategy\n\nTime entries can be mapped to targets by using a strategy. The strategy defines how the mapping is done and is provided by the target adapter.\n\n#### Preflight\n\nBefore synchronizing time entries, a preflight check is performed to ensure that the time entries can be mapped to the target adapter. Thus, a preview of the actions to be made is provided and can be aligned before applying the changes.\n\n## UI\n\n- Left sidebar:\n  - Configured Connections\n  - Configured Queries\n- Main view (if query selected):\n  - List of (filtered) time entries\n  - Actions (**sync**, align times, delete, ...)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalari%2Ftime-shift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalari%2Ftime-shift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalari%2Ftime-shift/lists"}