# jonfinerty/Once

A small Android library to manage one-off operations.

Repository: https://github.com/jonfinerty/Once
Canonical: https://ross.abutalabs.com/products/jonfinerty-once
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android-library, android
Last push: 2021-07-04T15:46:18+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": 4081, "days_push": 1886, "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 1197, forks 82 (observed 2026-08-28T04:03:57.554062+00:00)

## What it is
Once is a small Android library for managing one-off operations, letting apps track whether an action has already been performed within a given scope such as per install, per app version, or per time interval. It provides a simple tag-based API for marking tasks done, checking pending tasks, and rate-limiting operations.

## Use cases
- show a guided app tour only on first install
- display release notes once per app upgrade
- rate-limit phoning home to once per hour
- show feature onboarding only after the user has seen basic functionality
- check when a tagged action was last performed

## When to choose
- you need simple first-run or per-version one-time behavior in an Android app
- you want lightweight time-based rate limiting without extra dependencies

## When to avoid
- you need persistent, user-facing task management or scheduling
- your project is not Android or targets API below 14

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk
- domain: mobile-development, android-tools
- platform: -
- tags: android-library, one-off-operations, rate-limiting, first-run, android

## Member repositories
- jonfinerty/Once (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:57.554062+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-30T06:21:27.762340+00:00, confidence not recorded.
  - readme: https://github.com/jonfinerty/Once (fetched 2026-08-28T04:03:57.554062+00:00, sha c133ddbf78bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
