# The Secular Lens

**Bible verses recast as secular-humanist insight.**

The Secular Lens is a web application that reads the Bible as a *human* document rather than a divine one, and surfaces the psychological, philosophical, and ethical insight underneath each passage. It is not an argument for or against God. It doesn't ask you to believe, and it doesn't ask you to rebel. It asks a more interesting question: what happens when you read this ancient library as something people wrote?

## The premise

The Bible is one of the most consequential documents in human history — not because of its divine authorship, but precisely because it had none. It was written by people: ancient scribes, tribal historians, itinerant preachers, political exiles, and apocalyptic visionaries, each trying to make sense of the world they lived in. Fear of death, the injustice of power, the ache of loss, the need for community — these are the forces that shaped every verse.

The Bible is also a piece of social technology. Humans cooperate in massive numbers with strangers because we can believe in things that exist only in our shared imagination — nations, laws, money, rights. Religion is among the oldest and most powerful of these shared stories: a way of encoding the rules of cooperation into a narrative compelling enough that people would live by it, die for it, and enforce it on others. Seen this way, the Bible is a record of what a society needed its people to believe. It encodes property and inheritance law, defines who belongs and who is foreign, and sanctifies the existing social order by attributing it to God.

That is what makes it endlessly worth reading and endlessly worth questioning. Strip away the theology and what remains is surprisingly rich: a Bronze Age king wrestling with mortality, a displaced people writing songs about grief by a foreign river, a radical first-century preacher upending the social order of Roman occupation, a philosopher staring into the meaninglessness of existence two thousand years before Camus named it.

## How it treats the text

- **Where a verse is wise, the app finds the wisdom** — through the lenses of psychology, Stoicism, humanism, and existentialism.
- **Where a verse is morally repugnant** — endorsing slavery, commanding genocide, or legislating the silence of women — **it doesn't flinch or spin.** It treats those passages honestly, as evidence of their era, and asks what our rejection of them reveals about how far human ethics have actually traveled.

The tone is reflective, intellectually rigorous, and empathetic. It treats the Bible as a fascinating human document — it does not mock it, and it does not validate its supernatural claims. It never preaches.

## What each interpretation contains

Every verse is returned as a structured insight with these parts:

| Field | Description |
|-------|-------------|
| **Reference** | Book, chapter, verse, and translation |
| **Verse** | The verse text as given |
| **Category** | One of 23 themes (e.g. Existential, Mortality, Justice, Hypocrisy, Wisdom, Doubt, Power, Forgiveness) |
| **Title** | A 3–6 word descriptive title |
| **Translation note** | A one-sentence note when KJV / ASV / WEB wording differs meaningfully |
| **Context** | The historical or psychological reality that produced the text |
| **Lens** | A secular interpretation through psychology, Stoicism, humanism, or existentialism |
| **Insight** | A concrete modern takeaway |

## The three modes

- **Daily** — A single verse each day, pre-generated and waiting, rotating deterministically through the corpus.
- **Explore** — A curated, browsable archive of pre-generated insights (386 curated verses out of 403 total), filterable by theme. Spans every register of the tradition: the existential, the wise, the contradictory, and the deeply uncomfortable.
- **Adventure** — The full library, with any verse interpreted live in real time, in whichever translation you choose: King James (KJV), American Standard (ASV), or World English (WEB).

## How it works

```
Browser  ──→  Express (Node.js)  ──→  Anthropic Claude API
                    │
                SQLite DB  (generated insights, stored persistently)
```

- The Anthropic API key lives only on the server and never reaches the browser; the server proxies every AI call.
- Generated interpretations are cached in SQLite, so a verse anyone has already explored loads instantly and isn't regenerated.
- Verse texts come from public-domain translations (KJV, ASV, WEB).
- The frontend is vanilla HTML/JS with no build step; the whole app is self-hosted via Docker.

**Tech stack:** Node.js 20 + Express 4 · SQLite (better-sqlite3) · Anthropic Claude (claude-sonnet-4-5) · Docker / Docker Compose.

---

*No belief required. No agenda beyond curiosity.*
