{"id":20692355,"url":"https://github.com/kazedevid/nsfw-images","last_synced_at":"2025-08-20T07:08:04.005Z","repository":{"id":148389449,"uuid":"620158311","full_name":"KazeDevID/nsfw-images","owner":"KazeDevID","description":"grabs images from websites","archived":false,"fork":false,"pushed_at":"2023-04-09T14:49:01.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"nsfw-images","last_synced_at":"2024-11-24T20:08:15.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/KazeDevID.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":"2023-03-28T06:26:11.000Z","updated_at":"2024-10-06T11:23:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd866086-1576-45a1-b5b1-20da6f76af1b","html_url":"https://github.com/KazeDevID/nsfw-images","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazeDevID%2Fnsfw-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazeDevID%2Fnsfw-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazeDevID%2Fnsfw-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KazeDevID%2Fnsfw-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KazeDevID","download_url":"https://codeload.github.com/KazeDevID/nsfw-images/tar.gz/refs/heads/nsfw-images","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250289039,"owners_count":21405902,"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":[],"created_at":"2024-11-16T23:21:02.566Z","updated_at":"2025-04-22T17:41:47.327Z","avatar_url":"https://github.com/KazeDevID.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# nsfw-images\r\n\u003e Pulls images from reddit and danbooru (more will be added in the future)\r\n\u003e Originally made for a discord bot\r\n\r\n### Installation\r\n```\r\nnpm install nsfw-images\r\n```\r\n\r\n## How to use\r\n```js\r\nconst Nsfw = require(\"nsfw-images\");\r\nconst KazeClient = new Nsfw.Client();\r\n// getting real images\r\nKazeClient.nsfw.real.ass().then(json =\u003e {\r\n    console.log(json);\r\n    // outputs data with image url, possible source and other stuff\r\n}).catch(error =\u003e {\r\n    console.log(error);\r\n    // outputs error\r\n});\r\n\r\n// getting hentai images\r\nKazeClient.nsfw.hentai.ass().then(json =\u003e {\r\n    console.log(json);\r\n    // outputs data with image url, possible source and other stuff\r\n}).catch(error =\u003e {\r\n    console.log(error);\r\n    // outputs error\r\n});\r\n\r\n// custom request\r\nKazeClient.custom.do(\"https://google.com/\", /\u003cmeta.*?\u003e/gm).then(matches =\u003e {\r\n    console.log(matches);\r\n    // outputs an array of all matches\r\n}).catch(error =\u003e {\r\n    console.log(error);\r\n    // outputs error\r\n});\r\n```\r\n### Real\r\n\r\n| Tag | Description |\r\n|:---:|:-----------:|\r\n| ass | gets ass pictures from reddit |\r\n| thighs | gets thigh pictures from reddit |\r\n| panties | gets pictures of girls in panties from reddit |\r\n| random | gets random nsfw pictures from reddit |\r\n\r\n### Hentai\r\n\r\n| Tag | Description |\r\n|:---:|:-----------:|\r\n| ass | gets ass pictures from sites|\r\n| thighs | gets thighs from danbooru |\r\n| panties | gets panties from danbooru |\r\n| feet | gets feet from  danbooru |\r\n\r\n### Custom\r\n\r\n| Site | Regex |\r\n|:----:|:-----:|\r\n| Provide Url to a website | regex pattern ( ͡° ͜ʖ ͡°) (e.g: /\"file-url\":\".*?\"/gm) |\r\n\r\n### Change Log\r\n* Added \"gelbooru\" to hentai's \"ass\" source\r\n\r\n### Todo\r\n* Add \"gelbooru\" to the rest of hentai sources\r\n* Add \"random\" to hentai\r\n* Add more sources to hentai and real images (preferably higher quality)\r\n\r\n\r\n### Support\r\n\r\n[ GITHUB ]: https://github.com/KazeDevID/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazedevid%2Fnsfw-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazedevid%2Fnsfw-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazedevid%2Fnsfw-images/lists"}