{"id":23511156,"url":"https://github.com/devoplx/webhook-queue","last_synced_at":"2025-04-18T15:03:09.375Z","repository":{"id":269653022,"uuid":"860741506","full_name":"devoplx/webhook-queue","owner":"devoplx","description":"A simple but effective queue system for discord webhooks","archived":false,"fork":false,"pushed_at":"2024-12-25T06:55:21.000Z","size":5142,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-29T06:23:10.383Z","etag":null,"topics":["discord","queue","rate-limiting"],"latest_commit_sha":null,"homepage":"https://devoplx.com","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/devoplx.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-21T04:01:29.000Z","updated_at":"2025-01-12T18:23:52.000Z","dependencies_parsed_at":"2024-12-25T07:32:44.898Z","dependency_job_id":"80fbbcb5-2d26-4b0f-be3b-41469754d1b4","html_url":"https://github.com/devoplx/webhook-queue","commit_stats":null,"previous_names":["devoplx/webhook-queue"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devoplx%2Fwebhook-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devoplx%2Fwebhook-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devoplx%2Fwebhook-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devoplx%2Fwebhook-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devoplx","download_url":"https://codeload.github.com/devoplx/webhook-queue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249509269,"owners_count":21283556,"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":["discord","queue","rate-limiting"],"created_at":"2024-12-25T12:13:34.498Z","updated_at":"2025-04-18T15:03:09.345Z","avatar_url":"https://github.com/devoplx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Discord Webhook Queue\n\nA simple, yet effecitive queue system, to prevent your ips/webhooks from being rate limited on high output systems.\n\nDXN-DWHQ (Devoplx Discord WebHook Queue) system, uses a simple method to prevent webhooks/ips from being rate limited. \n\nBy only allowing webhooks being sent every 3s, it ensures it fits within discord rate limits.\n\nAll you have to do, is replace your normal webhooks with the url that follows the api refernce down below.\n\nIf you want to host it, we recommand and use [heztner](https://hetzner.cloud/?ref=acnFXBn6kbPC)\nIf you wish, we can setup and host it for you, for a small fee of 5$ a month, contact us at our discord: [discord](https://devoplx.com/discord)\n\nit will work with 99% pre existing systems that use discord webhoo, all you got to do is put your url, example: \n\nurl = \"http://discord.com/api/webhook/xxxxx/yyyyy\"\n\nx = id\ny = token\n\nwith = \"yoursite.com/webhook/addqueue/:license/:id/:token\n\nNOTICE: We understand that discord ratelimits are 30 Msg / per Channel / Per 1 Min, then 50 Messages / per 1 Sec per IP. However with this simple system design, we do not track each channel. (We are open to any pull requests, adding this system, but at this time, we will not be adding it)\n\n\n\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n\n\n\n## API Reference\n\n#### Get all items\n\n```http\n  POST /webhook/addqueue/:license/:id/:token\n```\nURL PARAMS:\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `license` | `string` | **Required**. The license Key |\n| `id` | `string` | **Required**. The Discord Webhook ID |\n| `token` | `string` | **Required**. The Discord Webhook Token |\n\nBODY:\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `discord webhook schema` | `string` | **Required**. [Discord docs](https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params) |\n\n#\n```http\n  POST /queue/stats/:license\n```\nURL PARAMS:\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `license` | `string` | **Required**. The license Key |\n\n\n## Authors\n\n- [@RjManhas](https://github.com/RjManhas)\n- [@JoeV2](https://github.com/Joe-Development)\n\nBacked By [@Devoplx](https://github.com/devoplx) Company\n\n\n## Deployment\n\nTo deploy this project run\n\nthe Dockerfile provided in the root of the project. Once started you can go to localhost:4011\n\nIf you want to manually do it, then you can do:\n\n1.\n```bash\nnpm i\n```\n\n2.\n```bash\nnpm run build\n```\n\n3.\n```bash\nnpm run start\n```\n\nthen you can go to localhost:4011\n## FAQ\n\n#### Why is the rate limit set to 3s\n\nWe understand, discord rate limit per channel is 30Msg/60 which would only require a 2s deley, we want to prevent your systems from being rate limited.\n\n\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`LICENSE`\n`LOGGER_SECRET`\n`LOGGER_URL`\n`PORT`\n`MOGNODB_URL`\n\n\n## Roadmap\n\n- Work on making it multi noded (allow you to scale it up)\n\n\n\n## Used By\n\nThis project is used by the following companies:\n\n- Devoplx\n\n\n## Support\n\nFor support, join our [discord](https://devoplx.com/discord)\n\n\n![Logo](https://devoplx.com/assets/images/logos/devoplx-logo.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevoplx%2Fwebhook-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevoplx%2Fwebhook-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevoplx%2Fwebhook-queue/lists"}