{"id":18274452,"url":"https://github.com/lilydjwg/accurate-time","last_synced_at":"2025-04-05T03:30:35.424Z","repository":{"id":138711345,"uuid":"523292495","full_name":"lilydjwg/accurate-time","owner":"lilydjwg","description":"Show accurate time in tmux status","archived":false,"fork":false,"pushed_at":"2024-07-25T09:34:21.000Z","size":16,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T21:21:17.658Z","etag":null,"topics":["rust-cli","tmux","tmux-conf"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lilydjwg.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":"2022-08-10T10:06:27.000Z","updated_at":"2024-07-29T05:37:05.000Z","dependencies_parsed_at":"2024-06-21T20:15:23.046Z","dependency_job_id":"3b2d9487-b0f9-4699-9276-9a84311cf5a6","html_url":"https://github.com/lilydjwg/accurate-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Faccurate-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Faccurate-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Faccurate-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilydjwg%2Faccurate-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lilydjwg","download_url":"https://codeload.github.com/lilydjwg/accurate-time/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284911,"owners_count":20913691,"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":["rust-cli","tmux","tmux-conf"],"created_at":"2024-11-05T12:09:35.557Z","updated_at":"2025-04-05T03:30:34.732Z","avatar_url":"https://github.com/lilydjwg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nShow accurate time in tmux status, i.e. update exactly on every second change.\n\nThis resolves the issue when you have multiple such time statuses in sight,\nthey update in a randam order: even different sessions of the same tmux\ninstance update at different time!\n\nIn addition, this program reads the system load for tmux and color it so you\ncan tell if the system is overloaded at a glance.\n\n## Installation and Configuration\n\nCompile it like other Rust programs (install cargo first if you haven't yet):\n\n```sh\ncargo build --release\n```\n\nand put the built `target/release/accurate-time` to one of you `$PATH` directories.\n\nYou can use the following in your `~/.tmux.conf` to fallback if accurate-time isn't available:\n\n```\nif-shell \"accurate-time tmux\" {\n  set -g status-interval 0\n} {\n  set -g status-interval 1\n  set -g status-right \"#[fg=red]#(awk '{print $1, $2, $3}' /proc/loadavg) #[fg=colour15]%Y-%m-%d %H:%M:%S\"\n}\n```\n\nNote that accurate-time only updates `status-right`, so you need to configure other parts elsewhere.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilydjwg%2Faccurate-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flilydjwg%2Faccurate-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilydjwg%2Faccurate-time/lists"}