nextcloud_passwords_to_bitw.../README.md

46 lines
1.1 KiB
Markdown
Raw Normal View History

2024-02-29 14:16:46 +01:00
# Nextcloud Passwords to Bitwarden/Vaultwarden
2024-02-29 12:49:03 +01:00
2024-02-29 14:16:46 +01:00
This project allows you to convert [Nextcloud Passwords](https://apps.nextcloud.com/apps/passwords) CSV to a [Bitwarden/Vaultwarden](https://github.com/dani-garcia/vaultwarden) JSON file.
2024-02-29 12:49:03 +01:00
## Installation
2024-02-29 14:17:34 +01:00
```sh
2024-02-29 12:49:03 +01:00
git clone https://gitnet.fr/deblan/nextcloud_passwords_to_bitwarden
composer install
```
## How to
### On Nextcloud
2024-02-29 16:29:37 +01:00
- Go to "Personal settings"
- Set "English (US)" as language
- Go to "Passwords"
- Click on "More"
- Click on "Backup and restore"
- Choose "Backup or export"
- Choose "Predefined CSV"
- Check "Export Passwords" and "Export Folders"
- Click on "Export" and download the archive
- Unzip the downloaded file
2024-02-29 12:49:03 +01:00
### On the project
2024-02-29 14:17:34 +01:00
```sh
2024-02-29 12:49:03 +01:00
php index.php /path/to/Folders.csv /path/to/Passwords.csv > bitwarden_passwords.json
```
### On Bitwarden/Vaultwarden
2024-02-29 16:29:37 +01:00
- Go to tools
- Go to "Import data"
- Choose "Bitwarden (json)" as file format
- Choose the file "bitwarden_passwords.json"
- Click on "Import data"
2024-02-29 12:49:03 +01:00
### Clean up datas
2024-02-29 16:29:37 +01:00
- Remove the downloaded archive
- Remove extracted files
- Remove bitwarden_passwords.json