{"id":26267034,"url":"https://github.com/strange-bot/strange-image-api","last_synced_at":"2025-04-30T19:08:19.616Z","repository":{"id":232090986,"uuid":"538438037","full_name":"strange-bot/strange-image-api","owner":"strange-bot","description":"Image Manipulation/Generation API","archived":false,"fork":false,"pushed_at":"2025-04-24T21:33:34.000Z","size":21453,"stargazers_count":5,"open_issues_count":17,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T19:05:44.172Z","etag":null,"topics":["canvacord","discord-canvas","image-api","image-filters","image-generation","image-manipulation"],"latest_commit_sha":null,"homepage":"https://strangeapi.hostz.me","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/strange-bot.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,"zenodo":null}},"created_at":"2022-09-19T10:00:30.000Z","updated_at":"2025-04-24T21:33:38.000Z","dependencies_parsed_at":"2025-04-30T19:05:52.026Z","dependency_job_id":null,"html_url":"https://github.com/strange-bot/strange-image-api","commit_stats":null,"previous_names":["saiteja-madha/strange-image-api","strange-bot/strange-image-api"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strange-bot%2Fstrange-image-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strange-bot%2Fstrange-image-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strange-bot%2Fstrange-image-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strange-bot%2Fstrange-image-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strange-bot","download_url":"https://codeload.github.com/strange-bot/strange-image-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251767202,"owners_count":21640468,"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":["canvacord","discord-canvas","image-api","image-filters","image-generation","image-manipulation"],"created_at":"2025-03-14T04:15:17.231Z","updated_at":"2025-04-30T19:08:19.597Z","avatar_url":"https://github.com/strange-bot.png","language":"TypeScript","readme":"## Description\n\nStrange API was built to provide Discord bot developers an easy way to get content from the internet. It provides an easy to use interface and takes hard tasks away from developers.\n\n## Quick Links:\n\n-   **[Home Page](https://strangeapi.hostz.me)**\n-   **[API Documentation](https://strangeapi.hostz.me/docs)**\n-   **[Discord Server](https://discord.gg/jAQg6xs8vu)**\n\n## Authentication\n\n\u003e [!NOTE]\n\u003e If you don't have the token required to access this API, you can get one for free at **[the dashboard](#quick-links)** or by joining our **[Discord server](#quick-links)** and using the `/apikey generate` command.\n\nWhen calling our API, you must provide a HTTP-Header with name `Authorization` and value `Bearer TOKEN` where you replace 'TOKEN' with your token.\n\nRemember that you can also pass the authorization directly by adding a query to the endpoint url like `?apiKey=TOKEN` where you replace `TOKEN` with your token.\n\n## Example requesting to image api using [superagent](https://github.com/ladjs/superagent)\n\n```javascript\nconst request = require(\"superagent\");\n\nrequest\n    .get(\"https://strangeapi.hostz.me/api/generators/beautiful\") // the endpoint\n    .set(\"Authorization\", \"Bearer YourTokenHere\") // authentication\n    .query({ image: \"\" }) // the image to be used in the meme (Also work with query parameter above).\n    .then((res) =\u003e res.body); // handle the buffer response\n```\n\n\u003e [!NOTE] \u003e **Note:** The most of API request response is a Buffer (for image), handle the buffer somehow with your programming language.\n\n## Client Libraries\n\n| Language   | Library                                                          | Author                                                |\n| ---------- | ---------------------------------------------------------------- | ----------------------------------------------------- |\n| Typescript | [strange.js](https://www.npmjs.com/package/strange.js)           | [Ghellab Abderrahmane](https://github.com/rhaym-tech) |\n| Typescript | [strange-api-wrapper](https://www.npmjs.com/package/strange.api) | [Zastinian](https://zastinian.com/)                   |\n\n## Self-hosting\n\n1. Clone the repository\n2. Install dependencies\n3. Copy `.env.example` to `.env` and fill in your environment variables\n4. Build the project with `npm run build` or `yarn build`\n5. Start the server with `npm start` or `yarn start`\n\n```bash\ngit clone https://github.com/saiteja-madha/strange-image-api.git\ncd strange-image-api\nnpm install # or yarn\ncp .env.example .env\nnpm run build\nnpm start\n```\n\n## Contributing\n\nContributions are welcome. Please open a pull request with your changes.\n\n## Credits\n\nSpecial thanks to [SharifPoetra](https://github.com/SharifPoetra/) for sharing his ideas and major ideas were taken from his [project](https://github.com/Emilia-API).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrange-bot%2Fstrange-image-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrange-bot%2Fstrange-image-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrange-bot%2Fstrange-image-api/lists"}