Skip to content

Instantly share code, notes, and snippets.

@gummipunkt
gummipunkt / bitwarden_find_duplicates.py
Last active October 2, 2025 06:09
Remove all Bitwarden duplicates from json file
import json
import os
from collections import defaultdict
import sys
def validate_json_structure(data):
"""Validate the basic structure of the Bitwarden JSON export"""
if not isinstance(data, dict):
raise ValueError("Invalid JSON format: Root must be an object")
if 'items' not in data:

Keybase proof

I hereby claim:

  • I am gummipunkt on github.
  • I am gummipunkt (https://keybase.io/gummipunkt) on keybase.
  • I have a public key ASDjet9mWcM0079fUGeXIeDFP9hFplYcbDDic7hzLSq3HQo

To claim this, I am signing this object: