All Projects → quangpl → awake-heroku

quangpl / awake-heroku

Licence: other
A package help your heroku (https://heroku.com/) app is always runs . Wake up your heroku app !

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to awake-heroku

Ngx Dynamic Form Builder
FormBuilder + class-transformer + class-validator = dynamic form group builder for Angular10+
Stars: ✭ 93 (+106.67%)
Mutual labels:  auto
Mapper
A simple and easy go tools for auto mapper map to struct, struct to map, struct to struct, slice to slice, map to slice, map to json.
Stars: ✭ 175 (+288.89%)
Mutual labels:  auto
auto-internet-letter
군바리 친구들을 위한 자동으로 편지 보내기
Stars: ✭ 14 (-68.89%)
Mutual labels:  auto
Lipo
👄 Free image manipulation API service built on top of Sharp (an alternative to Jimp, Graphics Magic, Image Magick, and PhantomJS)
Stars: ✭ 101 (+124.44%)
Mutual labels:  auto
Ginrpc
gin auto binding,grpc, and annotated route,gin 注解路由, grpc,自动参数绑定工具
Stars: ✭ 157 (+248.89%)
Mutual labels:  auto
Babel Plugin React Intl Auto
i18n for the component age. Auto management react-intl ID.
Stars: ✭ 203 (+351.11%)
Mutual labels:  auto
Glastoselenium
A bot for booking Glastonbury tickets using selenium
Stars: ✭ 89 (+97.78%)
Mutual labels:  auto
WPWatcher
Wordpress Watcher is a wrapper for WPScan that manages scans on multiple sites and reports by email and/or syslog. Schedule scans and get notified when vulnerabilities, outdated plugins and other risks are found.
Stars: ✭ 34 (-24.44%)
Mutual labels:  auto
Gta5online Private public lobby
A tool to setup your GTA5 firewall rules easily. Adding IPs to your whitelist enables your friends to stay in your session.
Stars: ✭ 170 (+277.78%)
Mutual labels:  auto
PengueeBot
Automation tool, visit our discord channel if you have anything to ask
Stars: ✭ 27 (-40%)
Mutual labels:  auto
Easymake
A handy makefile for simple C/C++ applications
Stars: ✭ 125 (+177.78%)
Mutual labels:  auto
Easypeasy
Auto Layout made easy
Stars: ✭ 1,877 (+4071.11%)
Mutual labels:  auto
Kohii
Android Video Playback made easy.
Stars: ✭ 204 (+353.33%)
Mutual labels:  auto
Wyycg Autocheckin
✨白嫖小助手提醒您:今天你白嫖网易云游戏了吗?快来跟我一起白嫖网易云游戏,成为云游戏长期在线用户吧!
Stars: ✭ 94 (+108.89%)
Mutual labels:  auto
bracket-padder
⌨️ Convenient padding and closing of brackets for Atom
Stars: ✭ 13 (-71.11%)
Mutual labels:  auto
Kvconstraintkit
An Impressive Auto Layout DSL for iOS, tvOS & OSX. & It is written in pure swift.
Stars: ✭ 91 (+102.22%)
Mutual labels:  auto
Vue Infinite Slide Bar
∞ Infinite slide bar component (no dependency and light weight 1.48 KB)
Stars: ✭ 190 (+322.22%)
Mutual labels:  auto
Android-Touch-Helper
开屏跳过-安卓系统的开屏广告自动跳过助手
Stars: ✭ 488 (+984.44%)
Mutual labels:  auto
linkedin-auto-connect
💥 An automation tool to automate the connection requests on LinkedIn
Stars: ✭ 87 (+93.33%)
Mutual labels:  auto
Unity-2017.2-and-Vuforia-6.5---Camera-Auto-Focus
Unity 2017.2 and Vuforia 6.5 Augmented Reality (AR) Camera Auto Focus
Stars: ✭ 17 (-62.22%)
Mutual labels:  auto

Awake-Heroku

Installation

  • Install Node.js

  • $ npm install awake-heroku --save

Types

IAppInfo

Field Required Type Description
id false number Unique ID
url true string Your URL you want wakeup
lastHeartBeat false number Last time wakeup

IAwakeService

Field Type Description
add void Add new herou app to wakeup
remove void Remove heroku app and stop wakeup that
get void Get heroku infomation by id
getAll IAppInfo[] List heroku applications (app)
start void Start wakeup your heroku apps
stop void Stop wakeup your heroku apps

Usage

Insert bellow lines to index file of your project such as : app.js, index.js, root.js , ...

Using ES6

const { AwakeHeroku } = require("awake-heroku");

AwakeHeroku.add("https://your-app-nam-1.herokuapp.com");
AwakeHeroku.add("https://your-app-name-2.herokuapp.com");

// Start service
AwakeHeroku.start();

Using CommonJS

import { AwakeHeroku } from "awake-heroku";

AwakeHeroku.add("https://your-app-nam-1.herokuapp.com");
AwakeHeroku.add("https://your-app-name-2.herokuapp.com");

// Start service
AwakeHeroku.start();

To stop using AwakeHeroku

import AwakeHeroku from "awake-heroku";
// Stop service
AwakeHeroku.stop();

Please feel free to submit your issue or request feature

Create : https://github.com/quangpl/awake-heroku/issues/new

Roadmap

✓ MVP version

✓ Convert to Typescript

✓ Support wakeup multi-applications

✓ Send HTTP request by lightwieght

✓ Prepare structure to create CLI

✗ Error Handler

✗ Create CLI

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