# 4thline/cling

UPnP/DLNA library for Java and Android

Repository: https://github.com/4thline/cling
Canonical: https://ross.abutalabs.com/products/4thline-cling
Language: Java
License Family: other
Last push: 2020-02-11T16:56:54+00:00

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

## Adoption (not part of the score)
Stars 1781, forks 618 (observed 2026-08-28T04:05:35.395411+00:00)

## What it is
Cling is a Java and Android library implementing the UPnP Device Architecture 1.0 specification, allowing applications to expose UPnP services or build control points that discover and control UPnP/DLNA devices. It offers strict spec compliance, clean APIs, and optional support modules for common media server and renderer tasks.

## Use cases
- build a DLNA media renderer in an Android app
- discover and control UPnP devices on the local network
- expose a Java service with a UPnP remoting interface
- cast media from an app to a smart TV or media player
- implement a UPnP control point application
- integrate UPnP/DLNA support into a JVM application

## When to choose
- you need a spec-compliant UPnP stack in Java or Android
- you want to build DLNA control point or media server functionality
- you need an embeddable library with clean APIs and SPIs for customization

## When to avoid
- you need actively maintained software with recent fixes
- you need UPnP 2.0 support
- you are not working on the JVM or Android platform

## Facets
- artifact type: library
- maturity: abandoned
- function: networking, sdk
- domain: developer-tools, media, networking
- platform: jvm, cross-platform
- tags: upnp, dlna, java, media-streaming, device-discovery, android

## Member repositories
- 4thline/cling (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.395411+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-30T03:24:23.881461+00:00, confidence not recorded.
  - readme: https://github.com/4thline/cling (fetched 2026-08-28T04:05:35.395411+00:00, sha 1e59194f051c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
