{"id":25088852,"url":"https://github.com/massigy/mmtime","last_synced_at":"2025-04-01T16:45:07.517Z","repository":{"id":235262838,"uuid":"790403442","full_name":"MassiGy/mmtime","owner":"MassiGy","description":"This CLI tool aims at offering a deamon-like process that works in the background and monitors the time that the user had spent on a collection of applications.","archived":false,"fork":false,"pushed_at":"2024-05-01T12:02:19.000Z","size":2278,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T10:53:30.436Z","etag":null,"topics":["cli-tools","go","go-channel","go-concurrency","golang","linux-signals","posix-compliant","productivity","signals"],"latest_commit_sha":null,"homepage":"","language":"Go","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/MassiGy.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}},"created_at":"2024-04-22T20:18:10.000Z","updated_at":"2024-05-01T12:02:23.000Z","dependencies_parsed_at":"2024-05-01T13:19:06.943Z","dependency_job_id":"8ea4ebdd-fdc2-49e7-835d-484f6e42ba6a","html_url":"https://github.com/MassiGy/mmtime","commit_stats":null,"previous_names":["massigy/mmtime"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassiGy%2Fmmtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassiGy%2Fmmtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassiGy%2Fmmtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassiGy%2Fmmtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MassiGy","download_url":"https://codeload.github.com/MassiGy/mmtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246673095,"owners_count":20815510,"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":["cli-tools","go","go-channel","go-concurrency","golang","linux-signals","posix-compliant","productivity","signals"],"created_at":"2025-02-07T10:52:59.087Z","updated_at":"2025-04-01T16:45:07.491Z","avatar_url":"https://github.com/MassiGy.png","language":"Go","readme":"# Monitor My Time (mmtime)\n\nThis CLI tool aims at offering a deamon-like process that works in the background and monitors the\ntime that the user had spent on a collection of applications.\n\nThis collection of applications can be defined in the `~/.config/mmtime-vX.X/targets` file, where every\napplication, that the user wants to track the amount of time he/she spend in, is listed in a sperated\ntime. i.e\n\n```\n    # My target apps.\n\n    Discord \n    Code \n    Slack \n    Mpv \n    Firefox \n    Vim \n\n```\n\n\nThe `mmtime` tool will then track all the time spent on these applications and write that to a \ndb file (`~/.local/share/mmtime-vX.X/targets.stats.db`).\n\nBesides, there will be a system tray applet that will allow the user to see the current monitoring related stats, this will give the user the ability to see the stats live and also through a menu item reload the configuration file (`targets` file).\n\n## Setup \u0026 Installation ( Using Go tools )\n\n```sh\n\n    # make sure to install xterm \u0026 yad (for some use these commands)\n    [[ \"$HOSTNAME\" == \"debian\" ]] \u0026\u0026 sudo apt install xterm yad\n    [[ \"$HOSTNAME\" == \"ubuntu\" ]] \u0026\u0026 sudo apt install xterm yad\n    [[ \"$HOSTNAME\" == \"fedora\" ]] \u0026\u0026 sudo dnf install xterm yad\n\n\n    # build the binary (this requires Go to be installed )\n    make build\n\n    # setup the environment and mv the binary to ~/.local/share\n    make install\n\n    # (Optional) you can create a symlink to the binary\n    # to /usr/local/bin, or directly copy the binary to it.\n\n```\n\n## Setup \u0026 Installation ( Without Go tools )\n\nFirst, download from Github the latest release. \n\n```sh\n\n    # clone the repo\n    git clone \u003crepo_url\u003e\n\n    # download from github the latest release\n\n    # move the binary of the release to the project /bin directory\n\n    # run make install \n    make install\n\n```\n\n\n## Uninstall \n\n```sh\n\n    # just run the following command to remove all the used\n    # directroies and the ~/.local/share binary.\n    make uninstall\n\n    # (NOTE) extra setup from your part should be undone by\n    # yourself.\n\n```\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassigy%2Fmmtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmassigy%2Fmmtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassigy%2Fmmtime/lists"}