{"id":25934048,"url":"https://github.com/ekaone/panic-button","last_synced_at":"2025-07-23T10:34:04.745Z","repository":{"id":118053051,"uuid":"352521700","full_name":"ekaone/panic-button","owner":"ekaone","description":"🧈 Simple push button for fun, send message to Telegram Group or Channel","archived":false,"fork":false,"pushed_at":"2021-03-30T06:38:24.000Z","size":245,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T13:05:29.950Z","etag":null,"topics":["button","panic","telegram-bot"],"latest_commit_sha":null,"homepage":"https://panic-button-eka.vercel.app/","language":"TypeScript","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/ekaone.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,"zenodo":null}},"created_at":"2021-03-29T05:01:58.000Z","updated_at":"2021-03-30T06:42:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d0107e5-2480-48f4-a47f-fb1a7051f721","html_url":"https://github.com/ekaone/panic-button","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ekaone/panic-button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fpanic-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fpanic-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fpanic-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fpanic-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekaone","download_url":"https://codeload.github.com/ekaone/panic-button/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fpanic-button/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266662973,"owners_count":23964655,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["button","panic","telegram-bot"],"created_at":"2025-03-04T00:56:48.637Z","updated_at":"2025-07-23T10:34:04.736Z","avatar_url":"https://github.com/ekaone.png","language":"TypeScript","readme":"\u003c!-- mind you open an issue... 😀 --\u003e\n\n[![panic-button](https://res.cloudinary.com/ddjsyskef/image/upload/v1616933943/Github/meqqdwjo4orbrsm98sra.jpg)](#)\n\n# `Panic-Button`\n\n[![Ask me anything](https://img.shields.io/badge/ask%20me-anything-orange)][ama]\n\n## Contents\n\n- [Installation](#cloud-installation)\n- [Usage](#interrobang-usage)\n- [Documentation](#books-documentation)\n- [How to contribute](#yum-how-to-contribute)\n- [License](#yum-how-to-contribute)\n\n## :cloud: Installation\n\n```js\ngit clone https://github.com/ekaone/panic-button.git\ncd panic-button\nnpm install\nnpm run dev\n```\n\n## :interrobang: Usage\n\n\u003e NOTE: You must enable (allowing) your location access in your browser.\n\nPress the button and **hold** around `1 second`, it will send the data includes coordinates latitude, longitude and local time to telegram groups or your channel through REST API.\n\n:rocket: [Demo](https://panic-button-eka.vercel.app/)\n\n## :books: Documentation\n\nMake sure setup a Telegram Bot with [`@BotFather`](https://t.me/botfather) and create a new one `@your_group` or `@your_channel`, also invite your `Bot` that you have created before to your `group` or your `channel`, once you have setup BOT Token and group or channel, there are 2 options:\n\n- Drop to `.env.local` (change .env.example) and use it as `process.env.NEXT_PUBLIC_BOT_TOKEN` and `process.env.NEXT_PUBLIC_GROUP/CHANNEL` at the [`url component`](https://github.com/ekaone/panic-button/blob/main/components/button.tsx)\n- Use local storage at setting menu as this [demo](https://panic-button-eka.vercel.app/)\n\nCheckout documentation [Telegram API](https://core.telegram.org/bots/api) for more details.\n\n## :yum: How to contribute\n\nHave an idea? Found a bug? See [how to contribute][contributing].\n\n## :scroll: License\n\n[MIT][license] © [Eka Prasetia][website]\n\n[website]: https://www.ekaprasetia.com/\n[contributing]: https://github.com/ekaone/contribute\n[license]: https://en.wikipedia.org/wiki/MIT_License\n[ama]: https://github.com/ekaone/ama\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekaone%2Fpanic-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekaone%2Fpanic-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekaone%2Fpanic-button/lists"}