đSocial media is a central part of modern life.Yet, as a woman,I know firsthand that itâs also a space where negativity and targeted harassment can make us feel vulnerable.Women are disproportionately affected by harmful comments, bullying,and online abuse, which can take a toll on mental health and well-being.Should women have to avoid these platforms to stay safe?Safe_X answers,no! Instead,itâs an AI-powered app designed to equip users with essential tools to make social media a safer,healthier place,offering the support and protection women need to stay connected confidently.
AI-Powered Harm DetectionđĄïž:Using advanced Gemini API and ML models,Safe_X detects and alerts users about harmful content, including bullying, harassment, or threats in mentions, messages, and comments.Unlike celebs with PR teams, most users canât monitor every post directed at them.This proactive alert system helps users report offensive content without the constant worry of missing harmful interactions, so they can stay connected with peace of mind.
Text Moderation with AIđ§:Words have power, and harsh language can deeply affect us. Using Geminiâs AI, Safe_X can transform harmful language into safer content, based on a safety level set by user. This lets women stay engaged without the emotional toll of consuming negative content.
RAG Chat Bot for Legal and Emotional Supportđ€đȘ:Safe_Xâs chatbot, built with Gemini and LlamaIndex, is a friend and guide, providing women with access to legal information on online safety and offering mental health support. Itâs an empowering resource, giving users the knowledge and encouragement to face online challenges with confidence.
Why Safe_X Matters:Social media should uplift, not tear down. Safe_X provides essential safety for women, allowing them to engage online without risking their mental well-being. With tools to moderate content, detect harmful interactions, and access support, Safe_X transforms social media into a place of empowerment for women
Building Safe_Xâa social media platform thatâs safe and empowering for womenâwas a dream project for me, but it came with its fair share of challenges. Its basically a simulation of a safer version of X.
One of the biggest hurdles was working with the X (formerly Twitter) API. As a free user, I faced tight access limits, frequent "429 Too Many Requests" errors, and several restricted endpoints. This was frustrating because my vision of a safer social media space for women depended on pulling in real-time data to analyze and flag harmful content. Without the budget for the paid API tiers, I had to carefully manage my requests, optimize calls, and test strategies to avoid hitting the rate limits, all while staying within the free access constraints.
The design was another challenge. Using Streamlit to build the interface posed some limitations, as I wanted the app to mirror the familiar look and feel of the X app. Streamlit wasnât as flexible as a full-stack framework, so I had to get creative to replicate the smooth, dynamic experience users expect. This involved experimenting with custom styles and components, balancing simplicity with functionality to make the app intuitive and visually appealing.
Finally, getting tweets processedâfetching data, classifying content with ML and AI, and storing the results in a databaseâwas time-consuming. At first, this led to noticeable wait times for users. Reducing these delays required refining the code, optimizing database queries, and exploring ways to streamline data handling, all while keeping the app responsive.
Through each challenge, I learned the importance of resilience and problem-solving. Safe_X has been a labor of love, bringing me closer to my vision of a social media platform that prioritizes safety and support for women.
Tracks Applied (3)
Major League Hacking
Google For Developers
Discussion