{"id":17581292,"url":"https://github.com/iron-m4n/pair-example","last_synced_at":"2025-04-12T23:45:26.594Z","repository":{"id":258750391,"uuid":"871075533","full_name":"IRON-M4N/pair-example","owner":"IRON-M4N","description":"Pairing Code Example with @whiskeysockets/baileys","archived":false,"fork":false,"pushed_at":"2025-02-16T09:54:10.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":14,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:45:24.622Z","etag":null,"topics":["baileys","express","pairing","whatsapp-bot","whiskeysockets"],"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/IRON-M4N.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}},"created_at":"2024-10-11T08:14:56.000Z","updated_at":"2025-02-28T09:37:09.000Z","dependencies_parsed_at":"2024-12-10T01:41:41.519Z","dependency_job_id":"170d1188-b850-42e5-9e5c-2ff89e2b667a","html_url":"https://github.com/IRON-M4N/pair-example","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"f7d3b676f3b4a0d24b745f1d60a0a556aae4c735"},"previous_names":["iron-m4n/pair-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IRON-M4N%2Fpair-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IRON-M4N%2Fpair-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IRON-M4N%2Fpair-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IRON-M4N%2Fpair-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IRON-M4N","download_url":"https://codeload.github.com/IRON-M4N/pair-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647260,"owners_count":21139081,"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":["baileys","express","pairing","whatsapp-bot","whiskeysockets"],"created_at":"2024-10-22T01:07:53.118Z","updated_at":"2025-04-12T23:45:26.574Z","avatar_url":"https://github.com/IRON-M4N.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Pairing Code Example with @whiskeysockets/baileys\n\nA simple example of a pairing code server that uses `@whiskeysockets/baileys`  and stores session credentials in MEGA with an ID.\n\n## Getting Started\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/IRON-M4N/pair-example.git\n   cd pair-example\n   ```\n\n2. **Install dependencies**\n   ```bash\n   npm install\n   ```\n\n3. **Configure your MEGA and session settings**\n   - Edit `config.js` and set add your Mega account password and email and session prefix\n\n   ```javascript\n   module.exports = {\n       EMAIL: \"your-mega-email\",\n       PASS: \"your-mega-password\",\n       PREFIX: \"IRON-M4N×\" // Customize your session ID prefix here\n   };\n   ```\n\n4. **Run the script**\n\n   ```bash\n   npm start\n   ```\n\n   - To stop or restart, you can use:\n     ```bash\n     npm run stop\n     npm run restart\n     ```\n\n5. **Pairing Usage**\n     ```\n     http://localhost:3000/pair?code=+6969696969\n     ```\n\n##### Readme is made from ChatGpt cuz takes too much energy to make one and explain it sooo...yeah\n###### IRON-M4N\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-m4n%2Fpair-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firon-m4n%2Fpair-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-m4n%2Fpair-example/lists"}