{"id":20020821,"url":"https://github.com/losparviero/grammyuser","last_synced_at":"2026-05-29T23:03:04.060Z","repository":{"id":190616302,"uuid":"682984273","full_name":"losparviero/grammYUser","owner":"losparviero","description":"User management database middleware plugin for grammY framework!","archived":false,"fork":false,"pushed_at":"2023-08-25T14:35:44.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T13:47:20.473Z","etag":null,"topics":["grammy","grammy-plugin","grammyjs","telegram","telegram-bot","telegrambot"],"latest_commit_sha":null,"homepage":"https://npmjs.com/grammyuser","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/losparviero.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}},"created_at":"2023-08-25T10:18:35.000Z","updated_at":"2023-08-25T14:31:10.000Z","dependencies_parsed_at":"2023-08-25T15:26:52.442Z","dependency_job_id":null,"html_url":"https://github.com/losparviero/grammYUser","commit_stats":null,"previous_names":["losparviero/grammyuser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/losparviero/grammYUser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losparviero%2FgrammYUser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losparviero%2FgrammYUser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losparviero%2FgrammYUser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losparviero%2FgrammYUser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/losparviero","download_url":"https://codeload.github.com/losparviero/grammYUser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losparviero%2FgrammYUser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33673628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["grammy","grammy-plugin","grammyjs","telegram","telegram-bot","telegrambot"],"created_at":"2024-11-13T08:34:19.595Z","updated_at":"2026-05-29T23:03:04.044Z","avatar_url":"https://github.com/losparviero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grammYUser\n\nUser management database middleware plugin for [grammY](https://github.com/grammyjs/grammy) framework!\n\n### Features\n\nMiddleware for grammY which lets you implement management of users using a database.\n\nSupports a global blacklist feature through column 'isBlacklisted' (0 or 1) in the database.\n\nSupports 'lastSeen' feature for users interacting with bots, along with a 'firstSeen' column storing dates pertaining to the first time a user messaged the bot to the last or recent time.\n\nStores user records such as Telegram user ID, username, firstName and lastName for user management.\n\n### Usage\n\n1. grammYUser depends on the mysql2 package.\n```node\nnpm i mysql2\n```\nIn working directory of your bot project.\n\n2. Copy the plugin code from ```user.js``` and paste it in your Telegram bot code.\n\n3. Run ```npm start``` to create or initiliaze the databalse.\n\n\n### License\n\nMIT ©️ Zubin","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosparviero%2Fgrammyuser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosparviero%2Fgrammyuser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosparviero%2Fgrammyuser/lists"}