{"id":13530775,"url":"https://github.com/fabasoad/nsfw-detection-action","last_synced_at":"2025-10-30T02:22:13.199Z","repository":{"id":42535356,"uuid":"247705497","full_name":"fabasoad/nsfw-detection-action","owner":"fabasoad","description":"This GitHub action detects NSFW content in a commited files.","archived":false,"fork":false,"pushed_at":"2025-03-11T22:03:36.000Z","size":13189,"stargazers_count":17,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T23:19:14.814Z","etag":null,"topics":["github-action","github-actions","nsfw-detection","nsfw-recognition"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabasoad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"custom":["https://www.bitcoinqrcodemaker.com/?style=bitcoin\u0026address=145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH\u0026prefix=on","https://paypal.me/fabasoad"],"github":["fabasoad"],"ko_fi":"fabasoad","liberapay":"fabasoad"}},"created_at":"2020-03-16T13:11:16.000Z","updated_at":"2025-03-11T22:03:39.000Z","dependencies_parsed_at":"2023-01-04T12:25:37.317Z","dependency_job_id":"63518672-50cf-4e02-a5c6-2b061ea0be28","html_url":"https://github.com/fabasoad/nsfw-detection-action","commit_stats":{"total_commits":223,"total_committers":7,"mean_commits":"31.857142857142858","dds":0.5381165919282511,"last_synced_commit":"413cbf579593837782aae266afc2d358147fb331"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fnsfw-detection-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fnsfw-detection-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fnsfw-detection-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fnsfw-detection-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabasoad","download_url":"https://codeload.github.com/fabasoad/nsfw-detection-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871330,"owners_count":20361330,"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":["github-action","github-actions","nsfw-detection","nsfw-recognition"],"created_at":"2024-08-01T07:00:55.047Z","updated_at":"2025-10-30T02:22:13.179Z","avatar_url":"https://github.com/fabasoad.png","language":"Shell","funding_links":["https://www.bitcoinqrcodemaker.com/?style=bitcoin\u0026address=145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH\u0026prefix=on","https://paypal.me/fabasoad","https://github.com/sponsors/fabasoad","https://ko-fi.com/fabasoad","https://liberapay.com/fabasoad"],"categories":["Community Resources"],"sub_categories":["Utility"],"readme":"# NSFW detection action\n\n[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)\n![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/fabasoad/nsfw-detection-action?include_prereleases)\n![functional-tests](https://github.com/fabasoad/nsfw-detection-action/actions/workflows/functional-tests.yml/badge.svg)\n![security](https://github.com/fabasoad/nsfw-detection-action/actions/workflows/security.yml/badge.svg)\n![linting](https://github.com/fabasoad/nsfw-detection-action/actions/workflows/linting.yml/badge.svg)\n\nThis action checks each modified and added file with the extensions that is defined\nin action configuration and failed in case of threshold of NSFW check is greater\nor equals to the threshold defined in action configuration. NSFW detection runs\nby chosen provider.\n\n## Contents\n\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- TOC --\u003e\n* [NSFW detection action](#nsfw-detection-action)\n  * [Contents](#contents)\n  * [Providers](#providers)\n    * [Cloudmersive](#cloudmersive)\n    * [PicPurify](#picpurify)\n    * [SightEngine](#sightengine)\n  * [Supported OS](#supported-os)\n  * [Prerequisites](#prerequisites)\n  * [Inputs](#inputs)\n  * [Outputs](#outputs)\n  * [Contributions](#contributions)\n\u003c!-- TOC --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n## Providers\n\n### Cloudmersive\n\nIdentifier is `cloudmersive`. Sign up to [Cloudmersive](https://cloudmersive.com/)\nofficial website. Then go to [API Keys](https://account.cloudmersive.com/keys)\npage, create a new one and copy it.\n\n### PicPurify\n\nIdentifier is `picpurify`. Sign up to [PicPurify](https://www.picpurify.com/)\nofficial website. Then go to [API Keys](https://www.picpurify.com/apikey.html)\npage and copy `API key` that is located on the top of the page.\n\n### SightEngine\n\nIdentifier is `sightengine`. Sign up to [SightEngine](https://sightengine.com/)\nofficial website. Then go to [Get Started](https://dashboard.sightengine.com/getstarted)\npage and copy API user and API secret from the examples provided. This provider\nrequires to provide 2 API identifiers, so please put them into `api-key` parameter\nseparated by comma. For example, `api-key` should be _123456,abcdef_ if your\n`api_user` is _123456_ and `api_secret` is _abcdef_.\n\n## Supported OS\n\n\u003c!-- prettier-ignore-start --\u003e\n| OS      |                    |\n|---------|--------------------|\n| Windows | :white_check_mark: |\n| Linux   | :white_check_mark: |\n| macOS   | :white_check_mark: |\n\u003c!-- prettier-ignore-end --\u003e\n\n## Prerequisites\n\nThe following tools have to be installed for successful work of this GitHub Action:\n[curl](https://curl.se), [awk](https://en.wikipedia.org/wiki/AWK).\n\n## Inputs\n\n```yaml\n- uses: fabasoad/nsfw-detection-action@v3\n  with:\n    # (Required) Provider identifier.\n    provider: \"picpurify\"\n    # (Required) API key required for the selected provider.\n    api-key: ${{ secrets.PICPURIFY_API_KEY }}\n    # (Required) The action will fail if the NSFW detection value is greater\n    # than or equal to this parameter.\n    threshold: \"0.6\"\n    # (Optional) Comma-separated list of file extensions for NSFW detection.\n    # Defaults to \"jpeg,jpg,png,gif,webp,tiff,bmp\".\n    extensions: \"jpg,png,gif\"\n    # (Optional) Comma-separated types of changes made during work on the branch.\n    # Defaults to \"added,copied,modified,renamed\".\n    types: \"added,modified\"\n```\n\n## Outputs\n\nNone.\n\n## Contributions\n\n![Alt](https://repobeats.axiom.co/api/embed/45a9ac4850583b5ce74634f877915763852aaea7.svg \"Repobeats analytics image\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabasoad%2Fnsfw-detection-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabasoad%2Fnsfw-detection-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabasoad%2Fnsfw-detection-action/lists"}