{"id":13672768,"url":"https://github.com/joaomoreno/deemon","last_synced_at":"2025-04-10T01:13:42.871Z","repository":{"id":39994697,"uuid":"256157832","full_name":"joaomoreno/deemon","owner":"joaomoreno","description":"Run a process in the background and attach to it","archived":false,"fork":false,"pushed_at":"2025-04-08T20:20:15.000Z","size":50,"stargazers_count":59,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T01:13:37.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/joaomoreno.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":"2020-04-16T08:40:51.000Z","updated_at":"2025-04-08T20:20:19.000Z","dependencies_parsed_at":"2022-07-15T14:47:44.099Z","dependency_job_id":null,"html_url":"https://github.com/joaomoreno/deemon","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomoreno%2Fdeemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomoreno%2Fdeemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomoreno%2Fdeemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaomoreno%2Fdeemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaomoreno","download_url":"https://codeload.github.com/joaomoreno/deemon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137891,"owners_count":21053775,"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-08-02T09:01:47.155Z","updated_at":"2025-04-10T01:13:42.852Z","avatar_url":"https://github.com/joaomoreno.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# deemon\n\n[![npm version](https://badge.fury.io/js/deemon.svg)](https://badge.fury.io/js/deemon)\n\nUtility to run a process in the background and attach to it\n\n## Usage\n\n```\nnpx deemon COMMAND [ARGS]\n```\n\n## Example \n\n[![asciicast](https://asciinema.org/a/oinexj5mqxxqhMieBbUW5WuXV.svg)](https://asciinema.org/a/oinexj5mqxxqhMieBbUW5WuXV)\n\n```\nnpx deemon /bin/bash -c \"while true; do date; sleep 1; done\"\n```\n\n\u003ckbd\u003eCtrl C\u003c/kbd\u003e will stop the current session and leave the process running in the background. Simply run the same command again to attach to it:\n\n```\nnpx deemon /bin/bash -c \"while true; do date; sleep 1; done\"\n```\n\n\u003ckbd\u003eCtrl D\u003c/kbd\u003e will stop the current session and the background process. You can also simply kill the background process with the  `--kill` flag:\n\n```\nnpx deemon --kill /bin/bash -c \"while true; do date; sleep 1; done\"\n```\n\nOr you can force a restart of the background process and attach to that with the `--restart` flag:\n\n```\nnpx deemon --restart /bin/bash -c \"while true; do date; sleep 1; done\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomoreno%2Fdeemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaomoreno%2Fdeemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaomoreno%2Fdeemon/lists"}