fastygo 0.1.3 → 0.2.0
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.
package/README.md
CHANGED
|
@@ -7,8 +7,9 @@ This release installs:
|
|
|
7
7
|
- `github.com/fastygo/framework` v0.4.0
|
|
8
8
|
- `github.com/fastygo/modules/render` v0.1.0 and templ v0.3.1001 as `go tool templ`
|
|
9
9
|
- optional markdown, view, and a local Codex bbolt binary from `github.com/fastygo/backend/cmd/server` v0.1.0
|
|
10
|
+
- embedded Codex fixtures through `github.com/fastygo/modules/content-json` v0.1.0, or an external Codex origin
|
|
10
11
|
|
|
11
|
-
Targets are `local` and `
|
|
12
|
+
Targets are `local`, `vps`, and `vercel`. Local and VPS processes listen on `127.0.0.1`. Vercel gets a Go Function at `api/index.go`.
|
|
12
13
|
|
|
13
14
|
## Install the command
|
|
14
15
|
|
|
@@ -24,7 +25,7 @@ bunx fastygo init . --module github.com/you/shop
|
|
|
24
25
|
From the Go module:
|
|
25
26
|
|
|
26
27
|
```text
|
|
27
|
-
go install github.com/fastygo/cli/cmd/fastygo@v0.
|
|
28
|
+
go install github.com/fastygo/cli/cmd/fastygo@v0.2.0
|
|
28
29
|
```
|
|
29
30
|
|
|
30
31
|
Linux amd64 and macOS arm64 can also use `install.sh`. It checks `SHA256SUMS` and prints the binary path.
|
|
@@ -35,7 +36,11 @@ If Go 1.25 is missing, `init` offers to download it into the user cache before i
|
|
|
35
36
|
|
|
36
37
|
```text
|
|
37
38
|
fastygo init . --module github.com/you/shop --target vps --with codex
|
|
39
|
+
fastygo init . --module github.com/you/site --target vercel --content fixtures
|
|
40
|
+
fastygo init . --module github.com/you/site --target vercel --content codex
|
|
38
41
|
go run ./cmd/site
|
|
39
42
|
```
|
|
40
43
|
|
|
44
|
+
`--content fixtures` is the default. It embeds a Codex manifest and the Home entry. `--content codex` reads an external GoBackend through `CODEX_ORIGIN`; the token stays out of the repository. `--target vercel` does not install a local Codex server. Use `--with codex` only for `local` or `vps`.
|
|
45
|
+
|
|
41
46
|
`fastygo init --help` lists the flags. A second `init` stops when `go.mod` is already there. `fastygo add markdown` updates that module.
|
package/bin/fastygo.js
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|