{"id":26668347,"url":"https://github.com/xmk-dev/heroku-caffeine","last_synced_at":"2025-04-12T01:08:04.179Z","repository":{"id":39788425,"uuid":"228843686","full_name":"xmk-dev/heroku-caffeine","owner":"xmk-dev","description":"keeps your Heroku dynos awake ☕️","archived":false,"fork":false,"pushed_at":"2024-02-21T14:58:37.000Z","size":2039,"stargazers_count":7,"open_issues_count":38,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T01:07:58.032Z","etag":null,"topics":["heroku","javascript","nodejs","npm","npm-package","package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xmk-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-12-18T13:15:32.000Z","updated_at":"2023-09-08T18:01:24.000Z","dependencies_parsed_at":"2024-01-10T16:55:11.806Z","dependency_job_id":"66a0fcf1-4695-4ceb-89ab-c82690b180ce","html_url":"https://github.com/xmk-dev/heroku-caffeine","commit_stats":null,"previous_names":["marcinxkaminski/heroku-caffeine"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmk-dev%2Fheroku-caffeine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmk-dev%2Fheroku-caffeine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmk-dev%2Fheroku-caffeine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmk-dev%2Fheroku-caffeine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmk-dev","download_url":"https://codeload.github.com/xmk-dev/heroku-caffeine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501863,"owners_count":21114683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["heroku","javascript","nodejs","npm","npm-package","package"],"created_at":"2025-03-25T20:47:01.805Z","updated_at":"2025-04-12T01:08:04.141Z","avatar_url":"https://github.com/xmk-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Heroku Caffeine\n\nHeroku Caffeine ☕️ keeps your Heroku dynos awake by perodically sending HTTP requests to your apps.\n\n\n## Features ✨\n  - Sends HTTP requests to all specified urls (apps) in specified interval\n  - Emits events\n\n\n## Event Types\n  - _init_ - object is properly created. Contains HerokuCaffeine (this) object.\n  - _pinging_ - starting sending requests. Contains list of urls to ping.\n  - _pinged_ - sent request to the certain app. Contains pinged url.\n  - _pingedall_ - all urls are pinged. Contains lis of pinged urls.\n  - _endedpinginginterval_ - interval has ended. Waiting for another interval. Contains results from pinging the urls.\n  - _error_ - error has occurred, e.g. list of urls is not valid\n  - _warn_ - warning (doesn't terminate the app), e.g. one of the urls in the list is invalid\n\n\n## Installation\n```sh\n$ npm i -S heroku-caffeine\n```\n\n## Usage\n```\nconst HerokuCaffeine = require('heroku-caffeine');\nconst herokuCaffeine = new HerokuCaffeine({ urls: ['https://your-heroku-app.herokuapp.com'] });\nherokuCaffeine.run();\n```\n\n\n## Development\nWant to contribute? Great! 🔥\nIf you want you could follow this commit messages [guide](https://gitmoji.carloscuesta.me/).\n\n#### Install:\n```sh\n$ cd heroku-caffeine\n$ npm i\n```\n\n#### Run:\n```sh\n$ npm run dev\n```\n\n#### Test Coverage:\n```sh\n$ npm run test-coverage\n```\n\n#### Lint Fix:\n```sh\n$ npm run lint-fix\n```\n\nand many other helpful scripts available in package.json 🤓\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmk-dev%2Fheroku-caffeine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmk-dev%2Fheroku-caffeine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmk-dev%2Fheroku-caffeine/lists"}