{"id":26648909,"url":"https://github.com/jlucaso1/whatszig","last_synced_at":"2026-05-07T11:35:00.345Z","repository":{"id":284245633,"uuid":"954308558","full_name":"jlucaso1/whatszig","owner":"jlucaso1","description":"A WhatsApp messaging client written in Zig, powered by the Go WhatsApp library.","archived":false,"fork":false,"pushed_at":"2025-03-25T21:49:48.000Z","size":57,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T15:34:49.677Z","etag":null,"topics":["client","go","whatsapp","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/jlucaso1.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":"2025-03-24T22:10:27.000Z","updated_at":"2025-10-30T21:26:51.000Z","dependencies_parsed_at":"2025-03-24T23:22:55.354Z","dependency_job_id":"9812831a-de44-42f6-a356-1a9399a1635b","html_url":"https://github.com/jlucaso1/whatszig","commit_stats":null,"previous_names":["jlucaso1/whatszig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jlucaso1/whatszig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlucaso1%2Fwhatszig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlucaso1%2Fwhatszig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlucaso1%2Fwhatszig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlucaso1%2Fwhatszig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlucaso1","download_url":"https://codeload.github.com/jlucaso1/whatszig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlucaso1%2Fwhatszig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":["client","go","whatsapp","zig"],"created_at":"2025-03-25T00:47:16.864Z","updated_at":"2026-05-07T11:35:00.329Z","avatar_url":"https://github.com/jlucaso1.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhatsZig\n\nA WhatsApp messaging client written in Zig, powered by the Go WhatsApp library.\n\n[![GitHub](https://img.shields.io/badge/GitHub-WhatsZig-blue?logo=github)](https://github.com/jlucaso1/whatszig)\n\n## Description\n\nWhatsZig is a simple WhatsApp messaging application that connects to the WhatsApp network using Zig as the primary language with Go bindings. It allows you to authenticate via QR code and send messages to WhatsApp contacts.\n\n## Requirements\n\n- Zig (0.14.0 or later)\n- Go (1.20 or later)\n- A WhatsApp account\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/jlucaso1/whatszig.git\n   cd whatszig\n   ```\n\n2. Build the project:\n   ```\n   zig build\n   ```\n\n## Usage\n\n### Running the Application\n\nExecute the following command:\n\n```\nzig build run\n```\n\n### Authentication Process\n\n1. On first run, the application will display a QR code in the terminal (in base64 format).\n2. Copy the QR code data and convert it to an image using an online tool or local converter.\n3. Scan the QR code with your WhatsApp mobile app:\n   - Open WhatsApp on your phone\n   - Go to Settings \u003e Linked Devices\n   - Tap on \"Link a Device\"\n   - Scan the QR code\n\n4. After successful authentication, you'll be prompted to enter a phone number to send a message.\n\n### Sending Messages\n\n1. Enter the recipient's phone number when prompted (e.g., 559999999999).\n2. Enter the message you want to send.\n3. The message will be sent, and the program will display the result before exiting.\n\n### Persistent Authentication\n\nAfter the first authentication, the application creates a local database file (`whatsmeow.db`) that stores your session. This means you won't need to scan the QR code again on subsequent runs, unless you log out or your session expires.\n\n## How It Works\n\nWhatsZig uses:\n- Zig for the main application logic and user interface\n- Go's WhatsApp library (whatsmeow) for WhatsApp protocol implementation\n- CGO to connect Zig and Go components\n\n## Credits\n\nThis project would not be possible without:\n\n- [tulir/whatsmeow](https://github.com/tulir/whatsmeow) - The excellent Go WhatsApp library that powers the core functionality\n- [WhiskeySockets/Baileys](https://github.com/WhiskeySockets/Baileys) - For inspiration on WhatsApp API implementation\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlucaso1%2Fwhatszig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlucaso1%2Fwhatszig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlucaso1%2Fwhatszig/lists"}