Inspiration

  • Massive invasions of privacy via Terms of Service as well as a lack of awareness about legal rights for non-English speaking immigarants.

What it does

-LegalEase has two parts: The main webpage which contains a directory of easy to understand infographics about rights that minority non English speaking resident may not be aware about. These infographics can directly be translated; currently the main languages that can be translated to are Hatian Creole, and Spanish which are the two major minority languages in the Miami area. The webpage also has a data trained legal assisstant that can be used in these language as well for quick legal support.

-The second part of LegalEase is the chrome extension, On Your Terms. On Your Terms is a powerful chrome extension that finds the terms of service during registration and leverages Google's Gemini to present it to the user in clear concise language while giving it a user-friendliness rating.

How we built it

-For On Your Terms, we created a Flask backend to handle requests for ToS evaluation from the chrome extension. This Flask backend contains a webscraping script which is sends to Gemini for prompting for ToS evaluation. The Flask backend makes use of the Selenium, BeautifulSoup, and Google Generative AI modules.

-For our partner webpage, LegalEase, we used Streamlit to handle making the webpage in Python. Streamlit allowed us to easily host a webpage to present our translate-able infographics as well as our legal assitant We imported the same Generative AI module, and engineered specific prompts that help the user based on language selected and the legal adivce they need.

Challenges we ran into

Making web scraper to find ToS: We troubleshooted the URL endpoints to make sure the correct connections were being made. Getting local hosting to work: We removed specific versions from certain libraries and backtraced to find the correct versions that would allow us to successfully host. Connecting the extension and webpage to the backend: We all contributed to writing the code to connect the extension to the backend through the use of GitHub and communicating non-stop to ensure that the code was working.

Achievments We're Proud Of

As our first hackathon, successfully completing a project together has been an exciting and rewarding journey for all four of us. We embraced new challenges and learned a lot along the way, making the experience incredibly fun. The chance to collaborate, experiment, and build something tangible has left us feeling proud and inspired to tackle even more in the future

What we learned

  • Webscraping, use of AI based APIs, code organization through GIT, JavaScript and UI Design

What's next for LegalEase

  • Remote hosted servers via AWS or Google Cloud Services to run 24/7
  • Ability for user to enter their own API key so as to not overload individual API key used for project.
    • Pagination: Extension will have different pages to store past ToS(s) that have been agreed to by the user for reviewal.
Share this project:

Updates