Skip to content

~ $ cat work/gitscribe.md

GitScribe

AI commit-message suggestions, built in 24 hours.

Hackathon · March 2026Hack the Break 2026 team project. I built the sign-in, navigation, and profile screens; teammates built the FastAPI backend and the OpenAI generation pipeline.

OUTCOME
Top 6 of 36 teams at Hack the Break 2026
SCOPE
UI/UX lead and front-end developer
DECISION
Use managed OAuth (a ready-made “sign in with GitHub” service) in a 24-hour sprint and remove an unnecessary provider-selection step.
EVIDENCE
Working live demo; the team placed in the top 6 of 36.

Built with

  • React
  • TypeScript
  • Auth0
  • GitHub OAuth
  • Figma

What it is

GitScribe suggests commit messages. A commit message is the short note a programmer writes when saving a change to their code, like “Fix the login bug”. Good ones help everyone understand what changed, but they are easy to rush.

You can use GitScribe on a website, or as a command in the terminal. It was built in 24 hours at Hack the Break 2026, where our team placed in the top 6 of 36. I built the website’s sign-in, navigation bar, and profile screens.

What it can do

  • Compare two versions

    Upload the old version of a file and the new one. GitScribe looks at what changed.

  • Suggested messages

    You choose how many suggestions you want, and each one comes with a copy button.

  • Sign in with GitHub

    One click takes you straight to GitHub to sign in, so there is no new account to create.

  • A terminal version

    Typing gs generate in a project folder does the same job without opening the website.

How a request flows

  1. React + Chakra UITypeScript front end
  2. Auth0GitHub connection
  3. FastAPIUpload and compare endpoint
  4. OpenAI + RedisGeneration, cached messages

How it works

  1. 01

    You sign in with your GitHub account.

  2. 02

    You upload the old version of your file, then the new version.

  3. 03

    You choose how many message suggestions you want.

  4. 04

    The site sends both versions to the team’s server, which asks an AI model to describe the change in a short message.

  5. 05

    The suggestions appear on screen, and you copy the one you like.

Screenshots

Sign-in screen I built

Why

Writing a clear commit message is a small task people rush. GitScribe takes the before and after of a change and suggests one.

What I built

  1. 01

    Built the sign-in card, navigation bar, and profile layout from the team’s Figma designs.

  2. 02

    Passed Auth0’s connection option so “Continue with GitHub” goes straight to GitHub instead of stopping at Auth0’s choose-a-provider screen, one fewer screen between a visitor and the app.

  3. 03

    Kept the front end merging cleanly in a shared repo with several teammates pushing during a 24-hour sprint.

The code

src/components/LoginpageCard.tsx
const LoginPageCard = () => {
  const { loginWithRedirect } = useAuth0();

  return (
    <div style={cardStyle}>
      <h1>GitScribe</h1>
      <p>Please sign in with your GitHub account to continue.</p>
      <button
        onClick={() =>
          loginWithRedirect({ authorizationParams: { connection: "github" } })
        }
      >
        Continue with GitHub
      </button>
    </div>
  );
};
Because the button names GitHub directly, people skip an extra “choose how to sign in” screen and go straight to GitHub.

Outcome

A working demo, live today, that signs you in with GitHub and turns two file versions into a suggested commit message. The team placed in the top 6 of 36.

The trade-off

We used Auth0’s GitHub connection instead of writing our own OAuth flow. Auth0 handled tokens, refresh, and session storage, which we could not have built safely in 24 hours. The cost is a third-party dependency and less control over the redirect and the look of the sign-in step.

What I learned

In a 24-hour build, the useful contribution is often removing friction at the edges, like the first screen someone sees, so the core feature gets used.

What I'd fix next

Replace the hotlinked GitHub logo with a local SVG, move the inline styles into the component stylesheet, and add a loading state while the suggestion is generated.