{"id":33231742,"url":"https://github.com/ruricolist/moira","last_synced_at":"2026-02-16T03:34:51.925Z","repository":{"id":142818264,"uuid":"46743703","full_name":"ruricolist/moira","owner":"ruricolist","description":"Monitor and restart background threads.","archived":false,"fork":false,"pushed_at":"2023-11-23T17:51:33.000Z","size":8,"stargazers_count":29,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-19T05:35:06.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Common Lisp","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/ruricolist.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":"2015-11-23T19:43:11.000Z","updated_at":"2024-03-06T13:45:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"789ee49b-45dc-433a-9e63-37a4b6a8c797","html_url":"https://github.com/ruricolist/moira","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ruricolist/moira","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruricolist%2Fmoira","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruricolist%2Fmoira/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruricolist%2Fmoira/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruricolist%2Fmoira/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruricolist","download_url":"https://codeload.github.com/ruricolist/moira/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruricolist%2Fmoira/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284759739,"owners_count":27058842,"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","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-11-16T18:00:20.905Z","updated_at":"2025-11-16T19:01:19.833Z","avatar_url":"https://github.com/ruricolist.png","language":"Common Lisp","readme":"# Μοῖρα\n\nMoira is a simple (but not quite trivial) library for monitoring and,\nif necessary, restarting long-running threads. In principle, it is\nlike an in-Lisp process supervisor.\n\nTo start the monitor, you call `start-monitor`:\n\n    (moira:start-monitor)\n\nOnce the monitor is started, you can spawn new threads:\n\n    (moira:spawn \"Background worker\"\n      ...))\n\nWhich is syntactic sugar for\n\n    (moira:spawn-thread\n     (lambda () ...)\n     :name \"Background worker\")\n\nIf the thread created by `spawn-thread` should crash, or otherwise\nexit abnormally, Moira will step in and restart the thread.\n\nYou can stop monitoring with `stop-monitor`\n\n    (moira:stop-monitor)\n\nAlthough this will not affect the spawned threads.\n\nOn Linux only, Moira also tracks the thread ID (value of `gettid`) of\nthe Lisp threads it launches. This can be useful for tracking the\nresource usage of individual threads.\n\nYou can avoid the Osicat dependency, and not have this latest feature\non Linux, by loading `moira/light`.\n","funding_links":[],"categories":["Python ##","Interfaces to other package managers"],"sub_categories":["Third-party APIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruricolist%2Fmoira","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruricolist%2Fmoira","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruricolist%2Fmoira/lists"}