peterbe - Overview

Hi! I'm Peter. I'm a web developer. I'm originally from Sweden, but now I live in South Carolina, USA.

I work at GitHub, trying to make it an even better experience.

My personal blog is: www.peterbe.com.

Latest silly side project: Spot the Difference

Recent personal blog posts

Copy the current line in VS Code
March 12, 2026 · macOS 0 comments

logger.error or logger.exception in Python
March 6, 2026 · Python 0 comments

How to find which git SHA it was when you merged in the default branch
February 26, 2026 · Linux, Git 1 comment

gg2 branches got 50% faster by a Promise.all
February 16, 2026 · TypeScript, Bun, JavaScript 3 comments

xbar-my-prs Info about your GitHub PRs in the macOS menu bar
January 29, 2026 · TypeScript, macOS, Bun 0 comments

Optimizing Bun compiled binary for gg2
January 13, 2026 · TypeScript, Bun 0 comments

gg2 has a web page now
January 5, 2026 · TypeScript, JavaScript 0 comments

You don't need a context or state manager for TanStack Query in scattered React components
January 2, 2026 · React, TypeScript, JavaScript 0 comments

Autocomplete using PostgreSQL instead of Elasticsearch
December 18, 2025 · Elasticsearch, Python, PostgreSQL 0 comments

Comparison of speed between gpt-5, gpt-5-mini, and gpt-5-nano
December 15, 2025 · Python 1 comment