GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — share ssr · daonb/opencode@ea9dd4e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bun.lock
  • infra
    • app.ts
  • package.json
  • packages/web
    • astro.config.mjs
    • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bun.lock‎

Copy file name to clipboardExpand all lines: bun.lock
+15-10Lines changed: 15 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎infra/app.ts‎

Copy file name to clipboardExpand all lines: infra/app.ts
+13-6Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,21 @@ export const api = new sst.cloudflare.Worker("Api", {
3131
},
3232
})
3333

34-
new sst.cloudflare.StaticSite("Web", {
35-
path: "packages/web",
34+
// new sst.cloudflare.StaticSite("Web", {
35+
// path: "packages/web",
36+
// domain,
37+
// environment: {
38+
// VITE_API_URL: api.url,
39+
// },
40+
// build: {
41+
// command: "bun run build",
42+
// output: "dist",
43+
// },
44+
// })
45+
new sst.cloudflare.Astro("Web", {
3646
domain,
47+
path: "packages/web",
3748
environment: {
3849
VITE_API_URL: api.url,
3950
},
40-
build: {
41-
command: "bun run build",
42-
output: "dist",
43-
},
4451
})
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"devDependencies": {
2323
"prettier": "3.5.3",
24-
"sst": "3.16.0"
24+
"sst": "3.17.3"
2525
},
2626
"repository": {
2727
"type": "git",
Collapse file

‎packages/web/astro.config.mjs‎

Copy file name to clipboardExpand all lines: packages/web/astro.config.mjs
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// @ts-check
2+
import aws from "astro-sst"
23
import { defineConfig } from "astro/config"
34
import starlight from "@astrojs/starlight"
45
import solidJs from "@astrojs/solid-js"
@@ -11,6 +12,8 @@ const github = "https://github.com/sst/opencode"
1112

1213
// https://astro.build/config
1314
export default defineConfig({
15+
output: "server",
16+
adapter: aws(),
1417
devToolbar: {
1518
enabled: false,
1619
},
Collapse file

‎packages/web/package.json‎

Copy file name to clipboardExpand all lines: packages/web/package.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@types/luxon": "3.6.2",
1919
"ai": "catalog:",
2020
"astro": "5.7.13",
21+
"astro-sst": "3.1.4",
2122
"diff": "8.0.2",
2223
"luxon": "3.6.1",
2324
"rehype-autolink-headings": "7.1.0",

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.