Get Browser History in terminal.
git clone "https://github.com/aditya-K2/brow" && cd brow && CGO_ENABLED=1 GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" go build -v && sudo install -D brow -t "/usr/bin/"
-a See All Available Options that can be used to query the Subsystem.
-ascending
Get Results in ascending order. Default is Descending Order
-c Copy the Browser Database. Ignored if path is provided. Use this Flag in case Browser is Open as it locks the database.
-f string
Specify the Field Separator which will be used in the Output. (default "|")
-n int
Specify Number of Results to be Displayed (default -1)
-p string
Specify Custom Path for History (default "/home/aditya/.config/BraveSoftware/Brave-Browser/Default/History")
-q value
Query for the current Subsystem (default [*])
-s string
Specify Subsystem. Either history(urls)/downloads (default "urls")
- Tested on Brave (Should Work for Most of the Chromium based Browsers)
- Check the scripts for examples to use it in a script
dmenu.mp4
fzf.mp4
When the browser is opened the database is locked. Use -c flag to search the copy of the database.