Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Phase-by-phase build plan: see [docs/phases/](docs/phases/).

## License

Copyright (C) 2026 sovITxyz <[email protected]>
Copyright (C) 2026 Sovereign Technology S.A.S. de C.V. <[email protected]>

[AGPL-3.0-only](LICENSE). If you run a modified nbread.lol as a service, you
must offer its source to your users.
2 changes: 1 addition & 1 deletion src/relay/nip11.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from "./protocol";

/** Public source repository (NIP-11 `software`). */
export const RELAY_SOFTWARE = "https://github.com/sovITxyz/nbread";
export const RELAY_SOFTWARE = "https://github.com/SovereignTechnology/nbread";
/** Relay implementation version (NIP-11 `version`). */
export const RELAY_VERSION = "0.1.0";
/**
Expand Down
6 changes: 3 additions & 3 deletions src/views/main/chrome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ export function SiteFooter() {
<p>
<a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> ·{" "}
<a href="/docs">Docs</a> ·{" "}
<a href="https://github.com/sovITxyz/nbread" rel="noopener">
<a href="https://github.com/SovereignTechnology/nbread" rel="noopener">
Source (AGPL)
</a>
</p>
<p>
Created by{" "}
<a href="https://sovit.xyz" rel="noopener">
sovit.xyz
<a href="https://www.sovtech.pro/" rel="noopener">
Sovereign Technology
</a>{" "}
— inspired by{" "}
<a href="https://herman.bearblog.dev" rel="noopener">
Expand Down
4 changes: 2 additions & 2 deletions src/views/main/docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ body { font-family: Georgia, serif; }
<h2>Source & license</h2>
<p>
AGPL-3.0 —{" "}
<a href="https://github.com/sovITxyz/nbread">
github.com/sovITxyz/nbread
<a href="https://github.com/SovereignTechnology/nbread">
github.com/SovereignTechnology/nbread
</a>
. Run your own if you like.
</p>
Expand Down
8 changes: 4 additions & 4 deletions src/views/main/privacy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,17 @@ export function PrivacyPage() {
<h2>Source</h2>
<p>
nbread.lol is open source under AGPL-3.0:{" "}
<a href="https://github.com/sovITxyz/nbread">
github.com/sovITxyz/nbread
<a href="https://github.com/SovereignTechnology/nbread">
github.com/SovereignTechnology/nbread
</a>
.
</p>

<h2>Contact</h2>
<p>
Questions about this policy:{" "}
<a href="mailto:[email protected]">[email protected]</a> or open an issue on{" "}
<a href="https://github.com/sovITxyz/nbread">GitHub</a>.
<a href="mailto:[email protected]">[email protected]</a> or open an issue on{" "}
<a href="https://github.com/SovereignTechnology/nbread">GitHub</a>.
</p>
</main>
<SiteFooter />
Expand Down
4 changes: 2 additions & 2 deletions src/views/main/terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export function TermsPage() {

<h2>Contact</h2>
<p>
<a href="mailto:[email protected]">[email protected]</a> or the{" "}
<a href="https://github.com/sovITxyz/nbread">GitHub repo</a>.
<a href="mailto:[email protected]">[email protected]</a> or the{" "}
<a href="https://github.com/SovereignTechnology/nbread">GitHub repo</a>.
</p>
</main>
<SiteFooter />
Expand Down
4 changes: 2 additions & 2 deletions test/integration/__snapshots__/discover.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`discover feed (P6) > matches the snapshot 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Discover — nbread.lol</title><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><header class="site-header"><a class="site-brand" href="/"><img src="/logo.svg" width="28" height="28" alt=""/> nbread.lol</a><nav class="site-nav-links"><a href="/discover" aria-current="page">Discover</a><a href="/search">Search</a><a href="/docs">Docs</a><a href="/login">Log in</a></nav></header><main class="discover"><h1>Discover</h1><p class="page-intro">Recent posts from blogs on nbread.lol.</p><ul class="post-list feed-list"><li class="post-item"><a class="post-link" href="https://bob.nbread.lol/bob-first">Bob&#39;s first post</a> <span class="post-author">by <a href="https://bob.nbread.lol/">@bob</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">A second author for feed/search tests</p></li><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/xss-test">XSS &lt;script&gt;alert(&#39;title&#39;)&lt;/script&gt; torture</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">&lt;img src=x onerror=alert(&#39;summary&#39;)&gt;</p></li><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/markdown-torture">Markdown torture test</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">Every markdown feature in one post</p></li><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/hello-world">Hello world</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">Alice&#39;s first nbread.lol test post</p></li></ul></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/sovITxyz/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://sovit.xyz" rel="noopener">sovit.xyz</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;
exports[`discover feed (P6) > matches the snapshot 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Discover — nbread.lol</title><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><header class="site-header"><a class="site-brand" href="/"><img src="/logo.svg" width="28" height="28" alt=""/> nbread.lol</a><nav class="site-nav-links"><a href="/discover" aria-current="page">Discover</a><a href="/search">Search</a><a href="/docs">Docs</a><a href="/login">Log in</a></nav></header><main class="discover"><h1>Discover</h1><p class="page-intro">Recent posts from blogs on nbread.lol.</p><ul class="post-list feed-list"><li class="post-item"><a class="post-link" href="https://bob.nbread.lol/bob-first">Bob&#39;s first post</a> <span class="post-author">by <a href="https://bob.nbread.lol/">@bob</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">A second author for feed/search tests</p></li><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/xss-test">XSS &lt;script&gt;alert(&#39;title&#39;)&lt;/script&gt; torture</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">&lt;img src=x onerror=alert(&#39;summary&#39;)&gt;</p></li><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/markdown-torture">Markdown torture test</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">Every markdown feature in one post</p></li><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/hello-world">Hello world</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">Alice&#39;s first nbread.lol test post</p></li></ul></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/SovereignTechnology/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://www.sovtech.pro/" rel="noopener">Sovereign Technology</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;

exports[`landing page (P6 polish) > pitches the product and carries the login CTA 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>nbread.lol — Nostr-native blogging</title><meta name="description" content="Nostr-native, no-nonsense, super-fast blogging. Your posts are NIP-23 events signed by your key."/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><main class="landing"><div class="hero"><img class="logo-hero" src="/logo.svg" width="72" height="72" alt=""/><h1>nbread.lol</h1><p class="tagline">Nostr-native, no-nonsense, super-fast blogging.</p><p class="tagline-sub">Your posts are NIP-23 events signed by your key — we just render them beautifully at <code>you.nbread.lol</code>.</p><p class="landing-cta"><a class="cta-button" href="/login">Sign in with Nostr</a><a class="cta-secondary" href="/discover">Discover blogs →</a></p></div><ul class="feature-list"><li><strong>Your keys, your words</strong> — every post is a signed event on public relays; leave any time and take everything with you.</li><li><strong>A real blog, not a feed</strong> — a clean site at <code>handle.nbread.lol</code> with RSS, Atom, and a sitemap.</li><li><strong>Free NIP-05</strong> — be <code>[email protected]</code> everywhere on Nostr.</li><li><strong>Write anywhere</strong> — the built-in markdown editor, signing in with your Nostr key (browser extension, Amber, or a remote signer), or any Nostr client; your blog stays in sync with the relays.</li><li><strong>Make it yours</strong> — custom theme CSS, no build step required.</li><li><strong>No ads, no trackers, no JavaScript on blogs</strong> — tiny pages, fast everywhere.</li></ul><p class="landing-links"><a href="/discover">Discover recent posts</a> · <a href="/search">Search</a> · <a href="/docs">Docs</a></p></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/sovITxyz/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://sovit.xyz" rel="noopener">sovit.xyz</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;
exports[`landing page (P6 polish) > pitches the product and carries the login CTA 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>nbread.lol — Nostr-native blogging</title><meta name="description" content="Nostr-native, no-nonsense, super-fast blogging. Your posts are NIP-23 events signed by your key."/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><main class="landing"><div class="hero"><img class="logo-hero" src="/logo.svg" width="72" height="72" alt=""/><h1>nbread.lol</h1><p class="tagline">Nostr-native, no-nonsense, super-fast blogging.</p><p class="tagline-sub">Your posts are NIP-23 events signed by your key — we just render them beautifully at <code>you.nbread.lol</code>.</p><p class="landing-cta"><a class="cta-button" href="/login">Sign in with Nostr</a><a class="cta-secondary" href="/discover">Discover blogs →</a></p></div><ul class="feature-list"><li><strong>Your keys, your words</strong> — every post is a signed event on public relays; leave any time and take everything with you.</li><li><strong>A real blog, not a feed</strong> — a clean site at <code>handle.nbread.lol</code> with RSS, Atom, and a sitemap.</li><li><strong>Free NIP-05</strong> — be <code>[email protected]</code> everywhere on Nostr.</li><li><strong>Write anywhere</strong> — the built-in markdown editor, signing in with your Nostr key (browser extension, Amber, or a remote signer), or any Nostr client; your blog stays in sync with the relays.</li><li><strong>Make it yours</strong> — custom theme CSS, no build step required.</li><li><strong>No ads, no trackers, no JavaScript on blogs</strong> — tiny pages, fast everywhere.</li></ul><p class="landing-links"><a href="/discover">Discover recent posts</a> · <a href="/search">Search</a> · <a href="/docs">Docs</a></p></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/SovereignTechnology/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://www.sovtech.pro/" rel="noopener">Sovereign Technology</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;
4 changes: 2 additions & 2 deletions test/integration/__snapshots__/search.spec.ts.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`search (P6) > search page > renders results with links to the posts' blog URLs 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Search — nbread.lol</title><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><header class="site-header"><a class="site-brand" href="/"><img src="/logo.svg" width="28" height="28" alt=""/> nbread.lol</a><nav class="site-nav-links"><a href="/discover">Discover</a><a href="/search" aria-current="page">Search</a><a href="/docs">Docs</a><a href="/login">Log in</a></nav></header><main class="search"><h1>Search</h1><form method="get" action="/search" class="search-form" role="search"><input type="search" name="q" value="hello" maxlength="256" placeholder="Search posts" aria-label="Search posts"/> <button type="submit">Search</button></form><p class="search-count">1 result for “hello”</p><ul class="post-list feed-list"><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/hello-world">Hello world</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">Alice&#39;s first nbread.lol test post</p></li></ul></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/sovITxyz/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://sovit.xyz" rel="noopener">sovit.xyz</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;
exports[`search (P6) > search page > renders results with links to the posts' blog URLs 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Search — nbread.lol</title><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><header class="site-header"><a class="site-brand" href="/"><img src="/logo.svg" width="28" height="28" alt=""/> nbread.lol</a><nav class="site-nav-links"><a href="/discover">Discover</a><a href="/search" aria-current="page">Search</a><a href="/docs">Docs</a><a href="/login">Log in</a></nav></header><main class="search"><h1>Search</h1><form method="get" action="/search" class="search-form" role="search"><input type="search" name="q" value="hello" maxlength="256" placeholder="Search posts" aria-label="Search posts"/> <button type="submit">Search</button></form><p class="search-count">1 result for “hello”</p><ul class="post-list feed-list"><li class="post-item"><a class="post-link" href="https://alice.nbread.lol/hello-world">Hello world</a> <span class="post-author">by <a href="https://alice.nbread.lol/">@alice</a></span> <time class="post-date" datetime="2023-11-14">2023-11-14</time><p class="post-summary">Alice&#39;s first nbread.lol test post</p></li></ul></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/SovereignTechnology/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://www.sovtech.pro/" rel="noopener">Sovereign Technology</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;

exports[`search (P6) > search page > serves the bare form without a query (no results section) 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Search — nbread.lol</title><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><header class="site-header"><a class="site-brand" href="/"><img src="/logo.svg" width="28" height="28" alt=""/> nbread.lol</a><nav class="site-nav-links"><a href="/discover">Discover</a><a href="/search" aria-current="page">Search</a><a href="/docs">Docs</a><a href="/login">Log in</a></nav></header><main class="search"><h1>Search</h1><form method="get" action="/search" class="search-form" role="search"><input type="search" name="q" value="" maxlength="256" placeholder="Search posts" aria-label="Search posts"/> <button type="submit">Search</button></form><p class="search-hint">Search every post published on nbread.lol.</p></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/sovITxyz/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://sovit.xyz" rel="noopener">sovit.xyz</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;
exports[`search (P6) > search page > serves the bare form without a query (no results section) 1`] = `"<html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Search — nbread.lol</title><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="stylesheet" href="/css/style.css"/></head><body class="apex"><header class="site-header"><a class="site-brand" href="/"><img src="/logo.svg" width="28" height="28" alt=""/> nbread.lol</a><nav class="site-nav-links"><a href="/discover">Discover</a><a href="/search" aria-current="page">Search</a><a href="/docs">Docs</a><a href="/login">Log in</a></nav></header><main class="search"><h1>Search</h1><form method="get" action="/search" class="search-form" role="search"><input type="search" name="q" value="" maxlength="256" placeholder="Search posts" aria-label="Search posts"/> <button type="submit">Search</button></form><p class="search-hint">Search every post published on nbread.lol.</p></main><footer class="site-footer"><p><a href="/privacy">Privacy</a> · <a href="/terms">Terms</a> · <a href="/docs">Docs</a> · <a href="https://github.com/SovereignTechnology/nbread" rel="noopener">Source (AGPL)</a></p><p>Created by <a href="https://www.sovtech.pro/" rel="noopener">Sovereign Technology</a> — inspired by <a href="https://herman.bearblog.dev" rel="noopener">Herman</a>&#39;s <a href="https://bearblog.dev" rel="noopener">Bear Blog</a>.</p></footer></body></html>"`;
Loading
Loading