Keep your browsing free from sensitive content.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Detox
is an AI-powered chrome-extension that lets you control what you see when you are browsing the web. With the help of Detox
, you can choose to blur out obscene images, videos, and text, and concentrate on your work/scroll through social media peacefully.
On the chrome-extension popup, you can choose the strictness with which you want Detox
to filter text and media on the webpage. You can also choose the type of content you want to filter by enabling/disabling switches on the extension. By default, text, images, and videos will be enabled.
Detox
only uses Open-Source APIs and libraries. Image content detection is performed on the client-side. Text is sent to the server (the source code for which is also Open Source). However, the text sent to our servers is not stored and not linked to a user in any way.
To get a local copy up and running follow these simple steps.
- npm
- Clone the repo.
git clone https://github.com/Team-WhiteHatSr/detox-backend.git
cd detox-backend
- Install NPM packages.
npm install
- Run the project.
npm run dev
Check text to filter
POST /check/text
Parameter | Type | Description |
---|---|---|
body |
string |
Required. The text to check |
{
"success": true,
"data": {
"INSULT": 0.02562259,
"SEXUALLY_EXPLICIT": 0.0659871,
"IDENTITY_ATTACK": 0.036624417,
"PROFANITY": 0.043232616,
"TOXICITY": 0.052431956,
"FLIRTATION": 0.24988943,
"THREAT": 0.062780865
}
}
GET /util/ping
Parameter | Type | Description |
---|---|---|
none | none | Returns pong if sever is active |
GET /community/report
Parameter | Type | Description |
---|---|---|
url | string , query param |
URL of the website in question |
{
"reports": [
{
"pageScore": 0,
"vote": 70,
"users": [],
"_id": "60d76b74f0c7801e3a0bd5b6",
"contentType": "something",
"url": "https://something.com",
"selector": "html > body > section > p > something",
"__v": 0
}
]
}
POST /community/report
Parameter | Type | Description |
---|---|---|
url | string |
URL of the website in question |
contentType | string , (either text or image ) |
type of content to report |
vote | number |
User's rating of the page |
selector | string |
CSS path of the element in the HTML page |
userId | string |
unique id of extension, auto generated |
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'feat: Add some AmazingFeature'
) - Push to the Branch (
git push -u origin feature/AmazingFeature
) - Open a Pull Request
You are requested to follow the contribution guidelines specified in CONTRIBUTING.md while contributing to the project 😄.
Distributed under the MIT License. See LICENSE
for more information.