Practice the Awkward Bit: rehearse conversations with local Gemma
A submission for the Hacktoberfest Weekend Challenge: Build for a Friend . What I Built I’m an introvert, and sometimes the hardest part of a conversation is getting the first sentence out. Practice the Awkward Bit gives you a quiet place to rehearse: decline an invitation, ask for something back, or join a conversation. Set the scene, choose how cooperative the other person is, and try a few…
Rahul created a web application called "Practice the Awkward Bit" as part of the Hacktoberfest Weekend Challenge. The app is aimed at introverts who struggle with starting conversations. Users can practice declining invitations, making requests, or joining conversations by choosing a scenario and Gemma, an AI-powered conversational partner, plays the other person.
The app provides feedback on the user's replies, suggesting improvements and presenting alternative ways to express themselves. Users can save their conversations using localStorage or export them as text. The app is built with React, TypeScript, and Tailwind CSS, and runs the Gemma 2 2B model locally through WebLLM in a WebGPU worker.
The app is hosted on a site with separate downloads for the site and model assets. The code is available on GitHub under an MIT license. While the app offers benefits such as privacy and the ability to inspect prompts and swap models, it requires a large download and depends on the user's hardware. The app also acknowledges the limitations of being not fully offline and Gemma's terms still apply.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.