{"id":29027294,"url":"https://github.com/cahnory/updeux","last_synced_at":"2025-10-12T05:03:44.371Z","repository":{"id":57387191,"uuid":"111513399","full_name":"cahnory/updeux","owner":"cahnory","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-23T18:18:25.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T21:48:38.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cahnory.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":"2017-11-21T07:19:02.000Z","updated_at":"2017-12-20T10:25:10.000Z","dependencies_parsed_at":"2022-09-10T22:20:43.460Z","dependency_job_id":null,"html_url":"https://github.com/cahnory/updeux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cahnory/updeux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cahnory%2Fupdeux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cahnory%2Fupdeux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cahnory%2Fupdeux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cahnory%2Fupdeux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cahnory","download_url":"https://codeload.github.com/cahnory/updeux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cahnory%2Fupdeux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262010869,"owners_count":23244414,"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":"2025-06-26T06:05:21.630Z","updated_at":"2025-10-12T05:03:44.252Z","avatar_url":"https://github.com/cahnory.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# updeux\n\nupdeux makes your app run and update without any downtime.\n\n\u003e updeux is in early development and should only be used to help the contributor to test it :)\n\n## Usage\n\nupdeux doesn't have any cli options now. See [how to set options](#options)\n\nTo launch it, all you have to do is:\n\n```\n$ updeux\n```\n\nAfter that updeux will listen to your terminal inputs and you'll be able to control it via these actions:\n\n+ **reset**: update updeux options and then update workers\n+ **start**: start workers\n+ **status**: display state information (now it just displays the list of all workers)\n+ **stop**: stop workers\n+ **update**: update the workers\n\n## Options\n\nupdeux has several options to handle your needs. You can set options by using a **.updeuxrc** (JSON) or using the `updeuxrc` property in the **package.json**.\n\n+ [maxFailuresByUpdate](#maxFailuresByUpdate) : `number` = `5`\n+ [maxWorker](#maxWorker) : `number` = `os.cpus().length`\n+ [keepFresh](#keepFresh) : `bool` = `false`\n+ [require](#require) : `Array` = `[]`\n+ [shutdownDelay](#shutdownDelay) : `number`= `5000`\n+ [src](#src) : `string`= `./index.js`\n+ [watchDebounce](#watchDebounce) : `number` = `100`\n\n### options.maxFailuresByUpdate : `number` = `5`\n\nNumber of failed attempts to run workers by update before stopping to try until next update.\n\n### options.maxWorker : `number` = `os.cpus().length`\n\nMaximum number of workers to use.\n\n### options.keepFresh : `bool` = `false`\n\nIf workers are refreshed automatically when there are changes in the source.\n\n### options.require : `Array` = `[]`\n\nModule to require before the source.\n\n```\n{\n  require: [\"babel-register\"]\n}\n```\n\n### options.shutdownDelay : `number`= `5000`\n\nDuration in *ms* to wait before killing a worker that was not shutdown after being asked to.\n\n### options.src : `string`= `./index.js`\n\nSource file to run. If a folder is given, updeux will try to run the index.js file in it.\n\n### options.watchDebounce : `number` = `100`\n\nDebounce delay in *ms* applied to workers update on file change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcahnory%2Fupdeux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcahnory%2Fupdeux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcahnory%2Fupdeux/lists"}