{"id":22173856,"url":"https://github.com/9d4/heroku_capulus","last_synced_at":"2025-03-24T18:14:23.102Z","repository":{"id":44503568,"uuid":"456417736","full_name":"9d4/heroku_capulus","owner":"9d4","description":"A cli tool to make request to heroku or any host within interval.","archived":false,"fork":false,"pushed_at":"2022-05-30T07:54:59.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-29T22:46:12.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9d4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-07T08:26:31.000Z","updated_at":"2022-02-18T16:39:07.000Z","dependencies_parsed_at":"2022-09-05T04:50:21.046Z","dependency_job_id":null,"html_url":"https://github.com/9d4/heroku_capulus","commit_stats":null,"previous_names":["traperwaze/heroku_capulus"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d4%2Fheroku_capulus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d4%2Fheroku_capulus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d4%2Fheroku_capulus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9d4%2Fheroku_capulus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9d4","download_url":"https://codeload.github.com/9d4/heroku_capulus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245325223,"owners_count":20596818,"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":[],"created_at":"2024-12-02T07:35:49.405Z","updated_at":"2025-03-24T18:14:23.084Z","avatar_url":"https://github.com/9d4.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heroku Capulus\n\n[![Heroku Deploy](https://github.com/9d4/heroku_capulus/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/9d4/heroku_capulus/actions/workflows/main.yml)\n\nA cli tool to make request to heroku or any server in an interval.\n\n## Usage\n\nDownload the binary in [here](https://github.com/9d4/heroku_capulus/releases) based on your platform.\nThe configuration file is needed to run the binary. Put the config file in the same directory with the binary.\nConfiguration file should named as `config.json`. Customize the config based on your need.\nThe configuration file should at least look like below.\n\n```json\n{\n    \"interval\": \"10m\",\n    \"urls\": [\n        \"https://google.com\",\n        \"https://ask.com\"\n        \"https://duckduckgo.org\"\n    ],\n    \"timezone\": \"Asia/Jakarta\",\n    \"startAt\": \"06:00\",\n    \"stopAt\": \"19:00\",\n    \"alwaysOn\": false\n}\n```\n\nOr in toml `config.toml`. \n\n```toml\ninterval = \"10m\"\nurls = [\"https://google.com\"]\ntimezone = \"Asia/Jakarta\"\nstartAt = \"06:00\"\nstopAt = \"19:00\"\nalwaysOn = false\n```\n\nDetails:\n\n- **interval** is gap between request. How long it should wait before next request.\ne.g. `10m`, `1h10m`, `15m`, `1h10m15s`.\n\n- **urls** List of urls to be requested.\n\n- **timezone** is the timezeone that used by `startAt` and `stopAt`.\n\n- **startAt \u0026 stopAt** The tool will only run between the `startAt` and `stopAt`. Use 24 hour format.\n\n- **alwaysOn** (optional) If alwaysOn option is set to true, the app will always run regardless the startAt and stopAt. alwaysOn option overrides the startAt and stopAt.\n\nOnce you have config set, you can just execute the binary file.\n\n**Note:** the program prioritize the config.toml before config.json.\n\n## Dev\n\nInstall dependencies:\n\n```\n$ go get\n```\n\nRun:\n\n```\n$ go run .\n```\n\nBuild:\n\n```\n$ go build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9d4%2Fheroku_capulus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9d4%2Fheroku_capulus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9d4%2Fheroku_capulus/lists"}