20 lines
596 B
Markdown
20 lines
596 B
Markdown
webfinger lambda
|
|
===
|
|
|
|
small aws lambda that filters a static JSON file of webfinger data from an s3 bucket
|
|
and returns the one matching the query parameter `subject`.
|
|
|
|
## building
|
|
|
|
use the [`cargo-lambda`](https://www.cargo-lambda.info/) tool to build the zip file to upload
|
|
to aws
|
|
|
|
```shell
|
|
$ cargo lambda build --release --output-format zip
|
|
```
|
|
|
|
because it's a lambda there is currently no way to run this locally. this should
|
|
eventually be rectified.
|
|
|
|
you can then [point a custom domain](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) to the lambda.
|