create-shibumi 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/package.json +1 -1
  2. package/scripts/shibumi.lock.json +2 -2
  3. package/scripts/ship.lock.json +2 -2
  4. package/src/templates/blog/agents.md +3 -1
  5. package/src/templates/blog/bun.lock +1 -0
  6. package/src/templates/blog/package.json +2 -1
  7. package/src/templates/blog/public/favicon.svg +1 -0
  8. package/src/templates/blog/public/style.css +77 -4
  9. package/src/templates/blog/src/components/BaseHead.astro +4 -0
  10. package/src/templates/blog/src/content/blog/one-vps-is-plenty.md +7 -5
  11. package/src/templates/blog/src/content/blog/own-your-source.md +9 -5
  12. package/src/templates/blog/src/content/blog/writing-for-agents.md +7 -5
  13. package/src/templates/blog/src/content.config.ts +3 -0
  14. package/src/templates/blog/src/layouts/Base.astro +12 -1
  15. package/src/templates/blog/src/pages/index.astro +5 -2
  16. package/src/templates/blog/src/pages/llms.txt.ts +1 -1
  17. package/src/templates/blog/src/pages/posts/[id].astro +2 -1
  18. package/src/templates/blog/src/pages/posts/[id].md.ts +1 -1
  19. package/src/templates/blog/src/pages/rss.xml.ts +1 -1
  20. package/src/templates/full-stack/public/favicon.svg +1 -0
  21. package/src/templates/full-stack/public/style.css +11 -6
  22. package/src/templates/full-stack/public/vendor/shibumi.css +18 -14
  23. package/src/templates/full-stack/src/app.ts +5 -3
  24. package/src/templates/shibumi.ts +2 -2
  25. package/src/templates/ship.ts +27 -6
  26. package/src/templates/static/bun.lock +25 -0
  27. package/src/templates/static/package.json +4 -1
  28. package/src/templates/static/public/favicon.svg +1 -0
  29. package/src/templates/static/public/index.html +11 -3
  30. package/src/templates/static/public/style.css +66 -20
  31. package/src/templates/web/public/favicon.svg +1 -0
  32. package/src/templates/web/public/style.css +11 -6
  33. package/src/templates/web/public/vendor/shibumi.css +18 -14
  34. package/src/templates/web/src/app.ts +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-shibumi",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Scaffold a Shibumi Stack project: Bun, Hono, Zod, Drizzle, SQLite, Alpine",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "0.2.7",
3
3
  "extensions": [
4
4
  {
5
5
  "name": "admin",
@@ -18,5 +18,5 @@
18
18
  "version": "1.0.1"
19
19
  }
20
20
  ],
21
- "sha256": "10386d9e6db61626780e85ef6bcc423e88402606b8ce9baa2c222e61cd32f134"
21
+ "sha256": "f859ca8e76ee58d8bbafb162ec8e06a794c9db6586759916a8e4b4d45568c5d4"
22
22
  }
@@ -1,4 +1,4 @@
1
1
  {
2
- "url": "https://shibumistack.dev/ship/v46.ts",
3
- "sha256": "bf1a6efb177a8a5e20e36b7e2c0bcec6bc5a8598dfd4f86e7ff129af92a0e648"
2
+ "url": "https://shibumistack.dev/ship/v47.ts",
3
+ "sha256": "7c4bee760498bea9f857934088e9fc1e3c1b835dfd49deb382d103248adedc63"
4
4
  }
@@ -14,7 +14,9 @@ bun ship # verify dist/, build the static image, upload, deploy
14
14
 
15
15
  ## Routes and templates
16
16
 
17
- - Posts are markdown files in `src/content/blog/`; the schema in `src/content.config.ts` requires title (max 60), description (50 to 160 characters, drives meta/RSS/llms.txt), date, optional ogImage.
17
+ - Posts are markdown files in `src/content/blog/`; the schema in `src/content.config.ts` requires title (max 60), description (50 to 160 characters, drives meta/RSS/llms.txt), date, optional ogImage, and an optional `draft` flag (default false).
18
+ - `draft: true` keeps a post out of everything: no page, no listing, no RSS, no llms.txt, no markdown alternate. Publish by removing the flag and running `bun ship`.
19
+ - Images: put files in `src/assets/` and reference them relatively from the markdown (`![alt](../../assets/photo.jpg)`); Astro optimizes them at build. Files in `public/` are served verbatim by URL.
18
20
  - `src/pages/index.astro` lists posts; `src/pages/posts/[id].astro` renders one; `src/layouts/Base.astro` and `src/components/BaseHead.astro` own the frame and every meta tag.
