Your power level is hidden. Claim to reveal.

Add your token data, projects, and blog posts.5 hackers already claimed.

Claim via GitHub
Request removalThis profile was created from public information.
Peter Bengtsson

peterbe

Full-stack developer working Capital Rx. Formerly GitHub, Mozilla, MDN.

0Tokens
—Commits
0Props
—Code Out
0Essays
186Projects

About me

Loves Python, Postgres, Node, Search.

Tech Stack

// null

Proficiency Levels

// no data yet. connect GitHub to populate.

README

# @peterbe

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](https://www.peterbe.com).

Latest silly side project: [Spot the Difference](https://spot-the-difference.peterbe.com)

## Recent personal blog posts

<!-- blog posts -->
[**pytest "import file mismatch"**](https://www.peterbe.com/plog/pytest-import-file-mismatch)<br>
April 1, 2026 &middot; [Python](https://www.peterbe.com/oc-Python) 0 comments

[**Copy the current line in VS Code**](https://www.peterbe.com/plog/copy-the-current-line-in-vs-code)<br>
March 12, 2026 &middot; [macOS](https://www.peterbe.com/oc-macOS) 0 comments

[**logger.error or logger.exception in Python**](https://www.peterbe.com/plog/logger.error-or-logger.exception)<br>
March 6, 2026 &middot; [Python](https://www.peterbe.com/oc-Python) 0 comments

[**How to find which git SHA it was when you merged in the default branch**](https://www.peterbe.com/plog/how-to-find-which-git-sha-it-was-when-you-merged-in-the-default-branch)<br>
February 26, 2026 &middot; [Linux](https://www.peterbe.com/oc-Linux), [Git](https://www.peterbe.com/oc-Git) 1 comment

[**gg2 branches got 50% faster by a Promise.all**](https://www.peterbe.com/plog/gg2-branches-got-50percent-faster-by-a-promise.all)<br>
February 16, 2026 &middot; [TypeScript](https://www.peterbe.com/oc-TypeScript), [Bun](https://www.peterbe.com/oc-Bun), [JavaScript](https://www.peterbe.com/oc-JavaScript) 3 comments

[**xbar-my-prs Info about your GitHub PRs in the macOS menu bar**](https://www.peterbe.com/plog/xbar-my-prs)<br>
January 29, 2026 &middot; [TypeScript](https://www.peterbe.com/oc-TypeScript), [macOS](https://www.peterbe.com/oc-macOS), [Bun](https://www.peterbe.com/oc-Bun) 0 comments

[**Optimizing Bun compiled binary for gg2**](https://www.peterbe.com/plog/optimizing-bun-compiled-binary-for-gg2)<br>
January 13, 2026 &middot; [TypeScript](https://www.peterbe.com/oc-TypeScript), [Bun](https://www.peterbe.com/oc-Bun) 0 comments

[**gg2 has a web page now**](https://www.peterbe.com/plog/gg2-has-a-web-page-now)<br>
January 5, 2026 &middot; [TypeScript](https://www.peterbe.com/oc-TypeScript), [JavaScript](https://www.peterbe.com/oc-JavaScript) 0 comments

[**You don't need a context or state manager for TanStack Query in scattered React components**](https://www.peterbe.com/plog/one-tanstack-query-in-scattered-components)<br>
January 2, 2026 &middot; [React](https://www.peterbe.com/oc-React), [TypeScript](https://www.peterbe.com/oc-TypeScript), [JavaScript](https://www.peterbe.com/oc-JavaScript) 0 comments

[**Autocomplete using PostgreSQL instead of Elasticsearch**](https://www.peterbe.com/plog/autocomplete-using-postgresql-instead-of-elasticsearch)<br>
December 18, 2025 &middot; [Elasticsearch](https://www.peterbe.com/oc-Elasticsearch), [Python](https://www.peterbe.com/oc-Python), [PostgreSQL](https://www.peterbe.com/oc-PostgreSQL) 0 comments
<!-- /blog posts -->

Command Palette

Search hackers, navigate pages