All your history in one place.
1History is a command line tool to backup your histories of different browsers into one place.
Well-designed schemas to avoid history duplication when backup multiple times
Screenshots * Daily Page View [[file:screenshots/daily_pv.png]] * Top 10 Title [[file:screenshots/top10title.png]] ** Top 10 Domain [[file:screenshots/top10domain.png]]
Installation ** Homebrew
brew install 1History/onehistory/onehistory
* Binaries The [[https://github.com/1History/1History/releases][release page]] includes precompiled binaries for Linux, macOS and Windows. * Cargo
cargo install onehistory
onehistory 0.1.0
USAGE:
onehistory [OPTIONS]
OPTIONS:
-d, --db-file
SUBCOMMANDS: backup Backup browser history to 1History export help Print this message or the help of the given subcommand(s) serve Start HTTP server to visualize history show Show default history files on your computer
** Backup
USAGE: onehistory backup [OPTIONS]
OPTIONS: -d, --disable-detect Disable auto detect history files
-D, --dry-run
-f, --history-files <HISTORY_FILES>
SQLite file path of different browsers(History.db/places.sqlite...)
-h, --help
Print help information
=backup= is the main subcommand, it will backup browser history into 1History.
1History will automatically detect history of different browsers by default, users can use =show= subcommand to check what it can find.
Users can also use =-f= option to set other history files to backup, the file has the following naming convention: | Browser | History Filename | |---------+------------------| | Chrome | History | | Firefox | places.sqlite | | Safari | History.db |
=Error code 5: The database file is locked= :: This error happens if your browser is opened during backup, as SQLite allow only one open connection.
Close the browser is one solution, or you can copy history file to other directory other than default location.
LICENSE
Copyright (c) 2022 Jiacai Liu
1History is distributed under [[https://www.gnu.org/licenses/gpl-3.0.txt][GPL-3.0]] license.