19
21
  - Generated endpoints: `/rss.xml`, `/llms.txt`, `/robots.txt`, and a markdown alternate for every post at `/posts/<id>.md`. All derive from the content collection; never hand-edit their output.
20
22
  - Site identity lives in `src/site.ts`. Design lives in `public/style.css` (one file, shibumi tokens, semantic selectors).
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "devDependencies": {
13
13
  "@astrojs/check": "0.9.10",
14
+ "@clack/prompts": "1.7.0",
14
15
  "typescript": "5.9.2",
15
16
  },
16
17
  },
@@ -9,7 +9,7 @@
9
9
  "check": "astro check",
10
10
  "preview": "astro preview",
11
11
  "ship": "bun scripts/ship.ts",
12
- "ship:setup": "bun scripts/ship.ts --setup --static --output-dir dist --build-script build",
12
+ "ship:setup": "bun scripts/ship.ts --setup --static --output-dir dist --build-script build --no-spa",
13
13
  "ship:update": "bun scripts/ship.ts --update",
14
14
  "ship:status": "bun scripts/ship.ts --status",
15
15
  "ship:logs": "bun scripts/ship.ts --logs"
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@astrojs/check": "0.9.10",
24
+ "@clack/prompts": "1.7.0",
24
25
  "typescript": "5.9.2"
25
26
  },
