{"id":48242971,"url":"https://github.com/botsarefuture/profanity-detector-api","last_synced_at":"2026-04-04T20:20:28.566Z","repository":{"id":218350707,"uuid":"746178941","full_name":"botsarefuture/profanity-detector-api","owner":"botsarefuture","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-06T17:46:38.000Z","size":44,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-06T21:03:28.976Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/botsarefuture.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-01-21T09:59:22.000Z","updated_at":"2024-09-02T06:34:24.000Z","dependencies_parsed_at":"2024-04-01T22:52:40.020Z","dependency_job_id":null,"html_url":"https://github.com/botsarefuture/profanity-detector-api","commit_stats":null,"previous_names":["botsarefuture/profanity-detector-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/botsarefuture/profanity-detector-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fprofanity-detector-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fprofanity-detector-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fprofanity-detector-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fprofanity-detector-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botsarefuture","download_url":"https://codeload.github.com/botsarefuture/profanity-detector-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botsarefuture%2Fprofanity-detector-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31412501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":[],"created_at":"2026-04-04T20:20:28.485Z","updated_at":"2026-04-04T20:20:28.554Z","avatar_url":"https://github.com/botsarefuture.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Profanity Detector API\n\nAn API for detecting profanity in text using Django and Django REST framework.\n\nThe Profanity Detector this uses is located here: https://github.com/botsarefuture/profane_detector.\n\n**Note: in future this is going to use [HaSpDe](https://github.com/HateSpeechDetection)**\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/botsarefuture/profanity-detector-api.git\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Apply migrations:\n\n    ```bash\n    python manage.py migrate\n    ```\n\n4. Run the development server:\n\n    ```bash\n    python manage.py runserver\n    ```\n\n## Usage\n\n### Detect Profanity\n\nEndpoint: `/api/detect-profanity/`\n\n#### Request\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"text\": \"This is a profane text.\", \"language\": \"en\"}' http://localhost:8000/api/detect-profanity/\n```\n\nReplace `http://localhost:8000` with your API server URL.\n\n#### Response\n\n```json\n{\n    \"text\": \"This is a profane text.\",\n    \"language\": \"en\",\n    \"profanity_detected\": true\n}\n```\n\n## Documentation\n\nFor detailed API documentation, refer to the [OpenAPI (Swagger) Documentation](#link-to-documentation).\n\n## Contributing\n\nIf you'd like to contribute to this project, feel free to submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsarefuture%2Fprofanity-detector-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotsarefuture%2Fprofanity-detector-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsarefuture%2Fprofanity-detector-api/lists"}