{"id":48679385,"url":"https://github.com/xscriptor/xclock","last_synced_at":"2026-04-10T22:13:36.787Z","repository":{"id":334411115,"uuid":"1141269878","full_name":"xscriptor/xclock","owner":"xscriptor","description":"A terminal-based clock application written in Rust, inspired by ttyclock. It features a digital clock with ASCII art, countdown timers, and various customization options.","archived":false,"fork":false,"pushed_at":"2026-03-22T16:58:21.000Z","size":1841,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-23T07:54:02.902Z","etag":null,"topics":["application","clock","dev-utils","rust","terminal-based","tty","x","xclock","xscriptor"],"latest_commit_sha":null,"homepage":"https://dev.xscriptor.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xscriptor.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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-24T15:07:18.000Z","updated_at":"2026-03-22T16:58:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/xscriptor/xclock","commit_stats":null,"previous_names":["xscriptordev/xclock","xscriptor/xclock"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/xscriptor/xclock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xscriptor%2Fxclock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xscriptor%2Fxclock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xscriptor%2Fxclock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xscriptor%2Fxclock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xscriptor","download_url":"https://codeload.github.com/xscriptor/xclock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xscriptor%2Fxclock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31661158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"ssl_error","status_checked_at":"2026-04-10T17:19:13.364Z","response_time":98,"last_error":"SSL_read: 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":["application","clock","dev-utils","rust","terminal-based","tty","x","xclock","xscriptor"],"created_at":"2026-04-10T22:13:36.153Z","updated_at":"2026-04-10T22:13:36.779Z","avatar_url":"https://github.com/xscriptor.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e Xclock \u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![rust](https://xscriptor.github.io/badges/languages/rust.svg) ![shell](https://xscriptor.github.io/badges/languages/shell.svg) ![powershell](https://xscriptor.github.io/badges/languages/powershell.svg)\n\nxclock is a terminal-based clock application written in Rust, inspired by `ttyclock`. It features a digital clock with ASCII art, countdown timers, and various customization options.\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"./assets/icon.png\" width=\"100\" alt=\"Xscriptor Theme logo\" /\u003e \u003c/p\u003e\n\n\u003c/div\u003e\n\n## Preview\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"./assets/previews/preview01.png\"\u003e\n    \u003cimg src=\"./assets/previews/preview01.png\" alt=\"Main preview\" width=\"450\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n- **Clock Mode**: Displays current time with seconds.\n- **Countdown Mode**: Set a timer using formats like `5m`, `1h30m`, `10s`.\n- **Customization**:\n  - Center alignment.\n  - Colors (red, green, blue, yellow, cyan, magenta, white, black).\n  - 12/24 hour format.\n  - Toggle seconds (`-s` to show).\n  - Hide/Show box borders.\n- **Cross-platform**: Works on Linux, macOS, and Windows.\n\n## Installation\n\n### Linux / macOS\n\nYou can install xclock using the provided script. It will auto-detect your OS (Arch/Ubuntu/Fedora/macOS), install Rust if missing, and then install xclock:\n\n```bash\n./install.sh\n```\n\nOr remotely:\n```bash\nwget -O - https://raw.githubusercontent.com/xscriptor/xclock/main/install.sh | bash\n```\n\n### Windows\n\nRun the PowerShell script:\n\n```powershell\n./install.ps1\n```\n\n### Uninstallation\n\n- Linux/macOS: `./uninstall.sh`\n- Windows: `./uninstall.ps1`\n\n## Usage\n\n```bash\nxclock [OPTIONS]\n```\n\n### Options\n\n| Option | Description |\n|--------|-------------|\n| `-c`, `--center` | Center the clock on the screen |\n| `-C`, `--countdown \u003cTIME\u003e` | Enable countdown mode (e.g., `5m`, `1h30m`) |\n| `-s`, `--seconds` | Show seconds (default: off) |\n| `-r`, `--color \u003cCOLOR\u003e` | Set color (default: green) |\n| `-t`, `--twelve-hour` | Use 12-hour format |\n| `-B`, `--no-box` | Hide the box borders |\n| `-h`, `--help` | Print help |\n\nSeconds are disabled by default to mimic `ttyclock`. Use `-s` to show them.\n\n### Examples\n\nRun a centered green clock:\n```bash\nxclock -c -r green\n```\n\nRun a 5-minute countdown:\n```bash\nxclock -C 5m\n```\n\nRun a clock without box and seconds:\n```bash\nxclock -B\n```\n\n## Development\n\nBuilt with Rust, using `ratatui` and `crossterm`.\n\n```bash\ncargo run --release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxscriptor%2Fxclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxscriptor%2Fxclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxscriptor%2Fxclock/lists"}