update documents

This commit is contained in:
qwjyh 2024-06-09 17:13:57 +09:00
parent 5970e4594a
commit 1c7e8c892c
2 changed files with 38 additions and 4 deletions

22
CHANGELOG.md Normal file
View file

@ -0,0 +1,22 @@
# Changelog
## [Unreleased]
### Added
- Firefox support
### Changed
- explicit close of databases
- Updated readme
- Add changelog
## [0.1.0] - 2024-06-07
### Added
- initial release
- `init` subcommand
- `add` subcommand
- Chromium support
[unreleased]: https://github.com/qwjyh/browser-history-merger/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/qwjyh/browser-history-merger/releases/tag/v0.1.0

View file

@ -2,20 +2,32 @@
Merge browser histories into a single database.
# Usage
## Initialization
## Usage
### Initialization
For the first execution on each device and browser, do
```sh
browser-history-merger path/to/merged.db init browser-id path/to/browser/history/database
```
`browser-id` should be unique to identify browser and machine.
## Add histories
### Add histories
Then add histories to the database by
```sh
browser-history-merger path/to/merged.db add browser-id
```
# Tips
## 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.