{"id":18418634,"url":"https://github.com/sijan2/ai-otp","last_synced_at":"2025-04-07T13:31:21.721Z","repository":{"id":258452386,"uuid":"864679165","full_name":"sijan2/ai-otp","owner":"sijan2","description":"OTP Autofill in browser with AI","archived":false,"fork":false,"pushed_at":"2025-01-05T23:55:53.000Z","size":1033,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T19:02:35.070Z","etag":null,"topics":["ai","chrome-extension","gmail-api","oauth2","openai","pub-sub","webextension","websocket"],"latest_commit_sha":null,"homepage":"","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/sijan2.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":"2024-09-28T21:36:35.000Z","updated_at":"2025-02-11T10:15:02.000Z","dependencies_parsed_at":"2024-10-19T04:23:37.193Z","dependency_job_id":"9f4bd93d-6ebc-4ef3-92a1-1632b8596dbb","html_url":"https://github.com/sijan2/ai-otp","commit_stats":null,"previous_names":["sijan2/ai-otp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sijan2%2Fai-otp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sijan2%2Fai-otp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sijan2%2Fai-otp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sijan2%2Fai-otp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sijan2","download_url":"https://codeload.github.com/sijan2/ai-otp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247661670,"owners_count":20975096,"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":["ai","chrome-extension","gmail-api","oauth2","openai","pub-sub","webextension","websocket"],"created_at":"2024-11-06T04:14:11.408Z","updated_at":"2025-04-07T13:31:21.715Z","avatar_url":"https://github.com/sijan2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-Based OTP Autofill Chrome Extension\n\nThis Chrome extension automates OTP filling and verification link handling using AI and Google Pub/Sub. It detects new otp/verifications related email, extracts OTPs or verification links, and open verification links in new tabs automatically.\n\n# Please Watch this Demo Preview:\n\nhttps://github.com/user-attachments/assets//95db5123-dced-4cb1-bc14-5a7cc19efc42\n\n### How It Works:\n\n1. **Google Authentication**: The extension authenticates your Google account and monitors a custom label (e.g., \"OTP\") in Gmail for relevant emails.\n\n2. **Real-Time Email Monitoring**: Google Pub/Sub tracks changes in the labeled emails and sends a push notification to a webhook(backend server) when a new email arrives and push the email data(historyid) to websocket.\n\n3. **Instant Notifications via WebSockets**: Chrome extension establish connection with websocket and recieves email history id instantly.\n\n   ### ---\u003e client side\n\n4. **Email Retrieval \u0026 AI Processing**: The extension pulls the new email content, then sends it to an AI model (Gemini/OpenAI) to extract OTPs or verification links.\n\n5. **Popup \u0026 Autofill**: The extracted OTP or link is displayed in a popup. OTPs are automatically filled, and verification links can be opened in a new tab.\n\n6. **Client-Side Privacy**: Google auth tokens are handled entirely in the browser, ensuring they are not shared with the backend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsijan2%2Fai-otp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsijan2%2Fai-otp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsijan2%2Fai-otp/lists"}