An open API service indexing awesome lists of open source software.

https://github.com/nitro/lazyraster

Project containing the deployment code for lazyraster
https://github.com/nitro/lazyraster

owner-wapadi-admin product-nitrosign terraform-managed type-backend

Last synced: about 1 month ago
JSON representation

Project containing the deployment code for lazyraster

Awesome Lists containing this project

README

        

# Lazyraster
Lazyraster is a HTTP service to convert PDF pages into PNG built on top of lazypdf.

## Run
Environment variables:
| Options | Description |
| ----------------------- | ------------------------------------------------------------------------------------- |
| `URL_SIGNING_SECRET` | Secret used to check if the request is valid. |
| `ENABLE_DATADOG` | Enable Datadog. |
| `STORAGE_BUCKET_REGION` | Map of the region a bucket belongs to: `eu-west-1:bucket1,bucket2;us-west-1:bucket3`. |

```go
go run cmd/main.go
```

## Testing
```go
go test -v -race -cover ./...
```