opencode / KEEP-ALIVE.md
abbasyk60's picture
Add keep-alive scripts and documentation
e564c3a
|
Raw
History Blame Contribute Delete
907 Bytes

Keep-Alive Setup for HuggingFace Space

Your Static Space doesn't technically "sleep", but here's how to keep it active 24/7:

Option 1: UptimeRobot (Recommended - Free)

  1. Go to https://uptimerobot.com
  2. Create a free account
  3. Click "Add New Monitor"
  4. Settings:
  5. Click "Create Monitor"

That's it! UptimeRobot will ping your Space every 5 minutes.

Option 2: cron-job.org (Free)

  1. Go to https://cron-job.org
  2. Create a free account
  3. Click "Create Job"
  4. Settings:
  5. Save

Option 3: Local Script (Windows)

Run the keep-alive script periodically:

.\keep-alive.ps1

Or set up Windows Task Scheduler to run it every 5 minutes.