{"id":42672382,"url":"https://github.com/lajule/tl","last_synced_at":"2026-01-29T11:02:59.048Z","repository":{"id":232414421,"uuid":"783763266","full_name":"Lajule/tl","owner":"Lajule","description":"Create time logs from terminal","archived":false,"fork":false,"pushed_at":"2025-02-18T13:05:35.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T14:22:47.250Z","etag":null,"topics":["bash","command-line-tool"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Lajule.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-08T14:21:04.000Z","updated_at":"2025-02-18T13:05:39.000Z","dependencies_parsed_at":"2024-05-16T14:40:32.238Z","dependency_job_id":null,"html_url":"https://github.com/Lajule/tl","commit_stats":null,"previous_names":["lajule/tl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lajule/tl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Ftl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Ftl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Ftl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Ftl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lajule","download_url":"https://codeload.github.com/Lajule/tl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lajule%2Ftl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bash","command-line-tool"],"created_at":"2026-01-29T11:02:23.073Z","updated_at":"2026-01-29T11:02:59.034Z","avatar_url":"https://github.com/Lajule.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tl\n\nThis shell script provides a simple command-line utility to log and convert time data between different units such as seconds, minutes, hours, days, and weeks. It is designed to help track time spent on tasks by logging them and allowing for conversions between different time units for ease of understanding and reporting.\n\n## Features\n\n* Log time data with a custom label.\n* Convert time into seconds, minutes, hours, days, or weeks.\n* Reset the time log.\n* Output the accumulated time data in a human-readable format.\n\n## Requirements\n\n- Bash\n- `bc` (for basic calculations)\n\n## Installation\n\n1. Clone this repository or download the script directly.\n2. Ensure the script is executable:\n   ```sh\n   chmod +x tl\n   ```\n\n## Usage\n\nRun the script with the following syntax:\n\n```sh\n./tl [options] [label]\n```\n\nOptions:\n* -s: Silent mode. No output is printed.\n* -r: Reset the time log by removing the data file.\n* -S: Output time in seconds.\n* -m: Output time in minutes.\n* -h: Output time in hours.\n* -d: Output time in days.\n* -w: Output time in weeks.\n* -H: Output time in a human-readable format (default).\n\nLabels are used to log time for different tasks. Each label should consist of alphanumeric characters only. Non-alphanumeric labels will result in an error.\n\nThe script stores its data in a file named ~/.tl by default. You can change the data file by setting the TLFILE environment variable to your preferred file path.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flajule%2Ftl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flajule%2Ftl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flajule%2Ftl/lists"}