mirror of
https://github.com/qwjyh/browser-history-merger.git
synced 2024-11-22 07:00:14 +09:00
38 lines
865 B
Markdown
38 lines
865 B
Markdown
# browser-history-merger
|
|
|
|
Merge browser histories into a single database.
|
|
|
|
## Usage
|
|
### Initialization
|
|
For the first execution on each device and browser, do
|
|
```sh
|
|
browser-history-merger path/to/merged.db init browser-id /abs/path/to/browser/history/database
|
|
```
|
|
`browser-id` should be unique to identify browser and machine.
|
|
|
|
### Add histories
|
|
Then add histories to the database by
|
|
```sh
|
|
browser-history-merger path/to/merged.db add browser-id
|
|
```
|
|
|
|
## Supported environments
|
|
Python 3.12 (works with standard libraries only)
|
|
|
|
- Chromium
|
|
- Tested:
|
|
- chrome on windows, linux
|
|
- brave on windows, linux
|
|
- vivaldi on linux
|
|
- Firefox
|
|
- Tested:
|
|
- firefox on windows
|
|
|
|
## Tips
|
|
The program is a single file `./src/browser_history_merger/__init__.py` and can be used as a script.
|
|
|
|
## Todo
|
|
- exporting
|
|
- JSON output
|
|
- browser list
|
|
- multiple profiles?
|