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

https://github.com/if1live/ayane

warm up free-tier PaaS to prevent suspension
https://github.com/if1live/ayane

aws-lambda free-tier paas serverless

Last synced: 2 days ago
JSON representation

warm up free-tier PaaS to prevent suspension

Awesome Lists containing this project

README

        

# Ayane

[![ci](https://github.com/if1live/ayane/actions/workflows/ci.yml/badge.svg)](https://github.com/if1live/ayane/actions/workflows/ci.yml)

![ayane](https://raw.githubusercontent.com/if1live/ayane/main/document/ayane-pv.jpg)

> Free projects are paused after 1 week of inactivity.
> [supabase pricing](https://supabase.com/pricing)

When application is inactive, some PaaS suspend free-tier service.
Ayane send a simple request everyday to prevent suspension of free-tier service.

## features

* AWS Lambda + serverless framework + upstash
- trigger: [schedule][serverless-schedule]
- database: [upstash][upstash]
* supported services
- mysql compatible server
* ex: [planetscale][planetscale]
- postgres compatible server
* ex: [supabase][supabase]
- redis
* ex: [redislab][redislab]

## usage

```bash
cp .env.localhost .env
edit .env

remove line from .env if service not required
fill UPSTASH_REDIS_REST_URL, UPSTASH_REDIS_REST_TOKEN to save PaaS status
```

```bash
pnpm install
pnpx sls deploy
```

[upstash]: https://upstash.com/
[supabase]: https://supabase.com/
[planetscale]: https://planetscale.com/
[redislab]: https://redis.com/
[serverless-schedule]: https://www.serverless.com/framework/docs/providers/aws/events/schedule