26
27
  "engines": {
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><style>text{fill:#e95f19;font-family:"Hiragino Sans","Noto Sans JP",sans-serif}@media (prefers-color-scheme:dark){text{fill:#ff8648}}</style><text x="50" y="55" font-size="62" text-anchor="middle" dominant-baseline="central">渋</text></svg>
@@ -36,14 +36,27 @@
36
36
  line-height: 1.6;
37
37
 
38
38
  > header {
39
- border-bottom: 1px solid var(--hairline);
40
- padding-bottom: 1rem;
39
+ max-width: 40.5rem;
40
+ margin: 0 auto;
41
+ padding-top: 1rem;
41
42
 
42
43
  a {
44
+ display: inline-flex;
45
+ align-items: center;
46
+ gap: 0.7rem;
43
47
  color: var(--ink);
44
- font-weight: 600;
48
+ font-family: ui-serif, Georgia, "Iowan Old Style", Cambria, serif;
49
+ font-size: 1.25rem;
50
+ font-weight: 500;
51
+ letter-spacing: 0.01em;
45
52
  text-decoration: none;
46
53
  }
54
+
55
+ .mark-badge {
56
+ color: var(--accent);
57
+ font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
58
+ font-size: 1.125rem;
59
+ }
47
60
  }
48
61
 
49
62
  > main {
@@ -53,7 +66,6 @@
53
66
  }
54
67
 
55
68
  > footer {
56
- border-top: 1px solid var(--hairline);
57
69
  padding-block: 4rem;
58
70
  text-align: center;
59
71
  color: var(--muted);
@@ -145,3 +157,64 @@
145
157
  margin-top: 0;
146
158
  }
147
159
  }
160
+
161
+ /* Post images: full column width, soft corners, credit line stays quiet. */
162
+ article img {
163
+ display: block;
164
+ width: 100%;
165
+ height: auto;
166
+ border-radius: 0.6rem;
167
+ opacity: 0.9;
168
+ transition: opacity 200ms ease;
169
+ }
170
+
171
+ article img:hover,
172
+ article img:focus-visible {
173
+ opacity: 1;
174
+ }
175
+
176
+ article small {
177
+ display: block;
178
+ margin-top: 0.5rem;
179
+ color: var(--muted);
180
+ font-size: 0.8rem;
181
+ }
182
+
183
+ .home-title {
184
+ display: flex;
185
+ align-items: baseline;
186
+ gap: 1rem;
187
+ }
188
+
189
+ .home-title .mark-badge {
190
+ color: var(--accent);
191
+ font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
192
+ font-size: 0.42em;
193
+ }
194
+
195
+ .post-end {
196
+ margin-top: 4rem;
197
+ }
198
+
199
+ .ghost-pill {
200
+ display: inline-block;
201
+ padding: 0.5rem 1.3rem;
202
+ border: 1px solid var(--hairline);
203
+ border-radius: 999px;
204
+ color: var(--muted);
205
+ text-decoration: none;
206
+ transition: color 160ms ease, border-color 160ms ease;
207
+ }
208
+
209
+ .ghost-pill:hover,
210
+ .ghost-pill:focus-visible {
211
+ color: var(--accent);
212
+ border-color: var(--accent);
213
+ }
214
+
215
+ article :not(pre) > code {
216
+ padding: 0.12em 0.42em;
217
+ border-radius: 0.35rem;
218
+ background: color-mix(in srgb, var(--ink) 6%, transparent);
219
+ font-size: 0.85em;
220
+ }
@@ -1,4 +1,5 @@
1
1
  ---
2
+ import { ClientRouter } from "astro:transitions";
2
3
  import { SITE } from "../site";
3
4
 
4
5
  interface Props {
@@ -16,6 +17,9 @@ const isArticle = Boolean(publishedTime);
16
17
  ---
17
18
 
18
19
  <meta charset="utf-8" />
20
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
21
+ <meta name="generator" content="create-shibumi (shibumistack.dev)" />
22
+ <ClientRouter />
19
23
  <meta name="viewport" content="width=device-width, initial-scale=1" />
20
24
  <title>{title}</title>
21
25
  <meta name="description" content={description} />
@@ -1,13 +1,15 @@
1
1
  ---
2
2
  title: One VPS is plenty
3
- description: A five-euro server runs more blogs than most of us will ever write. The hard part was never capacity; it was confidence.
3
+ description: This blog is static files in a 1.4 MB container on a shared five-euro VPS. The deploy script, not the hardware, is what platforms were selling.
4
4
  date: 2026-07-15
5
5
  ---
6
6
 
7
- This site is static files behind a 1.4 MB container on a small VPS. It could serve every reader I will ever have from a machine that also runs four other projects.
7
+ This site is static files behind a 1.4 MB container on a small VPS that also runs four other projects. A five-euro machine serves this traffic without noticing.
8
8
 
9
- What kept people off their own servers was never capacity. It was the deploy story: what happens when the build breaks, how you roll back, whether the thing you tested is the thing that shipped. Platforms answered those questions and charged rent on the answer.
9
+ People stayed on platforms for the deploy story: what happens when the build breaks, how to roll back, whether the thing you tested is the thing that shipped.
10
10
 
11
- The answers turn out to be portable. Build the exact commit, verify the output, ship the image, health-check before cutover, keep the previous image for rollback. None of that requires a platform; it requires a script you can read.
11
+ ![A single stack of balanced stones by the sea](https://images.pexels.com/photos/289586/pexels-photo-289586.jpeg?auto=compress&cs=tinysrgb&w=1200)
12
12
 
13
- Rent is fine. Owning is calmer.
13
+ <small>Photo via [Pexels](https://www.pexels.com/photo/289586/)</small>
14
+
15
+ Those answers fit in a script. Build the exact commit, verify the output, upload the image over SSH, health-check before cutover, keep the previous image for rollback. `bun ship` runs all of it, and the script is short enough to read before you trust it.
@@ -1,13 +1,17 @@
1
1
  ---
2
2
  title: Own your source
3
- description: Frameworks lend you abstractions and charge interest. Generated code you can read is a debt-free way to start a project.
3
+ description: This starter copies routes, styles, and config into your repository as plain files. What that costs you, and what it saves, six months in.
4
4
  date: 2026-08-01
5
5
  ---
6
6
 
7
- Most starters hand you a dependency. This one hands you files.
7
+ This starter does not install itself as a dependency. It copies files into your repository and gets out of the way.
8
8
 
9
- The difference shows up six months in. When behavior lives in a package, changing it means reading someone else's issue tracker. When behavior lives in your repository, changing it means editing a file you have already read.
9
+ The difference shows up six months in. To change behavior that lives in a package, you read someone else's issue tracker and wait for a release. To change behavior that lives in your repository, you edit a file you have already read.
10
10
 
11
- Generated code has a bad reputation because generators used to produce piles you could not maintain. The fix is not less generation; it is generating less. A route file, a layout, a stylesheet with five variables. Small enough to read in one sitting, which means small enough to own.
11
+ ![Six calligraphy brushes laid out on paper](https://images.pexels.com/photos/6315632/pexels-photo-6315632.jpeg?auto=compress&cs=tinysrgb&w=1200)
12
12
 
13
- There is a test for this: delete the tool that made the project. If the project still builds, still deploys, and still makes sense, you own it. If not, you rented it.
13
+ <small>Photo via [Pexels](https://www.pexels.com/photo/close-up-of-ink-brushes-6315632/)</small>
14
+
15
+ Generated code earned its bad reputation from generators that produced more code than anyone could maintain. So this one generates little: a route file, a layout, a stylesheet with five variables. Reading all of it takes one sitting.
16
+
17
+ One test tells you whether you own a project: delete the tool that made it. This site still builds, still deploys, and still makes sense with create-shibumi gone.
@@ -1,13 +1,15 @@
1
1
  ---
2
2
  title: Writing for readers who curl
3
- description: Half your readers are now programs. Serving markdown alternates and an llms.txt costs one endpoint and respects both audiences.
3
+ description: Every post here is served twice, as rendered HTML and as plain markdown, with an llms.txt index. One endpoint covers the agent readers.
4
4
  date: 2026-06-20
5
5
  ---
6
6
 
7
- Someone will read this post in a browser. Something will read it with an HTTP client and a token budget.
7
+ Half the readers of this post are agents: HTTP clients with a token budget instead of a viewport.
8
8
 
9
- The polite response is to serve both well. Every post here exists twice: the HTML you may be reading, and a plain markdown file at the same path with `.md` on the end. An `llms.txt` at the root lists them all with one-line summaries, so an agent can survey the whole site in a single small request instead of scraping navigation markup.
9
+ So every post here exists twice. There is the HTML you may be reading, and a plain markdown file at the same URL with `.md` appended. An `llms.txt` at the root lists every post with a one-line summary, so an agent can survey the whole site in one small request instead of scraping navigation markup.
10
10
 
11
- This is not much work. The markdown already exists; the build just refrains from destroying it. One endpoint, a dozen lines.
11
+ ![A hand writing calligraphy with a brush and black ink](https://images.pexels.com/photos/9478289/pexels-photo-9478289.jpeg?auto=compress&cs=tinysrgb&w=1200)
12
12
 
13
- Formats are a courtesy. HTML for eyes, markdown for context windows, RSS for the patient. The content is the same; only the reader changes.
13
+ <small>Photo via [Pexels](https://www.pexels.com/photo/calligraphy-using-a-blank-ink-and-paint-brush-9478289/)</small>
14
+
15
+ The markdown already existed; the build publishes it instead of throwing it away. One endpoint, about a dozen lines of it.
@@ -11,6 +11,9 @@ const blog = defineCollection({
11
11
  description: z.string().min(50).max(160),
12
12
  date: z.coerce.date(),
13
13
  ogImage: z.string().optional(),
14
+ // Draft posts build nowhere: no page, no listing, no RSS, no llms.txt.
15
+ // Flip to false (or remove the line) to publish.
16
+ draft: z.boolean().default(false),
14
17
  }),
15
18
  });
16
19
 
@@ -2,6 +2,8 @@
2
2
  import BaseHead from "../components/BaseHead.astro";
3
3
  import { SITE } from "../site";
4
4
 
5
+ const isHome = Astro.url.pathname === "/";
6
+
5
7
  interface Props {
6
8
  title: string;
7
9
  description: string;
@@ -17,7 +19,16 @@ interface Props {
17
19
  <BaseHead {...Astro.props} />
18
20
  </head>
19
21
  <body>
20
- <header><a href="/">{SITE.name}</a></header>
22
+ {
23
+ !isHome && (
24
+ <header>
25
+ <a href="/" class="mark">
26
+ <span class="mark-badge" transition:name="site-mark">渋み</span>
27
+ <span transition:name="site-title">{SITE.name}</span>
28
+ </a>
29
+ </header>
30
+ )
31
+ }
21
32
  <main>
22
33
  <slot />
23
34
  </main>
@@ -3,7 +3,7 @@ import { getCollection } from "astro:content";
3
3
  import Base from "../layouts/Base.astro";
4
4
  import { SITE } from "../site";
5
5
 
6
- const posts = (await getCollection("blog")).sort(
6
+ const posts = (await getCollection("blog", ({ data }) => !data.draft)).sort(
7
7
  (a, b) => b.data.date.valueOf() - a.data.date.valueOf()
8
8
  );
9
9
  const formatDate = (date: Date) =>
@@ -12,7 +12,10 @@ const formatDate = (date: Date) =>
12
12
 
13
13
  <Base title={SITE.name} description={SITE.description}>
14
14
  <article>
15
- <h1>{SITE.name}</h1>
15
+ <h1 class="home-title">
16
+ <span class="mark-badge" transition:name="site-mark">渋み</span>
17
+ <span transition:name="site-title">{SITE.name}</span>
18
+ </h1>
16
19
  <ul class="posts">
17
20
  {
18
21
  posts.map((post) => (
@@ -5,7 +5,7 @@ import { getCollection } from "astro:content";
5
5
  import { SITE } from "../site";
6
6
 
7
7
  export const GET: APIRoute = async (context) => {
8
- const posts = (await getCollection("blog")).sort(
8
+ const posts = (await getCollection("blog", ({ data }) => !data.draft)).sort(
9
9
  (a, b) => b.data.date.valueOf() - a.data.date.valueOf()
10
10
  );
11
11
  const lines = [
@@ -3,7 +3,7 @@ import { getCollection, render } from "astro:content";
3
3
  import Base from "../../layouts/Base.astro";
4
4
 
5
5
  export async function getStaticPaths() {
6
- return (await getCollection("blog")).map((post) => ({
6
+ return (await getCollection("blog", ({ data }) => !data.draft)).map((post) => ({
7
7
  params: { id: post.id },
8
8
  props: { post },
9
9
  }));
@@ -27,5 +27,6 @@ const formatDate = (date: Date) =>
27
27
  <h1>{post.data.title}</h1>
28
28
  <p class="lede">{post.data.description}</p>
29
29
  <Content />
30
+ <p class="post-end"><a class="ghost-pill" href="/">← Back to the blog</a></p>
30
31
  </article>
31
32
  </Base>
@@ -4,7 +4,7 @@ import { getCollection, getEntry } from "astro:content";
4
4
  import type { APIRoute } from "astro";
5
5
 
6
6
  export async function getStaticPaths() {
7
- return (await getCollection("blog")).map((post) => ({ params: { id: post.id } }));
7
+ return (await getCollection("blog", ({ data }) => !data.draft)).map((post) => ({ params: { id: post.id } }));
8
8
  }
9
9
 
10
10
  export const GET: APIRoute = async ({ params }) => {
@@ -4,7 +4,7 @@ import { getCollection } from "astro:content";
4
4
  import { SITE } from "../site";
5
5
 
6
6
  export const GET: APIRoute = async (context) => {
7
- const posts = (await getCollection("blog")).sort(
7
+ const posts = (await getCollection("blog", ({ data }) => !data.draft)).sort(
8
8
  (a, b) => b.data.date.valueOf() - a.data.date.valueOf()
9
9
  );
10
10
  return rss({
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><style>text{fill:#e95f19;font-family:"Hiragino Sans","Noto Sans JP",sans-serif}@media (prefers-color-scheme:dark){text{fill:#ff8648}}</style><text x="50" y="55" font-size="62" text-anchor="middle" dominant-baseline="central">渋</text></svg>
@@ -2,6 +2,12 @@
2
2
  Edit freely; this file is yours. Tokens: --paper --ink --muted --line
3
3
  --accent, type scale --text-xs..--text-2xl, --font-sans/serif/mono. */
4
4
 
5
+ /* The vendored shibumi.css sets a kozo paper background for the sites; apps
6
+ stay flat, and this override also stops the browser fetching the image. */
7
+ body {
8
+ background-image: none;
9
+ }
10
+
5
11
  .scaffold {
6
12
  max-width: 40.625rem;
7
13
  margin: 0 auto;
@@ -83,7 +89,7 @@
83
89
  border-top: 1px solid var(--line);
84
90
  }
85
91
 
86
- main .endpoints a {
92
+ main .endpoints a:not(.btn):not(.button) {
87
93
  display: flex;
88
94
  align-items: baseline;
89
95
  justify-content: space-between;
@@ -95,13 +101,12 @@ main .endpoints a {
95
101
  transition: background 160ms ease;
96
102
  }
97
103
 
98
- main .endpoints a:hover,
99
- main .endpoints a:focus-visible {
104
+ main .endpoints a:not(.btn):not(.button):hover,
105
+ main .endpoints a:not(.btn):not(.button):focus-visible {
100
106
  background: var(--faint);
101
107
  }
102
108
 
103
- .endpoint-path {
104
- font-family: var(--font-mono);
109
+ main .endpoints code {
105
110
  font-size: var(--text-sm);
106
111
  }
107
112
  /* Inline code as rounded chips on the faint layer. */
@@ -114,7 +119,7 @@ main .endpoints a:focus-visible {
114
119
  }
115
120
 
116
121
 
117
- main .endpoints a:hover .endpoint-path {
122
+ main .endpoints a:hover code {
118
123
  color: var(--accent);
119
124
  }
120
125
 
@@ -60,19 +60,23 @@ body {
60
60
  background: var(--bg);
61
61
  }
62
62
 
63
- h1, h2, h3 {
64
- font-family: var(--font-serif);
63
+ /* Kozo paper texture, light theme only; dark stays flat ink. The image lives
64
+ next to this stylesheet in every consumer, hence the relative URL. */
65
+ body {
66
+ background-image: url("kozo.webp");
67
+ background-size: cover;
68
+ background-position: center;
69
+ background-attachment: fixed;
70
+ background-repeat: no-repeat;
65
71
  }
72
+ @media (prefers-color-scheme: dark) {
73
+ body { background-image: none; }
74
+ }
75
+ [data-theme="light"] body { background-image: url("kozo.webp"); }
76
+ [data-theme="dark"] body { background-image: none; }
66
77
 
67
- /* theme-independent noise texture, copied from shibumi-server */
68
- body::before {
69
- content: "";
70
- position: fixed;
71
- inset: 0;
72
- z-index: -1;
73
- pointer-events: none;
74
- opacity: 0.33;
75
- background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
78
+ h1, h2, h3 {
79
+ font-family: var(--font-serif);
76
80
  }
77
81
 
78
82
  a { color: inherit; }
@@ -123,9 +127,9 @@ main a:not(.btn):not(.button):focus-visible {
123
127
  width: 100vw;
124
128
  height: 100%;
125
129
  transform: translateX(-50%);
126
- background: light-dark(rgb(245 240 228 / 78%), rgb(27 19 15 / 72%));
127
- backdrop-filter: blur(1.125rem);
128
- -webkit-backdrop-filter: blur(1.125rem);
130
+ background: light-dark(rgb(245 240 228 / 0%), rgb(27 19 15 / 72%));
131
+ backdrop-filter: blur(1.25rem);
132
+ -webkit-backdrop-filter: blur(1.25rem);
129
133
  }
130
134
 
131
135
  .mark {
@@ -107,6 +107,8 @@ const page = `<!doctype html>
107
107
  <meta charset="utf-8" />
108
108
  <meta name="viewport" content="width=device-width, initial-scale=1" />
109
109
  <title>Full Stack app · shibumi</title>
110
+ <link rel="icon" type="image/svg+xml" href="/public/favicon.svg" />
111
+ <meta name="generator" content="create-shibumi (shibumistack.dev)" />
110
112
  <link rel="stylesheet" href="/public/vendor/shibumi.css" />
111
113
  <link rel="stylesheet" href="/public/style.css" />
112
114
  <!-- app.js must load before Alpine so the alpine:init listener exists
@@ -125,9 +127,9 @@ const page = `<!doctype html>
125
127
  <span class="demo-hint">stored in SQLite; reloads and deploys keep it</span>
126
128
  </section>
127
129
  <ul class="endpoints">
128
- <li><a href="/api/hello?name=you"><span class="endpoint-path">GET /api/hello</span><span>query validated with Zod</span></a></li>
129
- <li><a href="/api/notes"><span class="endpoint-path">GET /api/notes</span><span>Drizzle read from SQLite on the data volume</span></a></li>
130
- <li><a href="/healthz"><span class="endpoint-path">GET /healthz</span><span>the check every deploy waits for</span></a></li>
130
+ <li><a href="/api/hello?name=you"><code>GET /api/hello</code><span>query validated with Zod</span></a></li>
131
+ <li><a href="/api/notes"><code>GET /api/notes</code><span>Drizzle read from SQLite on the data volume</span></a></li>
132
+ <li><a href="/healthz"><code>GET /healthz</code><span>the check every deploy waits for</span></a></li>
131
133
  </ul>
132
134
  <footer class="colophon">
133
135
  <p>This page lives in <code>src/app.ts</code>. House rules for coding agents are in <code>agents.md</code>. Add features with <code>bun shi add auth</code>.</p>