WatchDog - "Sniffing out the truth"

Inspiration

The rapid rise of misinformation on social media platforms has made it increasingly difficult for individuals to discern the truthfulness of the content they encounter. Our inspiration for WatchDog stemmed from the need for a reliable tool that empowers users to verify the credibility of posts and tweets. We aim to foster a more informed society by providing an accessible means to assess the trustworthiness of information shared online.

What It Does

WatchDog allows users to input plain text from social media posts or tweets into a user-friendly interface. The platform analyzes the submitted content using the Perplexity AI API, providing a score that indicates the likelihood of truthfulness. Additionally, users can check the credibility of high-profile individuals by entering their names, receiving a score based on their recent social media activity.

  • Explore & Verify: Participate in solo or group challenges, like "Debunk the Most Myths" or "Top Verifier of the Month".
  • Ones to Watch: A list of unreliable personalities ranked by post veracity.
  • Scan & Cross-Check: In-app and extension tools to verify social media claims.

How We Built It

The project was developed using React.js for the frontend, enabling us to create a dynamic and responsive user interface. The backend API interactions are handled with Python, where we utilize the Perplexity AI API to process user queries. We focused on a clean, modern design with interactive elements to enhance user experience, utilizing CSS animations and hover effects.

Code Snippet

import requests

def verify_content(text):
    api_url = "https://api.perplexity.ai/verify"
    headers = {"Authorization": "Bearer YOUR_API_KEY"}
    data = {"content": text}
    response = requests.post(api_url, headers=headers, json=data)
    return response.json()

# Example usage
result = verify_content("This is a sample tweet text")
print(result)

Challenges We Ran Into

  1. API Security: Ensuring secure API calls from the frontend was crucial and required us to implement extra measures to protect sensitive data.
  2. User Interface Design: Balancing clarity with engagement posed a challenge as we wanted the design to be both intuitive and visually appealing.

Accomplishments That We're Proud Of

  • Seamless API integration with the Perplexity AI API.
  • Creating a responsive and interactive design with animations and interactivity.
  • Building a fully functional project without a dedicated backend, showcasing modern web development capabilities.

What We Learned

Throughout the development of WatchDog, we gained valuable insights into:

  • API integration and UI/UX design
  • The importance of user feedback in shaping our application
  • Adapting to challenges of working without a traditional server setup

What's Next for WatchDog

Looking ahead, we plan to enhance the accuracy of our credibility scoring model and expand our capabilities to include multimedia analysis. We also aim to implement advanced visualization tools that provide users with deeper insights into content credibility, further empowering them to navigate the complexities of social media information.

Built With

Share this project:

Updates