{"id":18994609,"url":"https://github.com/timelessnesses/clockery","last_synced_at":"2026-04-30T12:34:02.346Z","repository":{"id":207584117,"uuid":"719608002","full_name":"timelessnesses/clockery","owner":"timelessnesses","description":"A rust SDL 2 application that shows you time differences between each timezones you specified","archived":false,"fork":false,"pushed_at":"2024-01-03T04:08:27.000Z","size":585,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"rust","last_synced_at":"2025-02-21T11:50:33.155Z","etag":null,"topics":["pygame","pygbag","python3","rewrite","rust","sdl2","time","timezone","wasm"],"latest_commit_sha":null,"homepage":"https://clockery.wasm.timelessnesses.me","language":"Rust","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/timelessnesses.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":"2023-11-16T14:25:53.000Z","updated_at":"2024-01-01T04:13:48.000Z","dependencies_parsed_at":"2024-01-03T05:26:24.921Z","dependency_job_id":"e2de6aa8-6099-4ed3-a392-b4268ad8d6d4","html_url":"https://github.com/timelessnesses/clockery","commit_stats":null,"previous_names":["timelessnesses/clockery"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/timelessnesses/clockery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fclockery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fclockery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fclockery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fclockery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timelessnesses","download_url":"https://codeload.github.com/timelessnesses/clockery/tar.gz/refs/heads/rust","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timelessnesses%2Fclockery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["pygame","pygbag","python3","rewrite","rust","sdl2","time","timezone","wasm"],"created_at":"2024-11-08T17:26:12.051Z","updated_at":"2026-04-30T12:34:02.329Z","avatar_url":"https://github.com/timelessnesses.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clockery (rust)\n\nA fully rewritten Clockery in Rust programming language for performance boost and fun reasons\n\n## Preparation\n\n### Linux\n\nInstall `libpng-dev`, `libsdl2-dev`, `libsdl2-ttf-dev`\n\n### Windows\n\nYou have to follow this [guide](https://github.com/Rust-SDL2/rust-sdl2?tab=readme-ov-file#windows-msvc) and have Microsoft Build Tools installed.\n\n## Building\n\n### Building on Windows\n\n1. `cargo install cargo-vcpkg`\n2. `cargo vcpkg -v build`\n3. `cargo build -r`\n\n### Building on Linux\n\nInstall dependencies in [Preparation](#preparation)\n\n1. `cargo build -r`\n\nWindows does statically link the binary but I am NOT too sure with Linux's.\n\n## Usage\n\nEither run the binary and it will create config.json for you to configure things about it.\n\nIt should looks like this\n\n```json\n{\n    \"am_pm\": true,\n    \"clocks\": [\n        \"local\"\n    ],\n    \"revert\": false,\n    \"snow_enable\": true,\n    \"snow_limit\": 200\n}\n```\n\n- `am_pm` is a bool where it either shows time in 24 hours format OR 12 hours format. (Thanks [Poiuu](https://twitter.com/PoiuuShho) for suggestion) Can be either enabled or disabled with `A` key.  \n- `clocks` is a list of strings where those strings must be a timezone names, please select from [this](https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html)  \nYou MUST type the highlighted part  \n![./assets/tz_name.png](./assets/tz_name.png)  \n- `revert` is a bool where it either revert all colors in the program. (kinda like light/dark mode) Can be either enabled or disabled with `R` key.  \n- `snow_enable` is a bool where will it shows the \"snow\" particles falling from the top of the screen and limits based on `snow_limit`. Can be either enabled or disabled with `S` key.\n- `snow_limit` is an integer where it will limit amount of snows shown on the screen. Mind you that this will be equally divded by amount of clocks, so if this value is set for `200` and there's 4 clocks to show it would be `200 / 4 = 50 snows per clock surface`\n\n## Special Keybinds\n\n`Escape` and `CTRL+C` will close the program and save the configuration to disk.  \n`Q` will reload configuration off the disk.\n\n## CLI\n\nRun `./opengl_clockery -h` for help information.\n\n- `-f`, `--fps \u003cFPS\u003e\u003c/FPS\u003e` is for limiting FPS. Defaults to unlimited.\n- `-l`, `--list-gpu-renderers` is for listing all GPU rendering backends.\n- `-s`, `--selected-gpu-renderer \u003cSELECTED_GPU_RENDERER\u003e` is for selecting a GPU rendering backend. It is optionally and this flag is only for you to enforce which GPU renderer you wanted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Fclockery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimelessnesses%2Fclockery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimelessnesses%2Fclockery/lists"}