{"id":25410036,"url":"https://github.com/marufk21/hack-render","last_synced_at":"2025-04-14T03:38:48.286Z","repository":{"id":275127680,"uuid":"925157102","full_name":"marufk21/Hack-Render","owner":"marufk21","description":"This project provides a simple solution to prevent free-tier services like Render from putting your website into sleep mode due to inactivity. It periodically sends HTTP GET requests to your website, ensuring it stays active.","archived":false,"fork":false,"pushed_at":"2025-02-12T18:19:08.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T19:31:24.702Z","etag":null,"topics":["fullstack","hack","hosting","render"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/marufk21.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-31T10:43:27.000Z","updated_at":"2025-02-12T18:19:12.000Z","dependencies_parsed_at":"2025-01-31T11:44:15.552Z","dependency_job_id":null,"html_url":"https://github.com/marufk21/Hack-Render","commit_stats":null,"previous_names":["marufk21/hack-render"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marufk21%2FHack-Render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marufk21%2FHack-Render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marufk21%2FHack-Render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marufk21%2FHack-Render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marufk21","download_url":"https://codeload.github.com/marufk21/Hack-Render/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248818488,"owners_count":21166437,"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":["fullstack","hack","hosting","render"],"created_at":"2025-02-16T09:29:54.764Z","updated_at":"2025-04-14T03:38:48.265Z","avatar_url":"https://github.com/marufk21.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hack-Render (Keep-Alive Service)\n\nThis project provides a simple solution to prevent free-tier services like Render from putting your website into sleep mode due to inactivity. It periodically sends HTTP GET requests to your website, ensuring it stays active.\n\n## Features\n- Periodically sends requests to multiple URLs.\n- Keeps your web applications active and prevents them from going idle.\n- Simple and lightweight solution using Node.js, Express, and Axios.\n\n## Requirements\n- Node.js (v14+ recommended)\n- Express\n- Axios\n\n## Setup\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/your-username/website-keep-alive.git\n   cd website-keep-alive\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Update the `urls` array with the URLs you want to keep alive in the `index.js` file:\n   ```javascript\n   const urls = [\n     \"https://your-website-url.com\",\n     \"https://another-url.com\"\n   ];\n   ```\n\n4. Run the server:\n   ```bash\n   npm start\n   ```\n\n   The server will start on port `4000` and will keep sending requests to the provided URLs every 30 seconds.\n\n## How It Works\nThis project uses `axios` to send HTTP GET requests to a list of URLs. It uses `setInterval` to execute this action every 30 seconds, preventing the server from going idle on free-tier platforms like Render.\n\n## Disclaimer\nThis project is not intended to bypass any service limitations maliciously. Always check the platform's terms of service before using such methods to ensure compliance with their policies.\n\n## License\nThis project is open-source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarufk21%2Fhack-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarufk21%2Fhack-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarufk21%2Fhack-render/lists"}