{"id":18915376,"url":"https://github.com/spinfal/cdn-slave","last_synced_at":"2026-03-04T20:32:43.902Z","repository":{"id":37103102,"uuid":"463791017","full_name":"spinfal/cdn-slave","owner":"spinfal","description":"A simple website that allows you to upload files to Discord's CDN without having to do it in their app.","archived":false,"fork":false,"pushed_at":"2025-12-31T10:42:24.000Z","size":518,"stargazers_count":20,"open_issues_count":21,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-04T15:41:08.207Z","etag":null,"topics":["cdn","discord","discord-bot","discord-cdn","discord-js","idkwhattagtouse","nodejs","simple","website"],"latest_commit_sha":null,"homepage":"https://cdn-slave.spin.rip/","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spinfal.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-02-26T07:57:11.000Z","updated_at":"2025-08-25T18:30:11.000Z","dependencies_parsed_at":"2023-02-15T19:45:33.837Z","dependency_job_id":"679336d9-df7d-4fb1-958b-da2e4e46f8c0","html_url":"https://github.com/spinfal/cdn-slave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spinfal/cdn-slave","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinfal%2Fcdn-slave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinfal%2Fcdn-slave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinfal%2Fcdn-slave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinfal%2Fcdn-slave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spinfal","download_url":"https://codeload.github.com/spinfal/cdn-slave/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinfal%2Fcdn-slave/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"last_error":"SSL_read: 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":["cdn","discord","discord-bot","discord-cdn","discord-js","idkwhattagtouse","nodejs","simple","website"],"created_at":"2024-11-08T10:16:07.294Z","updated_at":"2026-03-04T20:32:42.149Z","avatar_url":"https://github.com/spinfal.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CDN Slave status](https://status.spin.rip/api/badge/9/status?style=for-the-badge)\n![CDN Slave uptime](https://status.spin.rip/api/badge/9/uptime/48?labelPrefix=CDN-Slave+\u0026style=for-the-badge)\n\n## Updates\nhttps://blog.spin.rip/p/discord-cdn-changes\n\n# CDN Slave\nA simple website that allows you to upload files to Discord's CDN without having to do it in their app.\n\n## Prerequisites\n[Node.js](https://nodejs.org/)\n\n[Discord Bot](https://discord.com/developers/applications)\n\n[Git](https://git-scm.com/downloads) (optional)\n\n## Installation\n### Run this command:\n```\ngit clone https://github.com/spinfal/cdn-slave.git\n```\nor download the ZIP file and extract it\n```\ncd cdn-slave\n```\n### Follow these steps:\n- Rename [Global.example.js](Global.example.js) to `Global.js`\n- Go to https://discord.com/developers/applications and create bot\n- Make sure this is enabled\n![Message Content Intent](https://cdn.spin.rip/r/8ee0777a-7e2c-41ab-a64d-b6ba8b9c8df6.png \"Message Content Intent\")\n- Invite the bot to your server using this link: `https://discord.com/api/oauth2/authorize?client_id=INSERT YOUR APPLICATION ID\u0026permissions=52224\u0026scope=bot`\n- Configure the `Global.js` file \n\n### Continue with running these commands:\n```\nnpm i\n```\n```\nnpm run start\n```\nor \n```\nnpm run dev\n```\n\n## Usage\nThe website will be up @ http://localhost:443 (unless you've changed the config)\n\nFiles uploaded on the site will be available in the channel that you set in `Global.js`\n\n## Usage with ShareX\nCDN Slave can also be used with [ShareX](https://getsharex.com/)! Follow these steps to get it working (don't want to follow steps? [click here to download the config](https://cdn.spin.rip/r/CDN-Slave_(Discord_CDN).sxcu)):\n\n1. Copy the upload endpoint. If using localhost it will be `http://localhost:443/api/upload`, or if you're using my instance it will be `https://cdn-slave.spin.rip/api/upload`\n2. Open ShareX and go to `Destinations` \u003e `Custom uploader settings` \u003e Click `New`\n3. Name it whatever you want \u0026 paste the upload endpoint in `Request URL`\n4. Under `Destination type`, select `Image uploader`, `Text uploader`, and `File uploader`\n5. Body should be `Form data (multipart/form-data)` and `File form name` should just be `file`.\n6. In the headers section, set the name to `Upload-Source` and the value to `API`\n7. Select your new ShareX config in the dropdowns at the bottom left of your screen\n8. Have fun with your new CDN slave.\n![ShareX CDN Slave GIF tutorial](https://cdn.spin.rip/r/ShareX_5685615049.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspinfal%2Fcdn-slave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspinfal%2Fcdn-slave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspinfal%2Fcdn-slave/lists"}