Skip to content

armgit / bygga

Public Imported from GitHub
0

IKEA assembly, step by step: animated, manual-style 3D guides. Scan any paper manual with Together AI.

TypeScript

Privacy and terms page, and the unofficial line wherever a guide travels

Youssef7a1d021feb5c
diff --git a/src/app/guide.css b/src/app/guide.css
index 08042d9..8f0996e 100644
--- a/src/app/guide.css
+++ b/src/app/guide.css
@@ -1063,6 +1063,12 @@
flex-wrap: wrap;
gap: 0 22px;
}
+.cover-note {
+ margin: 14px 0 0;
+ font-size: 12.5px;
+ line-height: 1.45;
+ color: var(--ink-3);
+}
/* ================= tools ================= */
diff --git a/src/app/home.css b/src/app/home.css
index 38acc2e..9410b54 100644
--- a/src/app/home.css
+++ b/src/app/home.css
@@ -2293,3 +2293,58 @@
font-size: 13.5px;
}
}
+
+/* ================= privacy and terms ================= */
+
+.legal {
+ max-width: 680px;
+ margin: 0 auto;
+ padding: 56px 0 72px;
+}
+.legal h1 {
+ margin: 0;
+ font-family: var(--display);
+ font-size: clamp(34px, 6vw, 48px);
+ font-weight: 800;
+ letter-spacing: -0.035em;
+ line-height: 1.05;
+}
+.legal .lead {
+ margin: 14px 0 8px;
+ color: var(--ink-2);
+ font-size: 17px;
+ line-height: 1.55;
+}
+.legal h2 {
+ margin: 36px 0 10px;
+ font-family: var(--display);
+ font-size: 22px;
+ font-weight: 800;
+ letter-spacing: -0.02em;
+}
+.legal ul {
+ display: grid;
+ gap: 10px;
+ margin: 0;
+ padding-left: 20px;
+}
+.legal li,
+.legal p {
+ font-size: 16px;
+ line-height: 1.6;
+ color: var(--ink-2);
+ text-wrap: pretty;
+}
+.legal p {
+ margin: 10px 0 0;
+}
+.legal b {
+ color: var(--ink);
+ font-weight: 600;
+}
+.legal a {
+ color: var(--ink);
+ text-decoration: underline;
+ text-decoration-thickness: 1.5px;
+ text-underline-offset: 3px;
+}
diff --git a/src/app/opengraph-image.tsx b/src/app/opengraph-image.tsx
index 9ef5d8a..4fb0645 100644
--- a/src/app/opengraph-image.tsx
+++ b/src/app/opengraph-image.tsx
@@ -1,6 +1,6 @@
import { OG_SIZE, siteCard } from "@/lib/og/card";
-export const alt = "Bygga: IKEA assembly, step by step. A KALLAX step from the paper booklet, next to the same step on Bygga. Powered by Together AI";
+export const alt = "Bygga: IKEA assembly, step by step. A KALLAX step drawn in the paper booklet style, next to the same step on Bygga. Powered by Together AI";
export const size = OG_SIZE;
export const contentType = "image/png";
diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx
new file mode 100644
index 0000000..fc37826
--- /dev/null
+++ b/src/app/privacy/page.tsx
@@ -0,0 +1,77 @@
+import type { Metadata } from "next";
+import SiteHeader from "@/components/SiteHeader";
+import SiteFooter from "@/components/SiteFooter";
+import { GITHUB_URL } from "@/lib/site";
+
+export const metadata: Metadata = {
+ title: "Privacy and terms | Bygga",
+ description: "What Bygga keeps, what it sends where, and the terms for using the guides.",
+ alternates: { canonical: "/privacy" },
+};
+
+export default function Privacy() {
+ return (
+ <div className="site">
+ <SiteHeader />
+ <main className="legal">
+ <h1>Privacy and terms</h1>
+ <p className="lead">Short version: no accounts, no cookies, no ads, and nothing sold. Here is exactly what goes where. Last updated October 27, 2026.</p>
+
+ <h2>On your device</h2>
+ <ul>
+ <li>Your build progress, which step you are on, and settings like the voice, saved in your browser&apos;s local storage.</li>
+ <li>Your own Together AI key, if you add one. It is sent with your requests so they run on your account, and never stored on our side.</li>
+ <li>Guides and voice clips you have opened, kept by the browser so they work offline.</li>
+ </ul>
+ <p>Clearing this site&apos;s data in your browser deletes all of it.</p>
+
+ <h2>What reaches our server</h2>
+ <ul>
+ <li>The product name you search for, to find or draft its guide.</li>
+ <li>Questions and photos you send from &ldquo;Stuck?&rdquo;, and photos of a box label you search with. Photos are resized in your browser first, which also removes location data.</li>
+ <li>The text of a voice line that has no recording yet, to record it.</li>
+ <li>Feedback you send, such as &ldquo;This step doesn&apos;t match my box&rdquo;, kept in our server logs with the product and step.</li>
+ <li>Your IP address, held in memory for a few minutes to stop abuse, then dropped.</li>
+ </ul>
+
+ <h2>Who else sees it</h2>
+ <ul>
+ <li>
+ <b>Together AI</b> (United States) turns searches, questions and photos into answers and records voice lines. See their{" "}
+ <a href="https://www.together.ai/privacy" target="_blank" rel="noreferrer">
+ privacy policy
+ </a>
+ .
+ </li>
+ <li>
+ <b>Vercel</b> hosts the site and counts visits without cookies: the page, the referring site, your country or city, and your browser. See their{" "}
+ <a href="https://vercel.com/docs/analytics/privacy-policy" target="_blank" rel="noreferrer">
+ analytics privacy notes
+ </a>
+ .
+ </li>
+ <li>
+ <b>Your browser&apos;s speech service</b>, only when you turn on the voice and say &ldquo;next&rdquo;. Bygga never receives the audio, but your browser may send it to its maker to turn it into text: Google in Chrome, Apple in Safari. Where Chrome can listen on the device itself, Bygga asks it to.
+ </li>
+ </ul>
+
+ <h2>Terms of use</h2>
+ <ul>
+ <li>Bygga is free and comes as it is, with no warranty. The guides are generated drawings, not IKEA&apos;s instructions, and some are drafted by AI. Always check each step against the paper manual in the box.</li>
+ <li>You build at your own risk. Take care with heavy parts and get a second person when a step says so. Fix tall furniture to the wall with the fittings that come with it.</li>
+ <li>Bygga is an independent, unofficial project. It is not affiliated with, sponsored or endorsed by Inter IKEA Systems B.V. or any IKEA company. IKEA and IKEA product names are trademarks of their owners, used here only to say which product a guide is for.</li>
+ </ul>
+
+ <h2>Questions</h2>
+ <p>
+ Open an issue on{" "}
+ <a href={`${GITHUB_URL}/issues`} target="_blank" rel="noreferrer">
+ GitHub
+ </a>{" "}
+ and we&apos;ll answer there.
+ </p>
+ </main>
+ <SiteFooter />
+ </div>
+ );
+}
diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts
index 92315cf..6279317 100644
--- a/src/app/sitemap.ts
+++ b/src/app/sitemap.ts
@@ -6,6 +6,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
return [
{ url: SITE_URL, changeFrequency: "weekly", priority: 1 },
{ url: `${SITE_URL}/browse`, changeFrequency: "weekly", priority: 0.8 },
+ { url: `${SITE_URL}/privacy`, changeFrequency: "yearly", priority: 0.2 },
...PRODUCTS.map((p) => ({ url: `${SITE_URL}/build/${p.slug}`, changeFrequency: "monthly" as const, priority: p.featured ? 0.9 : p.checked ? 0.7 : 0.5 })),
];
}
diff --git a/src/app/twitter-image.tsx b/src/app/twitter-image.tsx
index 9ef5d8a..4fb0645 100644
--- a/src/app/twitter-image.tsx
+++ b/src/app/twitter-image.tsx
@@ -1,6 +1,6 @@
import { OG_SIZE, siteCard } from "@/lib/og/card";
-export const alt = "Bygga: IKEA assembly, step by step. A KALLAX step from the paper booklet, next to the same step on Bygga. Powered by Together AI";
+export const alt = "Bygga: IKEA assembly, step by step. A KALLAX step drawn in the paper booklet style, next to the same step on Bygga. Powered by Together AI";
export const size = OG_SIZE;
export const contentType = "image/png";
diff --git a/src/components/SiteFooter.tsx b/src/components/SiteFooter.tsx
index edfaf05..f89b23a 100644
--- a/src/components/SiteFooter.tsx
+++ b/src/components/SiteFooter.tsx
@@ -35,6 +35,7 @@ export default function SiteFooter() {
<a href="https://www.together.ai" target="_blank" rel="noreferrer">
Together AI <IArrowOut size={14} />
</a>
+ <Link href="/privacy">Privacy and terms</Link>
</div>
</nav>
diff --git a/src/components/guide/CoverPanel.tsx b/src/components/guide/CoverPanel.tsx
index cb17e1a..a9b90c5 100644
--- a/src/components/guide/CoverPanel.tsx
+++ b/src/components/guide/CoverPanel.tsx
@@ -147,7 +147,7 @@ export default function CoverPanel({
<b>{s.custom?.fromCover ? "Drawn from the cover" : "Made from your manual"}</b>
<span>
{s.custom?.fromCover
- ? "Together AI only saw the cover, so this is a typical build for this product. Scan the inside pages for an exact match."
+ ? `Together AI only saw the cover, so this is a typical build for this product.${SCAN_ENABLED ? " Scan the inside pages for an exact match." : " Keep the paper manual close."}`
: "Together AI read your pages and drew each step. Check every step against the paper manual before you fix anything."}
</span>
{s.custom?.fromCover && SCAN_ENABLED && (
@@ -175,13 +175,14 @@ export default function CoverPanel({
<div className="cover-links">
{via !== "scan" && (
<a className="official" href={official} target="_blank" rel="noreferrer">
- Official manual on ikea.com <IExternal size={15} />
+ Find the manual on ikea.com <IExternal size={15} />
</a>
)}
<Link className="official" href={`/build/${s.slug}/print`}>
<IPrint size={15} /> Print this guide
</Link>
</div>
+ <p className="cover-note">Not affiliated with IKEA. Check each step against the paper manual in the box.</p>
</div>
<div className="pane-foot">
{resumable ? (
@@ -244,7 +245,6 @@ function chipLabels(labels: string[]) {
});
}
-/** IKEA's shorthand in its type names, as words. */
/** IKEA's shorthand spelled out, first letter up. */
function tidy(t: string) {
diff --git a/src/components/home/Compare.tsx b/src/components/home/Compare.tsx
index d2b1fae..31bdef4 100644
--- a/src/components/home/Compare.tsx
+++ b/src/components/home/Compare.tsx
@@ -84,12 +84,12 @@ export default function Compare() {
<h2 className="sec-title" id="compare-title">
The paper manual, explained
</h2>
- <p className="cmp-sub">One step from the KALLAX booklet, next to the same step on Bygga.</p>
+ <p className="cmp-sub">A KALLAX step redrawn in the style of the paper booklet, next to the same step on Bygga.</p>
</div>
<div className="cmp-pair" style={{ gridTemplateColumns: `${VB.paper.w}fr ${VB.bygga.w}fr` }}>
<figure className="cmp-card paper">
- <figcaption className="cmp-tag paper">In the box</figcaption>
+ <figcaption className="cmp-tag paper">Booklet style</figcaption>
<div className="cmp-art" style={{ aspectRatio: `${VB.paper.w} / ${VB.paper.h}` }}>
<svg viewBox={`${VB.paper.x} ${VB.paper.y} ${VB.paper.w} ${VB.paper.h}`} aria-hidden="true">
<PaperPage vb={VB.paper} />
diff --git a/src/lib/og/card.tsx b/src/lib/og/card.tsx
index e48cf5a..17b2475 100644
--- a/src/lib/og/card.tsx
+++ b/src/lib/og/card.tsx
@@ -61,11 +61,15 @@ function Logo() {
);
}
+/** The stamp, and the line that travels with every card: these guides are not IKEA's. */
function Powered() {
return (
- <div style={{ display: "flex", alignItems: "center", gap: 11, fontSize: 20, color: INK_2 }}>
- <span>Powered by</span>
- <TogetherStamp height={25} color={INK} />
+ <div style={{ display: "flex", flexDirection: "column", gap: 8, marginTop: 20 }}>
+ <div style={{ display: "flex", alignItems: "center", gap: 11, fontSize: 20, color: INK_2 }}>
+ <span>Powered by</span>
+ <TogetherStamp height={25} color={INK} />
+ </div>
+ <span style={{ fontSize: 15, color: "#8a877f" }}>Unofficial guide. Not affiliated with IKEA.</span>
</div>
);
}
@@ -133,7 +137,7 @@ function nameSize(name: string) {
const lines = name.includes(" / ") ? name.split(" / ").map((l, i, a) => (i < a.length - 1 ? l + " /" : l)) : name.split(/\s+/);
const em = Math.max(...lines.map((l) => [...l.toUpperCase()].reduce((a, c) => a + (WIDE[c] ?? 0.64), 0)));
// two lines of name leave room for the rest of the column
- return Math.max(56, Math.min(lines.length > 1 ? 88 : 118, Math.floor(NAME_W / em)));
+ return Math.max(56, Math.min(lines.length > 1 ? 80 : 118, Math.floor(NAME_W / em)));
}
export async function guideCard(o: { name: string; variant: string; steps: number | null; art: string | null }) {
@@ -147,7 +151,7 @@ export async function guideCard(o: { name: string; variant: string; steps: numbe
<span style={{ fontSize: 24, fontWeight: 700, color: INK_2 }}>Assembly guide</span>
<span style={{ display: "flex", flexWrap: "wrap", fontFamily: "Display", fontWeight: 800, fontSize: size, lineHeight: 1.04, letterSpacing: "-0.045em", marginTop: 10 }}>{o.name}</span>
<span style={{ fontSize: 30, fontWeight: 500, color: INK_2, marginTop: 16, lineHeight: 1.25, maxWidth: 420 }}>{variant}</span>
- <div style={{ display: "flex", marginTop: 30 }}>
+ <div style={{ display: "flex", marginTop: 26 }}>
<span style={{ display: "flex", fontSize: 26, fontWeight: 700 }}>
<Marked size={26}>{o.steps ? `${o.steps} steps, in 3D` : "Every step, in 3D"}</Marked>
</span>