26 lines
456 B
Markdown
Raw Permalink Normal View History

2022-05-29 11:22:24 +09:00
# r2-image-viewer-tinygo
* An example server which returns image from Cloudflare R2.
* This server is implemented in Go and compiled with tinygo.
## Example
* https://r2-image-viewer-tinygo.syumai.workers.dev/syumai.png
## Development
### Requirements
This project requires these tools to be installed globally.
* wrangler
* tinygo
### Commands
```
make dev # run dev server
make build # build Go Wasm binary
make deploy # deploy worker
2022-05-29 11:22:24 +09:00
```