Files
neuron-web/src/local_first.el
T
will.anderson 2553a6b7ac
Dev — Build & local smoke test / build-smoke (pull_request) Failing after 4m48s
feat(native-el-ui): convert all component files to el-html vessel API
Replaced raw HTML heredoc returns with native el_ function calls across
all 21 component files. styles.el intentionally excluded.
2026-05-08 22:35:41 -05:00

95 lines
6.3 KiB
EmacsLisp

// components/local_first.el - Privacy principles / local-first manifesto.
// Left: manifesto text. Right: six sticky principles.
extern fn el_section(attrs: String, children: String) -> String
extern fn el_div(attrs: String, children: String) -> String
extern fn el_span(attrs: String, children: String) -> String
extern fn el_h2(attrs: String, text: String) -> String
extern fn el_p(attrs: String, children: String) -> String
extern fn el_strong(children: String) -> String
fn local_first() -> String {
let label_row: String = el_div(
"class=\"lf-label-row reveal\"",
el_div("class=\"navy-line-left\" style=\"width:3rem;flex-shrink:0\"", "") +
el_span("class=\"label\" style=\"color:var(--navy-85)\"", "Local first")
)
let manifesto_closer: String = el_div(
"class=\"lf-manifesto-closer reveal\" style=\"transition-delay:600ms\"",
el_p("",
"Neuron is a direct rejection of that model. It runs on your machine. " +
el_strong("Your memory never leaves.") +
" I don't sell data, serve ads, or profile you. The only thing I sell is the software - and once you have it, it's yours."
)
)
let left_col: String = el_div(
"",
el_h2("class=\"display-lg lf-headline reveal\"", "You are not the product.") +
el_p("class=\"lf-manifesto-para reveal\" style=\"transition-delay:100ms\"",
"The company that gave you free search built the most powerful ad-targeting machine in history. The one that promised to connect the world optimized it for outrage - because outrage drives engagement, and engagement drives revenue. The one that gave everyone a voice sold that attention to the highest bidder. These aren't accidents. They're the business model."
) +
el_p("class=\"lf-manifesto-para reveal\" style=\"transition-delay:200ms\"",
"I've watched this play out across two decades. Every free product is the same transaction: something useful in exchange for something you didn't know you were selling - your attention, your behavior, your future choices. The product is always “free.” The price is always you."
) +
el_p("class=\"lf-manifesto-para reveal\" style=\"transition-delay:300ms\"",
"The harm is real. Teenage depression rates tracked the rise of algorithmic social feeds. Political polarization accelerated when engagement algorithms learned that outrage outperformed nuance. Billions of people had their data harvested, leaked, and weaponized - often without knowing. Democratic processes were manipulated at scale. And in every case, the companies responsible kept growing."
) +
el_p("class=\"lf-manifesto-para reveal\" style=\"transition-delay:400ms\"",
"Now AI is doing the same thing - faster and deeper. Your queries train their models. Your thought patterns become datasets. The way you reason, what you struggle with, what you're afraid of - it's all captured. You get a useful tool. They get a map of your mind."
) +
manifesto_closer
)
let principle1: String = el_div(
"class=\"lf-principle reveal\"",
el_p("class=\"lf-principle-label\"", "Your machine. Full stop.") +
el_p("class=\"lf-principle-body\"", "Neuron runs on your hardware. The memory, the agent loop, every conversation - none of it leaves your machine. Not to my servers. Not to anyone's.")
)
let principle2: String = el_div(
"class=\"lf-principle reveal\" style=\"transition-delay:120ms\"",
el_p("class=\"lf-principle-label\"", "No training on your data.") +
el_p("class=\"lf-principle-body\"", "Your queries don't improve a model you don't own. Your patterns aren't analyzed to serve you better ads. Your context belongs to you - not a training pipeline.")
)
let principle3: String = el_div(
"class=\"lf-principle reveal\" style=\"transition-delay:240ms\"",
el_p("class=\"lf-principle-label\"", "No ads. Ever.") +
el_p("class=\"lf-principle-body\"", "Not on the free tier. Not on paid. Not in any future version. Ads require surveillance. Surveillance requires your data. I'm not building that.")
)
let principle4: String = el_div(
"class=\"lf-principle reveal\" style=\"transition-delay:360ms\"",
el_p("class=\"lf-principle-label\"", "No telemetry for local use.") +
el_p("class=\"lf-principle-body\"", "When Neuron runs locally, I don't collect usage data. When you opt into Neuron cloud services - sync, backup, inbox - those services use the data they need to function. Nothing more.")
)
let principle5: String = el_div(
"class=\"lf-principle reveal\" style=\"transition-delay:480ms\"",
el_p("class=\"lf-principle-label\"", "Nothing to breach.") +
el_p("class=\"lf-principle-body\"", "I can't be hacked for your data because I don't have it. I can't be subpoenaed for your conversations because I've never seen them. I can't expose what I've never held. Your data living on your machine isn't just a privacy stance - it's a security one.")
)
let principle6: String = el_div(
"class=\"lf-principle reveal\" style=\"transition-delay:600ms\"",
el_p("class=\"lf-principle-label\"", "Unreadable even if taken.") +
el_p("class=\"lf-principle-body\"", "Everything Neuron touches is encrypted with post-quantum cryptography - ML-KEM for key exchange, ML-DSA for signatures. Both are NIST-finalized standards (FIPS 203/204), already deployed at scale across the web. Designed to withstand quantum computers, not just the ones that exist today.")
)
let right_col: String = el_div(
"class=\"lf-principles\"",
principle1 + principle2 + principle3 + principle4 + principle5 + principle6
)
let grid: String = el_div("class=\"lf-grid\"", left_col + right_col)
let callout: String = el_div(
"class=\"lf-callout reveal\"",
el_p("class=\"lf-callout-h\"", "The industry remembers you for them.") +
el_p("class=\"lf-callout-h2\"", "Neuron remembers you for you.") +
el_p("class=\"lf-callout-sub\"", "Local-first isn't a feature. It's a commitment.")
)
el_section(
"id=\"local-first\" aria-label=\"Local-first\"",
el_div("class=\"container-lg\"", label_row + grid + callout)
)
}