{"id":13690250,"url":"https://github.com/ainame/Swift-Daemon","last_synced_at":"2025-05-02T06:32:27.927Z","repository":{"id":141925139,"uuid":"83761249","full_name":"ainame/Swift-Daemon","owner":"ainame","description":"daemonize your swift scripts","archived":false,"fork":false,"pushed_at":"2017-03-03T07:11:09.000Z","size":3,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T23:51:10.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/ainame.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-03-03T05:31:52.000Z","updated_at":"2025-02-19T11:09:38.000Z","dependencies_parsed_at":"2024-01-14T19:13:45.155Z","dependency_job_id":"44ed4867-18ec-4544-b008-5e0588486dcb","html_url":"https://github.com/ainame/Swift-Daemon","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainame%2FSwift-Daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainame%2FSwift-Daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainame%2FSwift-Daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ainame%2FSwift-Daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ainame","download_url":"https://codeload.github.com/ainame/Swift-Daemon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251998722,"owners_count":21678007,"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-02T16:00:50.743Z","updated_at":"2025-05-02T06:32:27.641Z","avatar_url":"https://github.com/ainame.png","language":"Swift","readme":"## Swift-Daemon\n\nYou can daemonize any swift process.\n`Daemon` can detach your swift script from shell.\n\n```swift\nimport Foundation\nimport Daemon\n\nDispatchQueue(label: \"foo\").async {\n    while true {\n        print(\".\")\n        sleep(1)\n    }\n}\n\nDaemon.daemonize()\n\nwhile true {\n    sleep(1)\n}\n```\n","funding_links":[],"categories":["Swift","Daemon"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fainame%2FSwift-Daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fainame%2FSwift-Daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fainame%2FSwift-Daemon/lists"}