# MatthiasRobbers/shortbread

Android library that creates app shortcuts from annotations

Repository: https://github.com/MatthiasRobbers/shortbread
Canonical: https://ross.abutalabs.com/products/shortbread
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, android-library, annotation-processor, app-shortcuts, deep-links, code-generation, kotlin, gradle-plugin
Last push: 2021-04-10T13:04:09+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": 3490, "days_push": 1971, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1758, forks 146 (observed 2026-08-28T04:05:32.368379+00:00)

## What it is
Shortbread is an Android library that generates app shortcuts from @Shortcut annotations on activities and methods, using annotation processing and code generation. It eliminates the need to manually edit the manifest, write XML files, or call the ShortcutManager API.

## Use cases
- add static and dynamic app shortcuts to an Android app with annotations
- generate Android app shortcuts without touching the manifest or XML files
- create home screen shortcuts that launch specific activities or methods
- customize shortcut icons, labels, ranks, and back stacks declaratively
- wire deep links into launcher shortcuts from annotated code

## When to choose
- you want boilerplate-free Android app shortcuts defined next to your activities and methods
- you prefer annotation processing and code generation over manual manifest and ShortcutManager setup
- your project uses Java or Kotlin with kapt and Gradle

## When to avoid
- you need shortcuts on platforms or Android versions outside the app shortcuts API
- you avoid annotation processors or kapt in your build
- you need a library under active development with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: annotation-processor, app-shortcuts, deep-links, kotlin, gradle-plugin, code-generation, android, gradle

## Member repositories
- MatthiasRobbers/shortbread (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.368379+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:27:33.323875+00:00, confidence not recorded.
  - readme: https://github.com/MatthiasRobbers/shortbread (fetched 2026-08-28T04:05:32.368379+00:00, sha 33c2f6322b94)
- Data as of 2026-08-30T08:39:29.467469+00:00.
