{"id":15821344,"url":"https://github.com/eomm/fastify-invincible","last_synced_at":"2026-04-27T21:31:09.392Z","repository":{"id":193668620,"uuid":"689248075","full_name":"Eomm/fastify-invincible","owner":"Eomm","description":"An hacky plugin to integrate betterstack.com and keep your Fastify application up and running","archived":false,"fork":false,"pushed_at":"2024-03-04T23:37:37.000Z","size":11,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T06:29:20.117Z","etag":null,"topics":["betterstack","fastify","fastify-plugin","monitoring","polling"],"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/Eomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-09-09T08:04:29.000Z","updated_at":"2023-09-09T11:49:54.000Z","dependencies_parsed_at":"2023-12-17T22:44:19.612Z","dependency_job_id":"e088a61a-3ac6-4309-9a3d-8050ea1a1f76","html_url":"https://github.com/Eomm/fastify-invincible","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"9dc184ce10c2a06b2625597a398952670bc39c2f"},"previous_names":["eomm/fastify-invincible"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Eomm/fastify-invincible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ffastify-invincible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ffastify-invincible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ffastify-invincible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ffastify-invincible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eomm","download_url":"https://codeload.github.com/Eomm/fastify-invincible/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ffastify-invincible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["betterstack","fastify","fastify-plugin","monitoring","polling"],"created_at":"2024-10-05T07:21:40.637Z","updated_at":"2026-04-27T21:31:09.376Z","avatar_url":"https://github.com/Eomm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastify-invincible\n\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![ci](https://github.com/Eomm/fastify-invincible/actions/workflows/ci.yml/badge.svg)](https://github.com/Eomm/fastify-invincible/actions/workflows/ci.yml)\n\nAn hacky plugin to integrate [betterstack.com](https://betterstack.com/) and keep your Fastify application up and running.\n\n## Install\n\n```\nnpm install fastify-invincible\n```\n\n### Compatibility\n\n| Plugin version | Fastify version |\n| ------------- |:---------------:|\n| `^0.1.0` | `^4.0.0` |\n\n\n## Usage\n\nThis plugin is a raw integration with [betterstack.com](https://betterstack.com/).\nIt will create a new monitor for your application during the startup phase.\n\nIf a monitor with the same `name` already exists, it will be skipped.\n\nNote that this plugin is an early stage POC, so it may change in the future.\n\n```js\nconst fastifyInvincible = require('fastify-invincible')\nconst app = require('fastify')({ logger: true })\n\napp.head('/foo-bar', (req, reply) =\u003e {\n  reply.send('ok')\n})\n\nconst appUrl = 'https://example.com'\napp.register(fastifyInvincible, {\n  name: 'My app',\n  pollingUrl: appUrl + '/foo-bar',\n  pollingIntervalSeconds: 300,\n  betterstackOptions: {\n    key: 'your-api-key',\n    uniqueUrl: true, // if you set it to false, the plugin will add a new monitor at every restart\n    createMonitorPayload: {\n      // customize all the payload fields as you want adding the ones you need:\n      // https://betterstack.com/docs/uptime/api/create-a-new-monitor/\n      http_method: 'HEAD',\n    }\n  }\n})\n\napp.listen({ port: 8080 })\n```\n\n\n## License\n\nCopyright [Manuel Spigolon](https://github.com/Eomm), Licensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feomm%2Ffastify-invincible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feomm%2Ffastify-invincible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feomm%2Ffastify-invincible/lists"}