{"id":48566790,"url":"https://github.com/schalkneethling/timelapse","last_synced_at":"2026-04-08T13:03:32.382Z","repository":{"id":345801270,"uuid":"1187438435","full_name":"schalkneethling/timelapse","owner":"schalkneethling","description":"A collection of widgets that shows how much time has elapsed in the day, week, month, quarter, and year. Widgets and timezone are configurable.","archived":false,"fork":false,"pushed_at":"2026-03-20T20:45:46.000Z","size":285,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T09:45:03.058Z","etag":null,"topics":["css","html","javascript","pwa","web-components"],"latest_commit_sha":null,"homepage":"https://dot-timelapse.netlify.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schalkneethling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-20T18:15:49.000Z","updated_at":"2026-03-20T20:46:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/schalkneethling/timelapse","commit_stats":null,"previous_names":["schalkneethling/there-is-still-time"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/schalkneethling/timelapse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schalkneethling%2Ftimelapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schalkneethling%2Ftimelapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schalkneethling%2Ftimelapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schalkneethling%2Ftimelapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schalkneethling","download_url":"https://codeload.github.com/schalkneethling/timelapse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schalkneethling%2Ftimelapse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31556247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","html","javascript","pwa","web-components"],"created_at":"2026-04-08T13:03:30.910Z","updated_at":"2026-04-08T13:03:32.375Z","avatar_url":"https://github.com/schalkneethling.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Timelapse\n\n**Timelapse** is a progressive web app that shows how much of the **current day, week (ISO, with week number), month, quarter, and year** has elapsed — as percentages with a retro dot-matrix style board.\n\nBuilt with **[Vite+](https://viteplus.dev)** (Vite toolchain), **[Lit](https://lit.dev)** web components (**Light DOM**), HTML, CSS, and JavaScript.\n\n## Inspiration\n\nThe basic idea, look and feel are inspired by **[Finite by Srizan](https://playground.nothing.tech/detail/app/Ym0wYycapdPGCUPJ)** on [Nothing Tech’s Playground](https://playground.nothing.tech/).\n\n## Accessibility\n\nPalette and borders aim for **WCAG 2.2 AA**: primary and secondary text colors are chosen for at least **4.5:1** contrast on the page and card backgrounds; focus rings and control outlines target **3:1** non-text contrast where applicable. Layout transitions honor **`prefers-reduced-motion`**.\n\n## Features\n\n- Live-updating rows with dot progress bars and numeric percentages\n- **Settings** dialog: toggle which periods appear; pick a **time zone** (or use the device default). All interval math uses the selected IANA zone\n- **Accessibility**: skip link, semantic structure, `role=\"progressbar\"` with `aria-valuenow`, descriptive `aria-live` text per row, keyboard-friendly native `\u003cdialog\u003e` (Tab / Escape)\n\n## Progressive Web App (PWA)\n\nImplemented today (via **[vite-plugin-pwa](https://vite-pwa-org.netlify.app/)** / Workbox **`generateSW`**):\n\n- **Web app manifest** — `public/site.webmanifest` (linked from `index.html`): name, `start_url`, `scope`, `display: standalone`, icons, theme/background colors (supports installability where the browser allows it).\n- **Service worker registration** — `registerSW` from `virtual:pwa-register` with **`registerType: \"autoUpdate\"`** and **`immediate: true`**.\n- **Precaching** — shell assets (`index.html`, JS/CSS bundles) plus static files listed in `includeAssets` (favicons, manifest, PWA PNGs).\n- **Navigation fallback** — document navigations are served **`index.html`** so client routing still works when offline or on hard refresh (SPA-style).\n- **Activation** — **`skipWaiting`** and **`clientsClaim`** so a new worker can take over promptly.\n- **Cache cleanup** — **`cleanupOutdatedCaches`** removes stale precache entries after updates.\n\nNot implemented: push notifications, background sync, share targets, or a custom in-app “install” banner.\n\n## Scripts\n\n| Command          | Description                                                         |\n| ---------------- | ------------------------------------------------------------------- |\n| `pnpm dev`       | Start dev server                                                    |\n| `pnpm build`     | Production build                                                    |\n| `pnpm preview`   | Preview `dist`                                                      |\n| `pnpm typecheck` | `tsc --noEmit` — JS with **JSDoc** and `// @ts-check`               |\n| `pnpm check`     | **Vite+** (`vp check`) + `pnpm typecheck` + **Stylelint** (`*.css`) |\n| `pnpm check:fix` | Stylelint `--fix`, then `vp check --fix`                            |\n\n## Development\n\n```bash\npnpm install\npnpm dev\n```\n\nProduction builds emit the service worker above. With `pnpm dev`, registration and caching can differ from `pnpm build` / `pnpm preview`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschalkneethling%2Ftimelapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschalkneethling%2Ftimelapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschalkneethling%2Ftimelapse/lists"}