Project Info
This project did not submit a demo video on Devpost.
Inspiration
We noticed the lack of AI integration in web browsers and took the opportunity to fill that vacuum with an innovative project. One of the primary ways in which people interact with web browsers, is by writing content. We leveraged the power of AI help people communicate on the web.
What it does
The browser extension leverages three different types of AI to improve communication on the web. The extension has a sophisticated classification model to help users determine whether they are writing in sufficient complexity (or simplicity) for their intended audience. The extension also performs sentiment analysis to help users identify whether (and how much) their speech effectively communicates what they are saying in a respectful and positive manner. Finally, the extension makes use of the power of generative AI to help users better express their perhaps non-agreeable opinions in a friendlier way.
How we built it
We created the frontend of the extension using javascript, html, and css. Our backend and API was built using FastAPI and together.ai's Together API
Challenges we ran into
There are no external frameworks for developing web extension technologies, so it was an inconvenience to have to develop everything using vanilla javascript, html and css.
Accomplishments we're proud of
We are very proud of the fact that we were able to leverage so many different types of AI, effectively, in such a short amount of time.
What we learned
We learned how to build an API using FastAPI and we also learned about the intricacies and practices of developing extensions for web browsers such as Chrome.
What's next
We want to improve our extension by adding new features such as providing a variety of options in which the extension can rephrase text in different tones.
Unbias Chrome Extension
A browser extension to help you better express yourself
unbias is a revolutionary Chrome extension designed to help users with a variety of accessibility issues. Our mission is to ensure clear, concise, and neutral communication in digital interactions. Whether you're concerned about accidentally offending someone due to unintended tone, or want to ensure your message isn't misunderstood, unbias is here to assist you.
unbias was made at CalHacks 10.0 (2023), check out our devpost here
Features
- Reading Level Assessment: Get a grade-level estimate for any highlighted text
- Tone Analysis: Sentences are individually evaluated for tone, with a compound score representing the average of the positive, negative, and neutral tones
- AI-Powered Sentence Recommendations: Click on a sentence in the popup to fetch an AI-recommended replacement, structured to be more neutral and clear
How to Use
- Highlight Text: Highlight a portion of text on any web page.
- Activate unbias: Click on the unbias icon in the top right of your Chrome browser.
- View Insights: View the reading level grade in the popup.
- Analyze Tone: Sentences from the highlighted text are graded based on tone.
- Get Recommendations: Click on any sentence in the popup to receive a recommended replacement.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Analysis
View
Metric
- 26
- 20
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- FastAPIIn code
- HTMLIn code
- JavaScriptIn code
- PythonIn code
5 of 5 appear in the indexed code.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
16 KB
Source files
9
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
isaac-h-chan/unbias
14 files · 20 KB · @ b34eefb
Structure
Interface
2 files · 14%Screens, components and styles rendered to the user.
API & routing
3 files · 21%Request entry points: routes, handlers and controllers.
Application logic
4 files · 29%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- JavaScript42%
- Python34%
- CSS12%
- Markdown9%
- HTML3%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
requirements.txt
pypi · 31- annotated-types
- anyio
- certifi
- charset-normalizer
- click
- exceptiongroup
- fastapi
- h11
- httptools
- idna
- joblib
- nltk
- pydantic
- pydantic_core
- python-dotenv
- PyYAML
- regex
- requests
- +13 more
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.