{"id":16207940,"url":"https://github.com/applejag/dinkur","last_synced_at":"2026-02-02T18:40:26.680Z","repository":{"id":39649920,"uuid":"442461098","full_name":"applejag/dinkur","owner":"applejag","description":"Time tracking utility","archived":false,"fork":false,"pushed_at":"2023-02-28T14:12:30.000Z","size":753,"stargazers_count":2,"open_issues_count":26,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T03:37:50.512Z","etag":null,"topics":["cli","dinkur","dinkur-client","dinkur-daemon","go","golang","grpc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/applejag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-12-28T12:46:24.000Z","updated_at":"2024-02-12T22:03:11.000Z","dependencies_parsed_at":"2024-05-21T07:51:30.169Z","dependency_job_id":null,"html_url":"https://github.com/applejag/dinkur","commit_stats":null,"previous_names":["applejag/dinkur"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/applejag/dinkur","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fdinkur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fdinkur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fdinkur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fdinkur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applejag","download_url":"https://codeload.github.com/applejag/dinkur/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fdinkur/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29017704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T18:20:26.228Z","status":"ssl_error","status_checked_at":"2026-02-02T18:20:25.361Z","response_time":58,"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","dinkur","dinkur-client","dinkur-daemon","go","golang","grpc"],"created_at":"2024-10-10T10:14:51.647Z","updated_at":"2026-02-02T18:40:26.667Z","avatar_url":"https://github.com/applejag.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nDinkur the task time tracking utility.\n\u003chttps://github.com/dinkur/dinkur\u003e\n\nSPDX-FileCopyrightText: 2021 Kalle Fagerberg\nSPDX-License-Identifier: CC-BY-4.0\n--\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"200\" src=\"docs/dinkur-large-512.svg\" alt=\"Dinkur icon\" /\u003e\n  \u003ch1 style=\"color: #c43000\"\u003eDinkur\u003c/h1\u003e\n  \u003cp\u003eTask and time tracking CLI and framework.\u003c/p\u003e\n\n[![REUSE status](https://api.reuse.software/badge/github.com/dinkur/dinkur)](https://api.reuse.software/info/github.com/dinkur/dinkur)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/956b94a743244ce2a971ce572e05be3e)](https://www.codacy.com/gh/dinkur/dinkur/dashboard?utm_source=github.com\\\u0026utm_medium=referral\\\u0026utm_content=dinkur/dinkur\\\u0026utm_campaign=Badge_Grade)\n\n\u003c/div\u003e\n\n## Install\n\nRequires [Go](https://go.dev/) v1.20 (or higher)\n\n```console\n$ go install -tags='fts5' -ldflags='-s -w' github.com/dinkur/dinkur@latest\n```\n\n\u003e The `-tags='fts5'` flag adds [Sqlite FTS5](https://www.sqlite.org/fts5.html)\n\u003e support, which is used for better and more performant full-text search.\n\u003e\n\u003e The `-ldflag='-s -w'` removes debug symbols, reducing the binary size from\n\u003e about 34M down to 13M.\n\nFor you CLI-power users, we recommend aliasing it to `u`.\n\n```sh\nalias u=dinkur\n```\n\n### CLI Autocompletion\n\nAutomatic generation of completions are powered by [Cobra](https://github.com/spf13/cobra),\nwhich supports Bash, Zsh, Fish, and PowerShell.\n\nCompletions are provided by the `completion` subcommand. To get a more detailed\nguide on how to install them, run the following (where `bash` can be exchanged\nwith `zsh`, `fish`, and `powershell`):\n\n```sh\ndinkur completion bash --help\n```\n\n### Run daemon on boot (systemd)\n\nCopy the [`dinkur.service`](./dinkur.service) file from the repo into your\nlocal user systemd unit store:\n\n```sh\nsudo cp dinkur.service /usr/local/lib/systemd/user/dinkur.service\n```\n\nThen enable it only for your user:\n\n```sh\n## Does not need sudo\nsystemctl --user enable dinkur --now\n\n## Read logs, does not need sudo either\njournalctl --user --unit dinkur --follow\n\n## Try it out\ndinkur --client=grpc status\n```\n\n## Usage\n\n```console\n$ u in Speedrun Minecraft\n                ID  NAME                  START  END      DURATION\nStarted entry:  #1  `Speedrun Minecraft`  18:39  active…  -\n\n$ u in Boil minute-rice\n                ID  NAME                  START  END      DURATION\nStopped entry:  #1  `Speedrun Minecraft`  18:39  18:39    0:00:06\nStarted entry:  #2  `Boil minute-rice`    18:39  active…  -\n\n$ u out\n                ID  NAME                START  END    DURATION\nStopped entry:  #2  `Boil minute-rice`  18:39  18:40  0:01:01\n\n$ u list\n  ID  NAME                  DAY     START  END    DURATION\n  #1  `Speedrun Minecraft`  Jan-20  18:39  18:39  0:00:06\n  #2  `Boil minute-rice`    -       18:39  18:40  0:01:01\n\n  -   TOTAL: 2 entries      -       18:39  18:40  0:01:07\n```\n\nFull documentation can be found at [docs/cmd/dinkur.md](docs/cmd/dinkur.md).\n\n## Contributing\n\nRead how to contribute over at [CONTRIBUTING.md](CONTRIBUTING.md), including\nhow to set up your development environment, if you so feel inclined.\n\n## Inspiration sources\n\n\u003c!--lint disable maximum-line-length--\u003e\n\n| Project         | License?       | CLI? | GUI? | Sync?   | AFK detect?   | OS?                   |\n| --------------- | -------------- | ---- | ---- | ------- | ------------- | --------------------- |\n| [Grindstone][g] | Proprietary    | ❌    | ✅    | ✅ *($)* | ✅ *(Windows)* | Windows, Android, iOS |\n| [𝑓𝑓][ff]      | FOSS *(GPLv3)* | ✅    | ✅    | ✅       | ❌             | Linux, Mac, Android   |\n| [timetrap][t]   | OSS *(MIT)*    | ✅    | ❌    | ❌       | ❌             | Windows, Linux, Mac   |\n\n\u003c!--lint enable maximum-line-length--\u003e\n\nNo code is taken from the above projects. However, they all have some distinct\nfeatures each that I'm greatly inspired by and have implemented into Dinkur.\n\n## License\n\nThis repository is created and maintained by Kalle Fagerberg\n([@jilleJr](https://github.com/jilleJr)).\n\nThe code in this project is licensed under GNU General Public License v3.0\nor later ([LICENSES/GPL-3.0-or-later.txt](LICENSES/GPL-3.0-or-later.txt)),\nand documentation is licensed under Creative Commons Attribution 4.0\nInternational ([LICENSES/CC-BY-4.0.txt](LICENSES/CC-BY-4.0.txt)).\n\n[g]: https://epiforge.com/grindstone\n\n[ff]: https://github.com/ff-notes/ff\n\n[t]: https://github.com/samg/timetrap\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplejag%2Fdinkur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplejag%2Fdinkur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplejag%2Fdinkur/lists"}