# unline2/RandomImage

一个能够获取随机图片的 Api，使用 SpringBoot 构建

Repository: https://github.com/unline2/RandomImage
Canonical: https://ross.abutalabs.com/products/randomimage
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2020-03-04T10:50:27+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": 2373, "days_push": 2373, "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 1318, forks 815 (observed 2026-08-28T04:04:21.123629+00:00)

## What it is
A Spring Boot-based API service that serves random images from locally maintained URL list files. It supports per-list endpoints, a daily image endpoint, cache flushing, and optional domain whitelist access control.

## Use cases
- serve random images for website backgrounds or banners
- self-host a random image API for my blog
- get a different image every day via an API endpoint
- restrict image API usage to whitelisted domains
- serve random wallpapers from a curated URL list

## When to choose
- you want a lightweight self-hosted random image API in Java
- you need simple domain whitelist protection against hotlinking
- you already run JVM services and want minimal setup with text-file configuration

## When to avoid
- you need to serve images stored locally on disk rather than remote URLs
- you need usage statistics or advanced access control out of the box
- you prefer a non-Java stack or a serverless deployment model

## Facets
- artifact type: service
- maturity: maintenance
- function: http-server, api-framework, image-processing, routing
- domain: web-development, apis, self-hosted, media
- platform: jvm, self-hosted
- tags: random-image, spring-boot, image-api, hotlinking, whitelist, web-server

## Member repositories
- unline2/RandomImage (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.123629+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-30T04:48:10.571908+00:00, confidence not recorded.
  - readme: https://github.com/unline2/RandomImage (fetched 2026-08-28T04:04:21.123629+00:00, sha f1410f26921e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
