{"id":13404925,"url":"https://github.com/cinderjk/zete","last_synced_at":"2025-10-06T13:30:24.515Z","repository":{"id":144613815,"uuid":"570711151","full_name":"cinderjk/zete","owner":"cinderjk","description":"Simple Panel for Baileys API","archived":true,"fork":false,"pushed_at":"2023-05-01T08:34:43.000Z","size":645,"stargazers_count":51,"open_issues_count":0,"forks_count":24,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-01T07:42:31.059Z","etag":null,"topics":["api","api-gateway","whatsapp","whatsapp-api","whatsapp-gateway","whatsapp-web"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/cinderjk.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}},"created_at":"2022-11-25T22:27:37.000Z","updated_at":"2024-07-23T18:38:48.000Z","dependencies_parsed_at":"2023-07-04T19:35:51.069Z","dependency_job_id":null,"html_url":"https://github.com/cinderjk/zete","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderjk%2Fzete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderjk%2Fzete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderjk%2Fzete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderjk%2Fzete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinderjk","download_url":"https://codeload.github.com/cinderjk/zete/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235527720,"owners_count":19004370,"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":["api","api-gateway","whatsapp","whatsapp-api","whatsapp-gateway","whatsapp-web"],"created_at":"2024-07-30T19:01:53.306Z","updated_at":"2025-10-06T13:30:18.936Z","avatar_url":"https://github.com/cinderjk.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/cinderjk/zete\" target=\"_blank\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/85218269/204297488-b37d1b48-3074-4758-b2eb-fca32f2729b8.png\" width=\"200\" alt=\"Zete Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n# Zete-Panel for WhatsApp API\n\n[![Tests](https://github.com/cinderjk/zete/actions/workflows/laravel.yml/badge.svg)](https://github.com/cinderjk/zete/actions/workflows/laravel.yml)\n\nZete-Panel, is an open-source application interface for this\n[ookamiiixd/baileys-api](https://github.com/ookamiiixd/baileys-api/tree/1.0.0-beta.0) with laravel/livewire and you can install it on any Shared Hosting that support NodeJs and SSH\n\n## Features\n\n-   Auto-refreh QR Code\n-   Connect/Disconnect Device\n-   Message Log\n-   Send test Message\n-   Change Profile (Name)\n-   Regenerate API Key\n-   Built-in API with Documentation\n-   Use sanctum for API Token\n-   Ready-to-use\n\n## Installation on Shared Hosting\n\n### First you need to Setup the API.\n\n1. Create a new subdomain, e.g. example.yourdomain.com\n2. Open the terminal or SHH to start cloning this repository to your subdomain directory\n\n```bash\ngit clone https://github.com/ookamiiixd/baileys-api.git public_html/example.yourdomain.com\n```\n\n3. Enter to the subdomain directory.\n\n```bash\ncd public_html/example.yourdomain.com\n```\n\n4. Setup configuration\n\n#### Create a database for ookamiiiixd/baileys-api as it is needed for data storage\n\nThen copy the .env from .env.example\n\n```bash\ncp .env.example .env\n```\n\nthen edit the .env file, you can use nano with the command\n\n```bash\nnano .env\n```\n\nPaste this\n\n```env\n# Listening Host\nHOST=\"127.0.0.1\"\n\n# Listening Port\nPORT=\"48000\"\n\n# Database Connection URL\n# mysql://{db_username}:{db_password}@127.0.0.1:3306/{db_name}\nDATABASE_URL=\"mysql://root:12345@127.0.0.1:3306/baileys_api\"\n\n# Reconnect Interval (in Milliseconds)\nRECONNECT_INTERVAL=\"5000\"\n\n# Maximum Reconnect Attempts\nMAX_RECONNECT_RETRIES=\"5\"\n\n# Maximum SSE QR Generation Attempts\nSSE_MAX_QR_GENERATION=\"10\"\n\n# Pino Logger Level\nLOG_LEVEL=\"warn\"\n```\n\n5. Create .htaccess file, and copy these\n\n```bash\nOptions +FollowSymLinks -Indexes\nIndexIgnore *\nDirectoryIndex\n\u003cIfModule mod_rewrite.c\u003e\nRewriteEngine on\nRewriteRule ^(.*)$ http://127.0.0.1:48000/$1 [P]\n\u003c/IfModule\u003e\n```\n\n6. Go to \"Setup Node.js App\", follow these settings, and Create\n\n```bash\nNode.js version = v16 above\nApplication mode = Production\nApplication root = public_html/example.yourdomain.com\nApplication URL = example.yourdomain.com\nApplication startup file = app.js\n```\n\n7. Copy the virtual environment path, open your terminal or SSH, paste it, and Enter\n\n```bash\nsource /home/u123456/nodevenv/public_html/example.yourdomain.com/16/bin/activate \u0026\u0026 cd /home/u123456/public_html/example.yourdomain.com\n```\n\n8. Install the dependencies\n\n```bash\nyarn install\n```\n\nor\n\n```bash\nnpm i\n```\n\n9. Build the project\n\n```bash\nyarn build\n```\n\nor\n\n```sh\nnpm run build\n```\n\n10. Push the schema\n\n```sh\nnpx prisma db push\n```\n\n11. Install pm2\n\n```bash\nnpm install pm2@latest -g\n```\n\nor\n\n```bash\nyarn global add pm2\n```\n\n12. Run the app.js\n\n```bash\nnpx pm2 start app.js\n```\n\n13. Now the endpoint should be available according to your environment variables configuration. Default is at `http://example.yourdomain.com`\n    Your API is ready, give it a try here =\u003e [DOCS](https://documenter.getpostman.com/view/18988925/2s8Z73zWbg)\n\n### Install Zete-Panel\n\n1. Create a new domain, e.g. yourdomain.com\n2. Open the terminal or SHH to start cloning this repository to your domain directory\n\n```bash\ngit clone https://github.com/cinderjk/zete.git public_html/yourdomain.com\n```\n\n3. Enter to the domain directory.\n\n```bash\ncd public_html/yourdomain.com\n```\n\n4. Install the dependencies\n\n```bash\ncomposer i\n```\n\n4. Create a new Database\n5. Open file manager and edit the .env\n\n```bash\nAPP_NAME=Zete\nAPP_ENV=local\nAPP_KEY=base64:oLpa/yTwIUUiFoPg5A17Ao15djIt6d4SOwUvdZyp5QZ=\nAPP_DEBUG=false\nAPP_URL=http://yourdomain.com\nWA_API_URL=http://example.yourdomain.com\nUSE_JOB_QUEUE=false\n\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=your_zete_database\nDB_USERNAME=your_zete_database_username\nDB_PASSWORD=your_zete_database_password\n```\n\nNote:\n\nWA_API_URL: please change it to your API endpoint\n\n#### Using Queue\n\nUSE_JOB_QUEUE: set to `TRUE` If you want to use queue, you will need a cron jobs\n\nrun these commands on cron jobs\n\n```bash\n*/5\t*\t*\t*\t*\t/usr/local/bin/php /home/u123456/public_html/yourdomain.com/artisan queue:work --max-time=300 \u003e\u003e /dev/null 2\u003e\u00261\n```\n\nvia terminal\n\n```bash\nphp artisan queue:work\n```\n\n6. Run migration and key:generate, simply just\n\n```bash\nphp artisan fresh:data\n```\n\nor\n\n```bash\nphp artisan migrate:fresh --seed \u0026 php artisan key:generate\n```\n\n7. Create .htaccess file, and copy these\n\n```bash\nRewriteEngine on\nRewriteCond %{REQUEST_URI} !^public\nRewriteRule ^(.*)$ public/$1 [L]\n```\n\n8. Go to yourdomain.com\n9. Login use username admin \u0026 123\n10. Go to Device \u003e Add, and create new Device\n11. Scan the QR with your whatsapp\n12. Next, go to Messages \u003e Add, and test it.\n\n## Screenshots\n\n### Login Page\n\n![Login Page](https://user-images.githubusercontent.com/85218269/204294710-00ce9f1c-5d94-45d7-ae26-dc4d44e418d3.png)\n\n### Dashboard\n\n![Dashboard Page](https://user-images.githubusercontent.com/85218269/204294883-178049c6-34e5-4011-b9ef-7dd7ab4c16d2.png)\n\n### Devices\n\n![Devices Page](https://user-images.githubusercontent.com/85218269/204295032-ee69badf-99e7-4adc-90ba-6a22490f7f2a.png)\n\n### Scan Devices\n\n![Scan Devices Page](https://user-images.githubusercontent.com/85218269/204295311-7cc517bd-1bd7-4129-8e9b-049f579c535e.png)\n\n### Add Message\n\n![Add Message Page](https://user-images.githubusercontent.com/85218269/204295909-118da08f-e174-44b4-ae75-47b9487efc0e.png)\n\n### Profile\n\n![Profile Page](https://user-images.githubusercontent.com/85218269/204298772-802f8934-ea9a-4c4d-b19a-c633d65d847e.png)\n\n### Docs\n\n![Docs Page](https://user-images.githubusercontent.com/85218269/204299252-841f55c8-caa3-4517-a076-5a29a6595788.png)\n\n## Tech Stack\n\n**Client:** Livewire, Bootstrap\n\n**Server:** NodeJs, Laravel\n\n## Credit\n\n-   Baileys API: [ookamiiixd/baileys-api](https://github.com/ookamiiixd/baileys-api)\n-   Admin Template: [Now UI Dashboard](https://www.creative-tim.com/product/now-ui-dashboard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderjk%2Fzete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinderjk%2Fzete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderjk%2Fzete/lists"}