smooth-app
전 세계 식품의 성분·영양·정보를 자유롭게 협업하고 공개하는 데이터베이스
평균적으로 당신보다 앞선 초는 몇 초인가? SSA와 WHO 사망표를 기반으로 만든 무료·비공개 기대수명 시계이며, 데이터는 저장되지 않는다
How many seconds are ahead of you, on average? A free, private life-expectancy clock built on SSA and WHO life tables. Nothing is stored.
건강Python · JavaScriptGitHub @theguysaccount온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기LifeClock: your life counted in seconds, from public SSA and WHO life tables. A gentle, private life-expectancy clock with share cards and desk mode. Nothing stored.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Live: https://theguysaccount.github.io/lifeclock/ · Screens: docs/screens
Your life, counted in seconds. Enter a birthday, sex and country, and LifeClock shows a live count of the seconds ahead of you, on average, from public life tables: the U.S. Social Security Administration's for the US, and the World Health Organization's for 184 other countries and the world. It's an average, not a prediction, and it says so.
| What | Where | When |
|---|---|---|
| Validate, test, build, drive in headless Chrome, deploy, smoke-test, IndexNow | .github/workflows/pages.yml | every push |
| Fetch WHO (and try SSA) life tables, validate, commit, redeploy | .github/workflows/refresh.yml | monthly |
| Live end-to-end test, page and table checks, keep-alive | .github/workflows/selftest.yml | weekly |
Failure handling and the keys for the domain, analytics and posters: OPERATIONS.md.
data/ssa.json, data/who.json life tables (refreshed by refresh.yml), data/countries.json names and ISO codes
pipeline/lifetables.py fetch, parse and validate the WHO and SSA tables
pipeline/reference.py the model in Python (independent of the JS; the tests compare them)
pipeline/build.py static site generator (standard library only) -> dist/
site/assets/core.js the model in the browser; app.js the UI; selftest.js the end-to-end driver
scripts/ e2e.sh, screens.sh, og.py, indexnow.py, check_live.py, keepalive.sh
tests/ Python tests (tables, model, build) and tests/js (model, parity)
Python 3.9+, Google Chrome, Node 18+ for the JS tests.
python3 pipeline/build.py && python3 -m http.server -d dist 8000 # http://localhost:8000
python3 -m unittest discover -s tests
node --test tests/js/*.test.mjs
scripts/e2e.sh
Deploy is a push to main.
Exact age is time since local midnight on the birthday, in 365.2425-day years. Remaining years come from the SSA's single-year table (US; linear between ages) or the WHO's table at ages 0, 1, 5 … 85 (linear between; past 85, the WHO value follows the SSA curve's shape). "Prefer not to say" uses the WHO both-sexes table, or the average of the SSA's two tables. The clock counts down to the moment you pressed start plus those years.
Code: MIT. Life tables: SSA (U.S. government work, public domain) and WHO (CC BY-NC-SA 3.0 IGO); the derived data/who.json and dist/data/tables.json are shared under CC BY-NC-SA 3.0 IGO.