{"id":16622677,"url":"https://github.com/chebro/heartbeat-js","last_synced_at":"2025-10-29T22:30:44.001Z","repository":{"id":39883406,"uuid":"358019909","full_name":"chebro/heartbeat-js","owner":"chebro","description":"digital heartbeat","archived":false,"fork":false,"pushed_at":"2023-03-13T16:57:59.000Z","size":514,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T05:24:49.169Z","etag":null,"topics":["expressjs","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://hb.chebro.dev","language":"EJS","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/chebro.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}},"created_at":"2021-04-14T19:29:48.000Z","updated_at":"2024-03-14T11:25:43.000Z","dependencies_parsed_at":"2023-02-10T04:45:25.599Z","dependency_job_id":null,"html_url":"https://github.com/chebro/heartbeat-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Fheartbeat-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Fheartbeat-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Fheartbeat-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebro%2Fheartbeat-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chebro","download_url":"https://codeload.github.com/chebro/heartbeat-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238900460,"owners_count":19549517,"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":["expressjs","hacktoberfest"],"created_at":"2024-10-12T03:03:36.091Z","updated_at":"2025-10-29T22:30:43.600Z","avatar_url":"https://github.com/chebro.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heartbeat.js\n\nA webpage that displays the most recent heartbeat (ping) received by the server (from a client).\n\n```\n├─ src     - express.js web app\n└─ scripts - systemd timer modules for clients\n```\n\nInstall heartbeat.js:\n\n```bash\ngit clone https://github.com/chebro/heartbeat.js\ncd heartbeat.js \u0026\u0026 npm ci\n```\n\n## Run (local)\n\n```bash\n# create and export auth token\nAUTH='some secure token'; echo -e \"AUTH=$AUTH\" \u003e .env\n\n# start server\nHOST=localhost PORT=8080 npm start\n\n# send heartbeat\ncurl -X POST -H \"Auth: $AUTH\" localhost:8080\n```\n\n## Run (production)\n\n```bash\nTODO\n```\n\n## Environment variables\n\nAll env vars are stored in `.env`, the following is an example:\n\n```bash\nAUTH='some secure token'\nHOST=localhost\nPORT=8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchebro%2Fheartbeat-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchebro%2Fheartbeat-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchebro%2Fheartbeat-js/lists"}