
X - toxicity detector for Indonesian Languange

Description
Chrome Extension and Machine Learning Backend
This project integrates a Chrome extension for scraping tweets and highlighting toxic content with a Python backend that uses a machine learning model to process the tweets.
Features
- Chrome Extension:
Scrapes tweets directly from Twitter.
Highlights toxic tweets.
Analyze toxicity of your tweet.
---
How to Use
1. Set Up the Chrome Extension
Download and unzip
extension.zip.Open Chrome and navigate to [chrome://extensions/](chrome://extensions/).
Enable
Developer Mode.Click
Load unpackedand select the extracted folder.Activate the extension.
---
2. Run the Python Backend
Ensure the (https://docs.astral.sh/uv/) package manager is installed.
Navigate to the backend folder
```bash
cd ml-backend/
```
Sync dependencies:
```bash
uv sync
```
3. Activate the virtual environment:
- Windows (Command Prompt):
```bash
.venvScriptsactivate
```
- Windows (Bash):
```bash
source .venv/Scripts/activate
```
- macOS/Linux:
```bash
source .venv/bin/activate
```
4. Run the server:
```bash
uv run main.py
```
---
## Credits
- (https://github.com/getvictor/create-chrome-extension) for the Chrome extension template.
- (https://huggingface.co/) for providing models and datasets.
- (https://huggingface.co/Exqrch/IndoBERTweet-HateSpeech)
- (https://huggingface.co/indolem/indobertweet-base-uncased)
- (https://huggingface.co/datasets/Exqrch/IndoToxic2024)
## Citations
1. IndoToxic2024 Dataset:
```bibtex
@article{susanto2024indotoxic2024,
title={IndoToxic2024: A Demographically-Enriched Dataset of Hate Speech and Toxicity Types for Indonesian Language},
author={Lucky Susanto and Musa Izzanardi Wijanarko and Prasetia Anugrah Pratama and Traci Hong and Ika Idris and Alham Fikri Aji and Derry Wijaya},
year={2024},
eprint={2406.19349},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2406.19349},
}
```
2. IndoBERTweet:
```bibtex
@inproceedings{koto2021indobertweet,
title={IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initialization},
author={Fajri Koto and Jey Han Lau and Timothy Baldwin},
booktitle={Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP 2021)},
year={2021}
}
```
Categories
Tags
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 4,294 views · 38 clicksSaaS · Week 45 · 4,294 views · 38 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 42,008 views · 223 clicksWebsite · Week 45 · 42,008 views · 223 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 40,051 views · 117 clicksSaaS · Week 45 · 40,051 views · 117 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 59,060 views · 198 clicksSaaS · Week 45 · 59,060 views · 198 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 28,437 views · 122 clicksDesktop App · Week 45 · 28,437 views · 122 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 4,269 views · 19 clicksWebsite · Week 45 · 4,269 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
2,944 views · 17 clicksWeek 45 · 2,944 views · 17 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
2,719 views · 13 clicksWeek 45 · 2,719 views · 13 clicks