All your histories in one place.

+end_quote

1History is a command line tool to backup your histories of different browsers into one place.

** Cargo

+begin_src bash

cargo install onehistory

+end_src

onehistory 0.1.0

USAGE: onehistory [OPTIONS]

OPTIONS: -d, --db-file Database path [env: OHDBFILE=] [default: ~/onehistory.db] -h, --help Print help information -v, --verbose -V, --version Print version information

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

+end_src

** Backup

+begin_src bash

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

+end_src

=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 |

1History is distributed under [[https://www.gnu.org/licenses/gpl-3.0.txt][GPL]] license.