{"id":16731607,"url":"https://github.com/missinglink/dmon","last_synced_at":"2025-03-15T18:23:06.002Z","repository":{"id":7350759,"uuid":"8674758","full_name":"missinglink/dmon","owner":"missinglink","description":"A daemon manager and service discovery module for nodejs.","archived":false,"fork":false,"pushed_at":"2013-05-09T09:21:02.000Z","size":468,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T02:36:32.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/missinglink.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}},"created_at":"2013-03-09T19:14:51.000Z","updated_at":"2013-10-07T12:29:55.000Z","dependencies_parsed_at":"2022-08-29T15:21:43.338Z","dependency_job_id":null,"html_url":"https://github.com/missinglink/dmon","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/missinglink%2Fdmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Fdmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Fdmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missinglink%2Fdmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/missinglink","download_url":"https://codeload.github.com/missinglink/dmon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243771318,"owners_count":20345439,"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":[],"created_at":"2024-10-12T23:38:07.840Z","updated_at":"2025-03-15T18:23:05.973Z","avatar_url":"https://github.com/missinglink.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Getting Started\n\nA daemon manager and service discovery module for nodejs.\n\nDmon is still in development, for now there are a only few tools available to use.\n\n## Run all your services in a single window\n\nIf you have a SOA, you probably noticed the pain of opening 4 or more terminals when you get to work every day. dmon.manager() will spawn all these services in a child_process and pipe the stdout and stderr to one screen while coloring the output for easy readability.\n\n### dmon.manager example.\n\n```javascript\nvar path = require('path');\nvar dmon = require('dmon');\n\ndmon.manager.use( dmon.middleware.logger );\n\n// This boostrap spawns a new child process for each service listed here.\ndmon.manager.load( path.resolve( './fresh8' ) );\ndmon.manager.load( path.resolve( './fresh8-data' ) );\ndmon.manager.load( path.resolve( './vote-api' ) );\ndmon.manager.start();\n```\n\n### dmon.json\n\nEach service will need to have a `dmon.json` file in the root of it's codebase; it contains information about how to control the child process.\n\n```javascript\n{\n  \"name\": \"my-service\",\n  \"color\": \"blue\",\n  \"command\": \"node\",\n  \"args\": [ \"app.js\", \"config/local.json\" ]\n}\n```\n\nScreenshot\n----------\n![dmon](https://github.com/missinglink/dmon/raw/master/screenshot.png \"dmon\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissinglink%2Fdmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmissinglink%2Fdmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissinglink%2Fdmon/lists"}