explaingit

geekan/howtolivelonger

35,045Audience · developerComplexity · 1/5StaleLicenseSetup · easy

TLDR

A research-backed guide for programmers showing which lifestyle habits, diet, exercise, sleep, dental care, most reduce mortality risk, with citations from peer-reviewed studies.

Mindmap

mindmap
  root((repo))
    What it does
      Cites peer-reviewed studies
      Quantifies mortality reduction
      Ranks habit impact
    Lifestyle categories
      Diet and drink
      Physical activity
      Sleep habits
      Dental hygiene
    Key findings
      Fruit reduces mortality 17-26%
      Smoking increases risk 50%
      Exercise and walking
    Audience
      Programmers
      Health-conscious developers
      Evidence-driven readers
    Format
      Markdown document
      Chinese and English
      No installation needed

Things people build with this

USE CASE 1

Review which lifestyle changes have the strongest scientific evidence for extending lifespan and prioritize where to focus effort.

USE CASE 2

Share research-backed health recommendations with colleagues or friends who are skeptical of generic wellness advice.

USE CASE 3

Use specific mortality reduction percentages from studies to motivate behavior change in yourself or others.

Getting it running

Difficulty · easy Time to first run · 5min
Public domain. Use however you want, no attribution required.

In plain English

HowToLiveLonger is a curated, evidence-based guide aimed at programmers who want to extend their healthy lifespan using habits backed by peer-reviewed research. The core problem it tackles is that programmers tend to have sedentary lifestyles, irregular sleep, and poor dietary habits, and this guide collects scientific literature to quantify exactly which lifestyle changes have the greatest impact on reducing all-cause mortality (ACM), a measure of the overall risk of dying from any cause. The project works by organizing findings from academic papers (published in journals like JAMA, NEJM, The Lancet, and Nature) into practical categories: what to eat and drink (foods, liquids), what to avoid (smoking, alcohol, ultra-processed food), physical activity (aerobic exercise, walking), sleep habits, dental hygiene, and contextual factors like body weight and emotional health. Each recommendation is accompanied by the specific study it came from and the estimated reduction in ACM, for example, eating fruit regularly is linked to a 17, 26% reduction in mortality risk, while smoking increases ACM by approximately 50%. The guide is structured as a Markdown document with a Chinese and English version. It is not a software project, it produces no code, has no runtime, and requires no installation. You read it directly in GitHub or in any text editor. You would use this resource if you are a developer (or really anyone) who wants a well-cited, data-driven summary of lifestyle habits proven to correlate with longer life. It is particularly useful for people who trust research-backed evidence over generic wellness advice, and who want to understand the relative magnitude of each habit's benefit before deciding where to invest effort. There is no tech stack in the traditional sense, the content is plain Markdown, licensed openly, and written primarily in Chinese with an English counterpart.

Copy-paste prompts

Prompt 1
I'm a programmer with a sedentary job. Based on the HowToLiveLonger guide, what are the top 3 lifestyle changes I should make first to reduce my mortality risk?
Prompt 2
Show me the specific studies cited in HowToLiveLonger that prove exercise reduces all-cause mortality, and what percentage reduction they found.
Prompt 3
Create a weekly habit plan using the evidence from HowToLiveLonger, prioritizing the changes with the biggest impact on lifespan.
Prompt 4
Compare the mortality reduction from diet changes versus exercise changes according to HowToLiveLonger's research citations.
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.