{"id":20945058,"url":"https://github.com/yorukot/tmlshock","last_synced_at":"2025-05-14T01:31:30.772Z","repository":{"id":225476415,"uuid":"765835076","full_name":"yorukot/tmlshock","owner":"yorukot","description":"A terminal ttl clock and stopwatch build by golang","archived":false,"fork":false,"pushed_at":"2024-04-07T13:55:57.000Z","size":9218,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-17T06:30:16.553Z","etag":null,"topics":["cli","clock","custom","stopwatch","terminal","terminal-app","terminal-clock","timer","ttl","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","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/yorukot.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":"2024-03-01T17:59:10.000Z","updated_at":"2024-07-17T06:30:16.554Z","dependencies_parsed_at":"2024-03-02T11:28:12.236Z","dependency_job_id":"5d0a0d6b-cb8a-402e-a4d7-a95d78916f0b","html_url":"https://github.com/yorukot/tmlshock","commit_stats":null,"previous_names":["mhnightcat/tshock","yorukot/tmlshock","mhnightcat/tmlshock"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorukot%2Ftmlshock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorukot%2Ftmlshock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorukot%2Ftmlshock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorukot%2Ftmlshock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yorukot","download_url":"https://codeload.github.com/yorukot/tmlshock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225269307,"owners_count":17447505,"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","clock","custom","stopwatch","terminal","terminal-app","terminal-clock","timer","ttl","tui"],"created_at":"2024-11-18T23:46:33.398Z","updated_at":"2024-11-18T23:46:33.938Z","avatar_url":"https://github.com/yorukot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About tmlshock\nTerminal ttl clock, including customizable clock timer and stopwatch\n\n![feature](https://github.com/MHNightCat/tmlshock/blob/main/img/feature.png)\n\n# Contents\n* [Install](#install)\n* [Usage](#Usage)\n  * [Clock](#clock)\n  * [Stopwatch](#stopwatch)\n  * [Timer](#timer)\n* [Setting](#setting)\n  * [Color](#color)\n    * [Colon color](#colon-color)\n  * [Disable second](#disable-second)\n  * [Enable date](#enable-date)\n  * [Date formate](#date-formate)\n  * [Disable hour](#disable-hour)\n  * [12 hours format](#12-hours-format)\n# Install\n\nsee [release](https://github.com/MHNightCat/tmlshock/releases)\n\ndownload tmlshock file and move it to /usr/local/bin\n\n```bash\nsudo mv ./tmlshock /usr/local/bin\n```\n\n# Usage\n```\nCOMMANDS:\n   stopwatch, s  Start a stopwatch\n   timer, t      Start a timer\n   clock, c      Start a clock\n   help, h       Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --color value, -c value  Set the string color see full color in\n   --help, -h               show help\n   --version, -v            print the version\n```\n\n## Clock\n```\nNAME:\n   tmlshock clock - Start a clock\n\nUSAGE:\n   tmlshock clock [command options] [arguments...]\n\nOPTIONS:\n   --color value, -c value                Set the string color\n   --second value, -s value, --sec value  Set the clock with second(true or false) (default: \"true\")\n   --date value, -d value                 Set the clock with date(true or false) (default: \"false\")\n   --dateformate value, --df value        Set the clock date formate (default: \"2006/02/01\")\n   --colon-color value, --cc value        Set the colon color \n   --hour-format value, --hf value        Set the clock 24 hr or 12hr (type 24 or 12)\n   --help, -h                             show help\n```\n\n## Stopwatch\n```\nUSAGE:\n   tmlshock stopwatch [command options] [arguments...]\n\nOPTIONS:\n   --color value, -c value           Set the string color \n   --disable-hour value, --dh value  Disable hour(true or false)\n   --colon-color value, --cc value   Set the colon color \n   --help, -h                        show help\n```\n\n## Timer\n```\nUSAGE:\n   tmlshock timer [command options] [arguments...]\n\nOPTIONS:\n   --color value, -c value                Set the string color \n   --hour value, --hr value               Enter how many hours you want to count down\n   --minute value, -m value, --min value  Enter how many minunts you want to count down\n   --second value, -s value, --sec value  Enter how many seconds you want to count down\n   --time value, -t value                 Enter how many time you want to count down(format: 00:00:00)\n   --disable-hour value, --dh value       Disable hour(true or false)\n   --colon-color value, --cc value        Set the colon color \n   --help, -h                             show help\n```\n\n#### **Example**\nYou can set the timer time using two types\n\nclassic:\n```bash\ntmlshock timer -hr 1 -m 1 -s 1\n```\n\nlazy:\n```bash\ntmlshock timer -t 1:20:01\n```\n\n# Setting\n\n## **Color**\n\nYou can use color codes (down below) or use color names\n\n![color](https://github.com/MHNightCat/tmlshock/blob/main/img/color.png)\n\n```\nblack\nblue\ncyan\ndark-gray\ngreen\nlight-green\nlight-blue\nlight-cyan\nlight-gray\nlight-magenta\nlight-red\nlight-yellow\nmagenta\nlight-red\nlight-yellow\nmagenta\nred\nwhite\nyellow\n```\n\nExample:\n```bash\ntmlshock clock -c red\n```\n![red-clock](https://github.com/MHNightCat/tmlshock/blob/main/img/red-clock.png)\n\n### **Colon-color**\n\nTo use a custom colon color just enter `-cc color`\n\n**Example**\n```bash\ntmlshock clock -cc color\n```\n\n![custom-colon-color](https://github.com/MHNightCat/tmlshock/blob/main/img/custom-colon-color.png)\n\n## **Disable-second**\n\nTo disable the second just enter `-s false`\n\n**Example**\n```bash\ntmlshock clock -s false\n```\n\n![no-sec-clock](https://github.com/MHNightCat/tmlshock/blob/main/img/no-sec-clock.png)\n\n## **Enable-date**\n\nTo enable the date just enter `-d true`\n\n**Example**\n```bash\ntmlshock clock -d true\n```\n\n![date-clock](https://github.com/MHNightCat/tmlshock/blob/main/img/date-clock.png)\n\n## **Date-formate**\n\nTo use a custom date format just enter `-df 2006/02/01`(YYYY/MM/DD)\n\n**Example**\n```bash\ntmlshock clock -d true -df 2006/01/02 \n```\n(YYYY/DD/MM)\n\n![date-format-clock](https://github.com/MHNightCat/tmlshock/blob/main/img/date-format-clock.png)\n\n```bash\ntmlshock clock -d true -df 02/01/2006\n```\n(MM/DD/YYYY)\n\n![date-format-2-clock](https://github.com/MHNightCat/tmlshock/blob/main/img/date-format-2-clock.png)\n\n## **Disable-hour**\n\n* This option only for stopwatch and timer\n\nTo use a custom date format just enter `-dh true`(YYYY/MM/DD)\n\n**Example**\n```bash\ntmlshock stopwatch -dh true\n```\n\n![disable-hour-stopwatch](https://github.com/MHNightCat/tmlshock/blob/main/img/disable-hour-stopwatch.png)\n\n## **12-hours-format**\n\n* This option only for clock\n\nTo use a custom date format just enter `-hf 12`(YYYY/MM/DD)\n\n**Example**\n```bash\ntmlshock clock -hf 12\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyorukot%2Ftmlshock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyorukot%2Ftmlshock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyorukot%2Ftmlshock/lists"}