{"id":20299500,"url":"https://github.com/yuis-ice/notification-cli","last_synced_at":"2025-04-11T13:15:11.789Z","repository":{"id":54522897,"uuid":"338099835","full_name":"yuis-ice/notification-cli","owner":"yuis-ice","description":"Minimalistic Command Line Notification Application under 50 Lines","archived":false,"fork":false,"pushed_at":"2021-07-16T10:49:02.000Z","size":17,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T10:18:43.544Z","etag":null,"topics":["cli","cli-app","command-line","command-line-tool","nodejs","notifications","reminder","scheduler","time-management"],"latest_commit_sha":null,"homepage":"https://yuis-programming.com/notificationcli-app","language":"JavaScript","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/yuis-ice.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}},"created_at":"2021-02-11T17:26:11.000Z","updated_at":"2022-10-27T22:51:27.000Z","dependencies_parsed_at":"2022-08-13T18:31:20.515Z","dependency_job_id":null,"html_url":"https://github.com/yuis-ice/notification-cli","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/yuis-ice%2Fnotification-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuis-ice%2Fnotification-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuis-ice%2Fnotification-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuis-ice%2Fnotification-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuis-ice","download_url":"https://codeload.github.com/yuis-ice/notification-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248406863,"owners_count":21098317,"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","cli-app","command-line","command-line-tool","nodejs","notifications","reminder","scheduler","time-management"],"created_at":"2024-11-14T16:15:01.213Z","updated_at":"2025-04-11T13:15:11.752Z","avatar_url":"https://github.com/yuis-ice.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Notification-CLI\n\nMinimalistic Command Line Notification Application under 50 Lines\n\n## Quick Start\n\nThis will notify you when 2021 February 20, PM 6:00.\n\n```\nnoc -d 2021022018 --desktop # for desktop notification\n```\n\nVery much minimalistic.\n\n## Installation\n\n```\nnpm install -g notification-cli\n```\n\n## Requirements\n\n- node.js v13 or higher\n\n\u003cdetails\u003e\n  \u003csummary\u003eInstall node.js?\u003c/summary\u003e\n\n  ```\n  # node.js [nvm-sh/nvm](https://github.com/nvm-sh/nvm)\n  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash\n  bash\n  nvm install 13\n  node -v\n  ```\n\n\u003c/details\u003e\n\n\n## Examples\n\nThis will only notify you by command line console output:\n\n```\nnoc -d 2021022018\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eThe output be like:\u003c/summary\u003e\n\n  ```\n  $ noc -d 202102120234\n  2021-02-12T02:33:16+09:00 Jobs started...\n  2021-02-12T02:33:16+09:00 You will be notified at: 2021-02-12T02:34:00+09:00\n  2021-02-12T02:34:00+09:00 Notified.\n  $\n  ```\n\n\u003c/details\u003e\n\nYou can abbreviate your seconds, minutes, hours and so on:\n\n```\nnoc -d 2022\n```\n\nThis will notify you when PM 11:00 in the day:\n\n```\nnoc -d 23 --format HH\n```\n\nAn alias makes your code much more minimalistic:\n\n```\nalias notify=\"noc --format MM,DD,HH\" # Specifying absolute path recommended\nnotify -d 2,20,18\n```\n\nThis will run your command:\n\n```\nnoc -d 2021022018 -c \"firefox.exe sound.mp3\"\n```\n\nNo logs on background be like:\n\n```\nnoc -d 2021022018 --desktop --hide-log --log \"\" \u0026\n```\n\nMy favorite format \u003c3\n\n```\nnoc -d 2021022018 -c \"firefox.exe sound.mp3\" --desktop -t \"your appointment soon\"\n```\n\n## Command line Options\n\n```\n$ noc\nUsage: noc [options]\n\nOptions:\n  -d, --date \u003cdate\u003e             specify date to fire (e.g. \"2022010100\" for 2020/1/1 00:00) (default: null)     \n  -f, --format \u003cformat\u003e         specify date format (default: \"YYYYMMDDHHmmss\")\n  -D, --desktop                 enables desktop notification\n  -t, --title \u003ctext\u003e            specify title (default: \"Notification-CLI\")\n  -m, --message \u003ctext\u003e          specify message (default: \":)\")\n  -c, --exec-command \u003ccommand\u003e  specify command to run (e.g. firefox.exe ringtone.mp3) (default: null)\n  -l, --log \u003ctext\u003e              specify console log message (default: \"Notified.\")\n  -H, --hide-log                hide information logs\n  -h, --help                    display help for command\n```\n\n## LICENSE\n\nThe software is released under the BSD-3-Clause license.\n\nCopyright (c) 2021, Fumiya Arisaka \\\u003cyuis.twitter@gmail.com\\\u003e All rights reserved.\n\nThis source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuis-ice%2Fnotification-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuis-ice%2Fnotification-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuis-ice%2Fnotification-cli/lists"}