https://github.com/idoqo/foxtop
WIP: Your Firefox history - on the terminal
https://github.com/idoqo/foxtop
Last synced: 3 months ago
JSON representation
WIP: Your Firefox history - on the terminal
- Host: GitHub
- URL: https://github.com/idoqo/foxtop
- Owner: idoqo
- Created: 2020-11-22T15:18:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T21:44:14.000Z (over 4 years ago)
- Last Synced: 2025-01-09T15:45:40.101Z (5 months ago)
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## foxtop
Foxtop is a (WIP) command-line tool to visualize Firefox (on Linux) history in the
terminal.## How it works
By default, foxtop scans your Firefox directory (`~/home/.mozilla/firefox`) and
reads the `profile.ini` to figure out your default profile. It then reads the
data from the `places.sqlite` which includes data regarding your Firefox history
such as visit count per URLs, frecency (how the URLs get ranked in the URL bar),
etc.Foxtop also opens the database file in read-only mode, ensuring that it doesn't
affect your browsing session.## Installation
For now, simply clone the repository and build the `main.go` file in the `cmd`
directory. Or just issue `go run ./cmd/main.go`. Whatever works for you.## Usage
Foxtop tries to figure your profile directory by reading
`~/home/.mozilla/firefox/profiles.ini` by default. If it fails to get the
profile right, or you want to visualize the history for a different profile, you
can pass the full path to the profile with the `-p` flag and foxtop will use
that instead. E.g:
```
$ go run ./cmd/main.go -p ~/.mozilla/firefox/glqkke4.default-nightly`
```
PS: A folder must contain a `places.sqlite` file to be considered a valid
profile path.## License
Omo, [DWTFYWTPL](http://www.wtfpl.net/)