Skip to content

Instantly share code, notes, and snippets.

View leptoquark1's full-sized avatar

David leptoquark1

View GitHub Profile
@leptoquark1
leptoquark1 / bitwarden_find_duplicates.py
Last active March 28, 2026 03:26 — forked from gummipunkt/bitwarden_find_duplicates.py
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: