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
- Host: GitHub
- URL: https://github.com/if1live/ayane
- Owner: if1live
- Created: 2022-11-04T16:30:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-09T11:27:52.000Z (8 months ago)
- Last Synced: 2025-04-10T02:57:53.024Z (2 months ago)
- Topics: aws-lambda, free-tier, paas, serverless
- Language: TypeScript
- Homepage:
- Size: 684 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ayane
[](https://github.com/if1live/ayane/actions/workflows/ci.yml)

> 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 .envremove 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