xtoxic is a Next.js application designed to analyze the toxicity levels of X accounts based on their recent tweets. This tool helps users understand the nature of the content shared by accounts they follow, providing insights into potential harmful behavior.
- Toxicity Analysis: Analyze the toxicity level of a Twitter account using the Exa API.
- User-Friendly Interface: Simple and intuitive UI for entering Twitter usernames.
- Real-Time Feedback: Instant analysis results with visual indicators of toxicity levels.
- Responsive Design: Works seamlessly on both desktop and mobile devices.
Make sure you have the following installed on your machine:
- Node.js (version 14 or later)
- npm, yarn, or another package manager of your choice
-
Clone the repository:
git clone https://github.com/puang59/xtoxic cd xtoxic -
Install the dependencies:
npm install # or yarn install # or pnpm install
-
Set up your environment variables. Create a
.env.localfile in the root of the project and add your Exa API key:EXA_API_KEY=your_exa_api_key_here
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 in your browser to see the application in action.
- Enter a Twitter username (without the
@symbol) in the input field. - Click the "Analyze" button to start the toxicity analysis.
- View the results, including the toxicity level and a brief explanation of the findings.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.
- inspired by f1shy-dev.