Inspiration

Inspired by the do-gooders at https://tosdr.org who have been tirelessly leading the efforts against "The worlds biggest lie". Most users accept a website's terms and conditions without reading them, thereby entering into a binding legal contract. This allows companies to include user-hostile terms that can have severe consequences for unsuspecting users and the users risk is that they enter into a legally binding contract with a corporation without any idea what they are getting themselves into.

What it does

Tosreview.org provides an LLM-powered analysis of any website's terms of service (TOS). By pasting the text or entering a URL, users receive a detailed breakdown that enables them to make an informed decision before accepting the terms.

It also allows the users to get translations of the same analysis in their preferred language

How we built it

We built the Frontend using Svelte.js, leveraging bolt.new for rapid prototyping and UI iteration. The design features a modern glass morphism effect for a sophisticated look and feel. The Backend is powered by a custom Gemini API that processes TOS text or URLs, utilizing large language models to generate comprehensive analysis. The project uses Tailwind CSS for styling and Vite for fast builds.

Challenges we ran into

  • Integrating LLM APIs reliably and handling edge cases in TOS documents.
  • Ensuring the UI remains responsive and visually appealing across devices.
  • Parsing and cleaning diverse TOS formats from different websites.
  • Managing rate limits and error handling for external API calls.

Accomplishments that we're proud of

  • Delivering accurate, actionable TOS summaries that help users understand complex legal documents.
  • Achieved Multi language support and implemented caching to deliver faster responses and reduce costs.
  • Achieving a polished, modern UI with glass morphism and smooth user experience.
  • Building a modular, maintainable codebase using Svelte and TypeScript.
  • Rapid iteration and deployment using modern web tooling.

What we learned

  • The importance of clear UX when presenting legal information to non-experts.
  • Techniques for integrating LLMs into web applications for real-world tasks.
  • Strategies for robust error handling and user feedback in AI-powered apps.

What's next for ToS Review

  • Expanding support for more languages and use cases like contract analysis.
  • Launching browser extensions on chrome and firefox for instant TOS analysis on any site.
  • Create Structured Extraction of information from TOS which will help users get information at a glance

Built With

  • bolt
  • gemini
  • netlify
  • svelte
  • tailwind
Share this project:

Updates