1.3 KiB
1.3 KiB
Bitwarden Markdown Generator
This Python script converts a Bitwarden JSON export file into a formatted Markdown file. It organizes password entries by folder and includes details such as creation date, modification date, username, password, and notes.
Features
- Converts Bitwarden JSON export to Markdown format.
- Organizes entries by folder.
- Includes detailed information for each entry.
- Easy to use and customize.
Requirements
- Python 3.x
- uv dependency manager
Installation
-
Clone the repository:
git clone https://github.com/gurix/bitwarden-md-generator.git cd bitwarden-md-generator -
Install the required dependencies using
uv:uv sync
Usage
-
Export your Bitwarden vault as a JSON file.
-
Update the
json_file_pathandoutput_md_pathvariables in themainfunction of the script to point to your Bitwarden JSON file and the desired output Markdown file location. -
Run the script:
uv run app.py -
Check the specified output directory for the generated Markdown file.
Customization
- You can modify the
format_datefunction to change the date format in the output. - Adjust the Markdown template in the
generatemethod to include or exclude specific details.