{"id":15798134,"url":"https://github.com/grokify/fastlywasmly","last_synced_at":"2025-09-09T21:43:45.300Z","repository":{"id":38085279,"uuid":"496088908","full_name":"grokify/fastlywasmly","owner":"grokify","description":"Compute@Edge Packager","archived":false,"fork":false,"pushed_at":"2025-01-13T03:22:57.000Z","size":99,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T21:38:43.554Z","etag":null,"topics":["fastly","fastly-compute-at-edge"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grokify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-25T05:02:36.000Z","updated_at":"2024-10-13T03:37:13.000Z","dependencies_parsed_at":"2023-11-27T07:24:42.690Z","dependency_job_id":"140b94f9-6fe5-4596-b938-a11b89f9e077","html_url":"https://github.com/grokify/fastlywasmly","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/grokify/fastlywasmly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Ffastlywasmly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Ffastlywasmly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Ffastlywasmly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Ffastlywasmly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grokify","download_url":"https://codeload.github.com/grokify/fastlywasmly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Ffastlywasmly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274367267,"owners_count":25272296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastly","fastly-compute-at-edge"],"created_at":"2024-10-05T00:23:46.857Z","updated_at":"2025-09-09T21:43:45.233Z","avatar_url":"https://github.com/grokify.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastlyWasmly\n\n[![Build Status][build-status-svg]][build-status-url]\n[![Go Report Card][goreport-svg]][goreport-url]\n[![Docs][docs-godoc-svg]][docs-godoc-url]\n[![License][license-svg]][license-url]\n\n [build-status-svg]: https://github.com/grokify/fastlywasmly/workflows/test/badge.svg?branch=main\n [build-status-url]: https://github.com/grokify/fastlywasmly/actions/workflows/go_build.yaml\n [goreport-svg]: https://goreportcard.com/badge/github.com/grokify/fastlywasmly\n [goreport-url]: https://goreportcard.com/report/github.com/grokify/fastlywasmly\n [docs-godoc-svg]: https://pkg.go.dev/badge/github.com/grokify/fastlywasmly\n [docs-godoc-url]: https://pkg.go.dev/github.com/grokify/fastlywasmly\n [license-svg]: https://img.shields.io/badge/license-MIT-fastlywasmly.svg\n [license-url]: https://github.com/grokify/fastlywasmly/blob/master/LICENSE\n\n`fastlywasmly` is a CLI app that will package a Fastly Compute@Edge TOML and WASM file into a Fastly tarball. It can alternately take a `bin` directly in place of the WASM file to load all the files in the directory and subdirectories.\n\nIt builds the tarball filename and internal folder structure using the same same approach as Fastly CLI.\n\n## Usage as CLI\n\n### Installation\n\n```bash\n% go install github.com/grokify/fastlywasmly\n```\n\n### Usage\n\nLoading with WASM file:\n\n```bash\n% fastlywasmly -t /path/to/fastly.toml -w /path/to/yourname.wasm\n```\n\nLoading with bin dir (including WASM file):\n\n```bash\n% fastlywasmly -t /path/to/fastly.toml -b /path/to/bin\n```\n\n## Usage as Library\n\n### Installation\n\n```bash\n% go get github.com/grokify/fastlywasmly\n```\n\n### Usage\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/grokify/fastlywasmly/tarutil\"\n)\n\nfunc main() {\n    outfile, err := tarutil.BuildEdgePackage(\n        \"/path/to/fastly.toml\",\n        \"/path/to/anything.wasm or empty if using bindir only\",\n        \"/path/to/option/bin/dir or empty if using wasm only\")\n    if err != nil {\n        panic(err)\n    }\n    fmt.Printf(\"WROTE [%s]\\n\", outfile)\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Ffastlywasmly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrokify%2Ffastlywasmly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Ffastlywasmly/lists"}