Skip to main content

CLI for indexing Firefox bookmarks.

Project description

Search Firefox bookmark contents, with this commandline client. Fafi extracts the content of the bookmarks and stores them into a searchable SQLite database.

Things it does:

  • Detects your places database from the Firefox profile folder. (support for picking a profile from multiple profiles)

  • Extract main text content from all bookmarks into <user_data_dir>/fafi/data.sqlite.

  • Skips .local and .test domains.

  • Skips pages that are already indexed.

  • Search results are ranked by relevance and displayed with snippets.

URLs are stored together with the main page context as determined by Newspaper.

Users

pipx install fafi
fafi --help
fafi index
fafi search 'linux'

Developers

# Install project requirements.
poetry install

# Log in to a python shell
poetry shell

# Help on commands
./fafi.py --help

# Index bookmarks
./fafi.py index

# Search for linux
./fafi.py search 'linux'
search query

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fafi-0.2.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

fafi-0.2.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page