Sentry is a nodeJS service that moderates content semantically on the social media platform, WhatsApp.
- User Authentication: Secure user authentication system with email verification.
- WhatsApp Group Management: Easily add and manage WhatsApp groups from the dashboard.
- Configuration Customization: Set tolerance levels for messages and define warning thresholds for users.
- WhatsApp Number Verification: Verify WhatsApp numbers before adding groups, ensuring admin access for added numbers.
- Automated Warning System: Automatically warn users based on specified thresholds, promoting responsible behavior.
Sentry operates through a seamless process designed to ensure efficient management and monitoring of WhatsApp groups. Here's how it works:
-
User Authentication and Registration:
- Users sign up using their email addresses.
- An email verification process is initiated to confirm user identity and ensure a secure registration process.
- Once verified, users gain access to the Sentry dashboard.
-
WhatsApp Group Management:
- Users can add their WhatsApp groups to the Sentry dashboard.
- Before a group is added, the user must verify their WhatsApp number.
- The system verifies the user's admin status within the added group, ensuring proper access for configuration and monitoring.
-
Configuration Customization:
- Users can customize configurations for each WhatsApp group added.
- This includes setting tolerance levels for messages and defining the number of warnings per user before actions are taken.
-
Automated Monitoring and Warning System:
- Add the SENTRY BOT in your WhatsApp group as an admin.
- Sentry continuously monitors group activity based on configured thresholds.
- When a threshold is reached (e.g., excessive violation of message tolerance levels), Sentry automatically warns the respective users.
- Warning notifications are sent to users, prompting them to adhere to group guidelines and norms.
To get started with Sentry, follow these steps:
-
Clone the Repository: Clone the Sentry repository to your local machine.
git clone https://github.com/MaxAnii/sentry.git
-
Install Dependencies: Navigate to the project directory and install the necessary dependencies.
cd sentry npm install
-
Set Up Environment Variables: Create a
.env
file in the root directory and configure environment variables such as database connection details and API keys.DIRECT_URL AUTH_SECRET NODEMAILER_AUTH_USER NODEMAILER_AUTH_PASS TRANSPORTER_FROM
-
Set Up Backend: Set up the backend to moderate the content. click here to get the backend repo.
-
Run the Application: Start the application locally.
npm start
By Ansar with ❤️.
Feel free to open an issue or use this as your project!