Categorygithub.com/aditya-K2/brow
repositorypackage
0.0.0-20230109214108-4ac6663030a5
Repository: https://github.com/aditya-k2/brow.git
Documentation: pkg.go.dev

# README

brow

Get Browser History in terminal.

Building

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/"

Usage

  -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

Examples

dmenu

https://user-images.githubusercontent.com/51816057/195517488-6db734ca-7943-47c6-aac5-f0315c7f765f.mp4

fzf

https://user-images.githubusercontent.com/51816057/195517545-33186539-c55a-4134-8d95-71ab0497b9af.mp4

Note

When the browser is opened the database is locked. Use -c flag to search the copy of the database.