# rikschennink/shiny

🌟 Shiny reflections for mobile websites

Repository: https://github.com/rikschennink/shiny
Canonical: https://ross.abutalabs.com/products/rikschennink-shiny
Homepage: https://pqina.nl/shiny/
Language: JavaScript
License: MIT
License Family: permissive
Topics: mobile, css, javascript, motion, light, devicemotion
Last push: 2022-12-02T20:45:19+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2788, "days_push": 1370, "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 2779, forks 67 (observed 2026-08-28T04:07:21.556971+00:00)

## What it is
A tiny JavaScript library that simulates light reflections on text, backgrounds, and borders using the DeviceMotion API on mobile devices. Development is on hold since iOS 12.2 disabled device sensor access in Safari.

## Use cases
- add glossy light reflections to mobile web UI elements
- simulate light movement on a credit card component using device tilt
- animate gradients reacting to phone motion
- add shine effects to text and borders on mobile sites
- create motion-reactive visual effects without heavy dependencies

## When to choose
- building a mobile-only web page targeting devices where DeviceMotion is available
- you want a sub-1kB effect library with no dependencies
- creating a demo or showcase with device-tilt-driven light effects

## When to avoid
- targeting iOS 12.2+ Safari where device sensors are blocked
- you need cross-platform or desktop light effects
- you need a maintained library with active support
- landscape orientation rendering matters for your layout

## Facets
- artifact type: library
- maturity: abandoned
- function: animation, ui-components
- domain: frontend, mobile-development, web-development
- platform: browser
- tags: device-motion, light-reflections, css-effects, mobile-web, tiny-library, mobile, javascript

## Member repositories
- rikschennink/shiny (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:21.556971+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-30T08:16:09.027962+00:00, confidence not recorded.
  - readme: https://github.com/rikschennink/shiny (fetched 2026-08-28T04:07:21.556971+00:00, sha 25d14978e646)
  - homepage: https://pqina.nl/shiny/ (fetched 2026-08-29T09:55:43.463888+00:00, sha 43c48ff1ab5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
