Skip to content
Favourites Firefox indexing and search tool
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fafi
tests
.gitignore
README.rst
poetry.lock
pyproject.toml

README.rst

Fafi

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.
  • 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

# Make faff executable
chmod +x fafi.py

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

# Index bookmarks
./fafi.py index

# Search for linux
./fafi.py search 'linux'
search query
You can’t perform that action at this time.