BugLens
About the project
BugLens turns a vague UI bug report into an actionable one. Developers often get a screenshot and a message like “the content is cut off on my phone,” with no idea what is wrong or where to look.
With BugLens you upload a screenshot, describe the problem in your own words, and optionally paste the related frontend code. Gemma 4 (gemma-4-26b-a4b-it, with gemma-4-31b-it as a fallback, through the Google Gemini API) reasons over the image, the description and the code together, and returns a structured report: a diagnosis with severity and the reason, visual evidence with its location on screen, possible causes labelled as hypotheses, where to investigate, and the uncertainties it cannot resolve from a screenshot alone. When code is provided, it quotes the culprit selectors and suggests before/after fixes. If the code doesn’t explain the bug, it says so instead of inventing a fix.
Built solo during the hackathon with Next.js, TypeScript, Tailwind and Zod. Output is validated against a schema, API errors are retried with a model fallback, and the repo includes recorded real Gemma 4 results (labelled “cached” in the UI, with a “Re-run live” button). Not implemented: before/after screenshot comparison. AI-assisted development is disclosed in the README.
Built with
Prize Categories Entered
- Submitted
Best Use of Gemma 4