{"id":35146581,"url":"https://github.com/qutek/telehook","last_synced_at":"2026-04-26T17:31:34.272Z","repository":{"id":78189895,"uuid":"138491421","full_name":"qutek/telehook","owner":"qutek","description":"Trigger localhost / non-https telegram hook with getUpdates","archived":false,"fork":false,"pushed_at":"2024-02-29T20:23:22.000Z","size":25,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-12-30T22:53:02.189Z","etag":null,"topics":["npm-package","telegram","telegram-bot","telegram-cli"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/telehook","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/qutek.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-24T15:02:41.000Z","updated_at":"2021-06-13T03:56:15.000Z","dependencies_parsed_at":"2025-12-28T15:04:47.021Z","dependency_job_id":null,"html_url":"https://github.com/qutek/telehook","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"b4433c400cc89fba575d4f2344f3a47472bfe42c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/qutek/telehook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qutek%2Ftelehook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qutek%2Ftelehook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qutek%2Ftelehook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qutek%2Ftelehook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qutek","download_url":"https://codeload.github.com/qutek/telehook/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qutek%2Ftelehook/sbom","scorecard":{"id":756358,"data":{"date":"2025-08-11","repo":{"name":"github.com/qutek/telehook","commit":"b4433c400cc89fba575d4f2344f3a47472bfe42c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T21:47:30.270Z","repository_id":78189895,"created_at":"2025-08-22T21:47:30.271Z","updated_at":"2025-08-22T21:47:30.271Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32307010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T17:23:19.671Z","status":"ssl_error","status_checked_at":"2026-04-26T17:23:19.195Z","response_time":129,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["npm-package","telegram","telegram-bot","telegram-cli"],"created_at":"2025-12-28T14:01:14.903Z","updated_at":"2026-04-26T17:31:34.247Z","avatar_url":"https://github.com/qutek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telehook.js\n\nTelegram bot development tool for triggering localhost / non-https hook with [getUpdates](https://core.telegram.org/bots/api#getupdates)\n\nIt will listen for incoming updates from Telegram.org and if there any updates it will forward the messages to your local webhook.\n\nPlease make sure there is no active webhook registered on your bot, you can check it here `https://api.telegram.org/bot\u003cbot-token\u003e/getWebhookInfo`\n\nif not so, you can remove your active webhook by accessing `https://api.telegram.org/bot\u003cbot-token\u003e/setWebhook?url=`\n\n## Installation\n\u003e$ `npm install telehook --save`\n\nor install as global to use Telehook CLI\n\u003e$ `npm install -g telehook`\n    \n## Example\n```js\nconst telehook = require('telehook');\n\nvar hook = telehook('YOUR_BOT:API_KEY', 'http://localhost/your-hook/', {\n  interval: 1000,\n  timeout: 0\n});\nhook.on('data', function(data){\n\tconsole.group('RECEIVED');\n\tconsole.log(data);\n\tconsole.groupEnd();\n})\n\nhook.on('error', function(error){\n\tconsole.group('ERROR');\n\tconsole.error(error);\n\tconsole.groupEnd();\n})\n\nhook.on('forwarded', function(data){\n\tconsole.log('forwarded');\n})\n\nhook.on('forward.error', function(error){\n\tconsole.group('FORWARD ERROR');\n\tconsole.error(error);\n\tconsole.groupEnd();\n})\n```\n\n## CLI\nMake sure you have install Telehook CLI with\n\u003e$ `npm install -g telehook`\n\nuse command run and pass the bot api key as well as the hook ur.\n```sh\ntelehook run \u003cbotToken\u003e \u003chookUrl\u003e\n```\n### Options\n- `-i, --interval`  *(To set the interval for checking updates, default to 1000 (1 second)*\n- `-t, --timeout`  *(To set the timout request while checking updates, default to 0*\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqutek%2Ftelehook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqutek%2Ftelehook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqutek%2Ftelehook/lists"}