All Projects → inoda → Heroku Pinger

inoda / Heroku Pinger

Licence: mit
😴 Keep your free Heroku dynos awake

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Heroku Pinger

heroku-integrated-firefox-geckodriver
Buildpack enables your client code to access Firefox along with Geckodriver in a Heroku slug.
Stars: ✭ 40 (-52.38%)
Mutual labels:  heroku, heroku-buildpack
heroku-buildpack-deno
Heroku Buildpack for Deno
Stars: ✭ 72 (-14.29%)
Mutual labels:  heroku, heroku-buildpack
Subdir Heroku Buildpack
Allows to use subdirectory configured via environment variable as a project root
Stars: ✭ 211 (+151.19%)
Mutual labels:  heroku, heroku-buildpack
Reddit Bot
🤖 Making a Reddit Bot using Python, Heroku and Heroku Postgres.
Stars: ✭ 99 (+17.86%)
Mutual labels:  heroku, heroku-buildpack
Heroku Buildpack Hugo
Heroku buildpack for Hugo, the static site generator - https://github.com/spf13/hugo
Stars: ✭ 79 (-5.95%)
Mutual labels:  heroku, heroku-buildpack
heroku-buildpack-cli
No description or website provided.
Stars: ✭ 38 (-54.76%)
Mutual labels:  heroku, heroku-buildpack
heroku-buildpack-tex
A Heroku buildpack to run TeX Live inside a dyno.
Stars: ✭ 18 (-78.57%)
Mutual labels:  heroku, heroku-buildpack
Pigallery2
A directory-first photo gallery website, witch rich UI, optimised for running on low resource servers (especially on raspberry pi)
Stars: ✭ 470 (+459.52%)
Mutual labels:  self-hosted, heroku
Create React App Buildpack
⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps
Stars: ✭ 3,161 (+3663.1%)
Mutual labels:  heroku, heroku-buildpack
Heroku Buildpack R
Heroku buildpack for R - Makes deploying R on Heroku easy
Stars: ✭ 258 (+207.14%)
Mutual labels:  heroku, heroku-buildpack
Scoold
A Stack Overflow clone for teams (self-hosted)
Stars: ✭ 463 (+451.19%)
Mutual labels:  self-hosted, heroku
Heroku Buildpack Python
The official Heroku buildpack for Python apps.
Stars: ✭ 849 (+910.71%)
Mutual labels:  heroku, heroku-buildpack
Fun
Wall messages app with authentication built with Node JS, Backbone and MongoDb. Ready to be deployed to Heroku
Stars: ✭ 71 (-15.48%)
Mutual labels:  heroku
Kimai2
Kimai v2 is a web-based multiuser time-tracking application. Free for everyone: freelancers, agencies, companies, organizations - all can track their times, generate invoices and more. SaaS version available at https://www.kimai.cloud
Stars: ✭ 1,216 (+1347.62%)
Mutual labels:  self-hosted
Flask Heroku Sample
Flask Heroku Sample Application
Stars: ✭ 68 (-19.05%)
Mutual labels:  heroku
Heroku Pg Extras
A heroku plugin for awesome pg:* commands that are also great and fun and super.
Stars: ✭ 1,152 (+1271.43%)
Mutual labels:  heroku
Personal Inventory
A personal inventory management web app
Stars: ✭ 79 (-5.95%)
Mutual labels:  self-hosted
Aspnetcoredemoapp
ASP.NET Core demo app with webpack bundle
Stars: ✭ 78 (-7.14%)
Mutual labels:  heroku
E2e Ml App Pytorch
🚀 An end-to-end ML applications using PyTorch, W&B, FastAPI, Docker, Streamlit and Heroku → https://e2e-ml-app-pytorch.herokuapp.com/ (may take few minutes to spin up occasionally).
Stars: ✭ 68 (-19.05%)
Mutual labels:  heroku
Heroku Buildpack Nodejs
The official Heroku buildpack for Node.js apps.
Stars: ✭ 1,146 (+1264.29%)
Mutual labels:  heroku-buildpack

About

In a nutshell: an app that pings your free Heroku app to keep it awake.

Heroku free dynos will go to sleep after an hour of inactivity. Once the dyno is asleep, loading your application can take up to 10 seconds. This app simply pings your desired Heroku applications every 30 mins.

Heroku also caps free dyno usage so that your dyno can't be awake 24/7. This app allows you to set a window where pinging your application is paused (your app probably doesn't need to stay awake while you're sleeping).

This app is inspired by Kaffeine, and was built because Kaffeine was broken at the time.

Installation

Deploy to Heroku

Deploy

This app uses Heroku scheduler. Unfortunately, the Heroku scheduler is not currently configurable via the 'Deploy to Heroku' button. So, once the app is deployed, you will need to do the following:

  1. Go to the app overview
  2. Click on 'Heroku Scheduler' and hit 'Create Job'
  3. Schedule a job every hour at :00. The job should run bundle exec rake send_pings
  4. Schedule a job every hour at :30. The job should run bundle exec rake send_pings

Manual installation

  • Install Ruby 2.6.5
  • Run bundle install to install gems
  • Set ENV vars:
    • URLS_TO_PING: A list of URLs to ping, delimited by '||'
    • PAUSE_START_UTC_HOUR: The hour of day when pinging stops (in UTC)
    • PAUSE_END_UTC_HOUR: The hour of day when pinging starts (in UTC)
  • Run bundle exec rackup to start the server at http://localhost:9292
  • Set a cron to run bundle exec rake send_pings every 30 minutes
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].