https://github.com/arp242/ff-hist
Search Firefox history from commandline
https://github.com/arp242/ff-hist
firefox
Last synced: about 1 year ago
JSON representation
Search Firefox history from commandline
- Host: GitHub
- URL: https://github.com/arp242/ff-hist
- Owner: arp242
- Created: 2020-04-25T06:26:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-25T07:08:27.000Z (about 6 years ago)
- Last Synced: 2025-03-25T14:44:39.912Z (about 1 year ago)
- Topics: firefox
- Language: Shell
- Size: 3.91 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Usage:
$ ff-hist term
This will search for the term in the URL and title as `like %term%`.
To limit to just the URL or title, prefix with `url:` or `title:`
$ ff-hist title:term
You can add multiple, which are AND'd together:
$ ff-hist term title:other
To OR together, add "or:"
$ ff-hist title:term url:or:reddit.com or:asd
The output is aligned in columns to fit the window; add `-full` to always
dispaly everything.
Use `-show` to echo the SQL query before running, or `-showonly` to just show
the URL and exit.
You can get the full URL by giving the ID (first column in output):
$ ff-hist 42
$ ff-hist 42,666
$ ff-hist 42 666 # Identical
All the parameter can also be passed from stdin if the first argument is `-`;
parameters are separated by newlines.
You can pipe this to `fzf` or `dmenu` or whatever if you wish:
$ ff-hist hello | dmenu | cut -d' ' -f1 | ff-hist - | xclip -rmlastnl -selection clipboard