# Marswin/MarsDaemon

A lite library, you can make your project depend it easily, and your project will be UNDEAD (contains api from 9 to 23, lol).

Repository: https://github.com/Marswin/MarsDaemon
Canonical: https://ross.abutalabs.com/products/marsdaemon
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2016-03-19T09:39:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3904, "days_push": 3819, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3143, forks 814 (observed 2026-08-28T04:07:45.919591+00:00)

## What it is
A lightweight Android library that keeps an app's background service process alive ('undead') by running paired services and broadcast receivers in two processes that resurrect each other. It supports Android API 9 through 23 and survives force-close and third-party memory cleaners on major device brands.

## Use cases
- keep android background service alive
- prevent app from being killed by clean master
- restart service automatically after force close
- make boot receiver survive device reboot
- implement process daemon in android app

## When to choose
- you must keep a legacy Android app (API 9-23) running persistently in the background
- your service gets killed by system settings force-stop or third-party cleaner apps
- you need a boot receiver that reliably restarts your service

## When to avoid
- targeting Android 7.0 (API 24) or newer, where these keep-alive tricks no longer work
- you want battery-friendly, policy-compliant background execution (use WorkManager or foreground services instead)
- you need an actively maintained library

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, concurrency, developer-tools
- domain: android-tools, mobile-development, developer-tools
- platform: jvm
- tags: android-keep-alive, process-daemon, background-service, process-resurrection, boot-receiver, android, mobile

## Member repositories
- Marswin/MarsDaemon (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:45.919591+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:00.161514+00:00, confidence not recorded.
  - readme: https://github.com/Marswin/MarsDaemon (fetched 2026-08-28T04:07:45.919591+00:00, sha 6cc8ef69118d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
