{"id":22700326,"url":"https://github.com/az33zy/telegram-login-widget","last_synced_at":"2025-04-13T06:11:21.913Z","repository":{"id":214163920,"uuid":"735843303","full_name":"az33zy/telegram-login-widget","owner":"az33zy","description":"A zero-dependency package for validating Telegram Login Widget data using Web Crypto API","archived":false,"fork":false,"pushed_at":"2023-12-31T08:07:13.000Z","size":99,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T09:17:25.655Z","etag":null,"topics":["telegram","telegram-login-widget","validation"],"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/az33zy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-12-26T08:32:00.000Z","updated_at":"2024-04-16T07:45:02.000Z","dependencies_parsed_at":"2023-12-26T10:27:19.504Z","dependency_job_id":"fd2cb8ac-ae0d-46af-a544-6474f838a314","html_url":"https://github.com/az33zy/telegram-login-widget","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":0.25,"last_synced_commit":"a08878143b834e7805548109a98765c05d2b0d17"},"previous_names":["az33zy/telegram-login-widget"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Ftelegram-login-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Ftelegram-login-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Ftelegram-login-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/az33zy%2Ftelegram-login-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/az33zy","download_url":"https://codeload.github.com/az33zy/telegram-login-widget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670434,"owners_count":21142904,"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":["telegram","telegram-login-widget","validation"],"created_at":"2024-12-10T06:11:08.077Z","updated_at":"2025-04-13T06:11:21.871Z","avatar_url":"https://github.com/az33zy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Login Widget\n\n[![Build Status](https://github.com/az33zy/telegram-login-widget/actions/workflows/ci.yml/badge.svg)](https://github.com/az33zy/telegram-login-widget/actions/workflows/ci.yml)\n[![Version](https://badgen.net/npm/v/telegram-login-widget)](https://www.npmjs.com/package/telegram-login-widget)\n[![Bundle Size](https://badgen.net/bundlephobia/minzip/telegram-login-widget)](https://bundlephobia.com/package/telegram-login-widget)\n[![Coverage Status](https://coveralls.io/repos/github/az33zy/telegram-login-widget/badge.svg?branch=main)](https://coveralls.io/github/az33zy/telegram-login-widget?branch=main)\n[![License](https://badgen.net/github/license/az33zy/telegram-login-widget)](LICENSE)\n\nA zero-dependency package for validating Telegram Login Widget data using [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API).\n\n## Getting Started\n\n### Installation\n\n```bash\npnpm add telegram-login-widget\n```\n\n### Usage\n\n```js\nimport { validate } from 'telegram-login-widget'\n\nconst botToken = 'YOUR BOT TOKEN'\n\nconst data = {\n  // Telegram Login Widget data\n}\n\nconst isValid = await validate(botToken, data)\n\nconsole.log(isValid)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faz33zy%2Ftelegram-login-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faz33zy%2Ftelegram-login-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faz33zy%2Ftelegram-login-widget/lists"}