{"id":26883669,"url":"https://github.com/jiro4989/monit","last_synced_at":"2026-03-09T10:02:46.249Z","repository":{"id":35128128,"uuid":"205671601","full_name":"jiro4989/monit","owner":"jiro4989","description":"The task runner. Run tasks and watch file changes with custom paths.","archived":false,"fork":false,"pushed_at":"2026-02-14T15:55:32.000Z","size":16094,"stargazers_count":33,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-14T21:54:01.892Z","etag":null,"topics":["cli","command","developer-tools","nim","task-runner"],"latest_commit_sha":null,"homepage":"","language":"Nim","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/jiro4989.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":"2019-09-01T12:13:54.000Z","updated_at":"2026-02-14T15:55:32.000Z","dependencies_parsed_at":"2025-01-10T09:47:38.037Z","dependency_job_id":"6c6d9b3e-43f6-4258-aca3-03475c60355a","html_url":"https://github.com/jiro4989/monit","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jiro4989/monit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fmonit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fmonit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fmonit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fmonit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiro4989","download_url":"https://codeload.github.com/jiro4989/monit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fmonit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30290935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"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":["cli","command","developer-tools","nim","task-runner"],"created_at":"2025-03-31T17:36:36.321Z","updated_at":"2026-03-09T10:02:46.232Z","avatar_url":"https://github.com/jiro4989.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monit\n\n`monit` is the simple task runner.\nRun tasks and watch file changes with custom paths.\n\n![monit](./doc/monit.gif)\n\n## Usage\n\n`monit` run commands when files have changed.\n`monit` needs a `.monit.yml` task definition file on current directory.\nPlease you run below at first.\n\n```bash\nmonit init\n```\n\nA template of `.monit.yml` will be generated.\nYou edit the yaml file and you run below.\n\n```bash\nmonit run\n```\n\n## Task definitions\n\nA example of `.monit.yml` of this repository.\nSee below.\n\n```yml\n%YAML 1.2\n%TAG !n! tag:nimyaml.org,2016:\n--- !n!custom:MonitorConfig \nsleep: 1\ntargets: \n  - \n    name: Task name\n    paths: [src, tests]\n    commands:\n      - nimble build --hints:off\n      - nimble test\n    extensions: [.nim]\n    files: []\n    exclude_extensions: []\n    exclude_files: []\n    once: y\n```\n\nA descriptions of these keys and values.\n\n* `sleep` - A interval to monitor files (secconds)\n\n### Targets\n\n| key | value |\n| --- | ----- |\n| name               | Task name ( for human ) |\n| paths              | Target directory to monitor |\n| commands           | Commands to run when files have changed |\n| extensions         | Extensions of target files |\n| files              | File path of target files |\n| exclude_extensions | Extensions of exclude files |\n| exclude_files      | File path of exclude files |\n| once               | Run command once at first when you executed `monit` |\n\n## Installation\n\n```bash\nnimble install monit\n```\n\n## Development\n\nNim 1.4.0\n\n## Help\n\n    % monit help\n    This is a multiple-dispatch command.  Top-level --help/--help-syntax\n    is also available.  Usage is like:\n        monit {SUBCMD} [subcommand-opts \u0026 args]\n    where subcommand syntaxes are as follows:\n\n      init [optional-params] \n        Generate monit config file to current directory. If config file has existed then no generating.\n      Options(opt-arg sep :|=|spc):\n          -h, --help                  print this cligen-erated help\n          --help-syntax               advanced: prepend,plurals,..\n          --version      bool  false  print version\n\n      run [optional-params] \n        Run commands on the commands of `file` when file modified.\n      Options(opt-arg sep :|=|spc):\n          -h, --help                               print this cligen-erated help\n          --help-syntax                            advanced: prepend,plurals,..\n          --version          bool    false         print version\n          -l=, --loopCount=  int     -1            set loopCount\n          -f=, --file=       string  \".monit.yml\"  A task definition file path\n          -v, --verbose      bool    false         Turn ON the debug logging\n          -d, --dryRun       bool    false         Not execute commands\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Fmonit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiro4989%2Fmonit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Fmonit/lists"}