Skip to main content

A commandline tool to search indexed webpages.

Project description

Fafi (short for Favorites Finder) is a commandline client to search indexed webpages. Fafi extracts the content of the webpage and stores them into a full-text search database.

Things it does:

  • Index single urls, text files containing urls, firefox profiles.

  • Incrementally indexing the places database from the Firefox profile folder. (The browser bookmarks) It supports picking a profile from multiple profiles.

  • Extract main text content.

  • Skips .local, localhost and .test domains.

  • Deduplication

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

Content extraction courtesy of Newspaper.

Users

pipx install fafi
fafi --help
fafi index --firefox
fafi index --url=https://mylink
fafi index --list=bookmarks.html
fafi search 'linux'

Developers

# Install project requirements.
poetry install

# Help
poetry run fafi --help
TUI results for search query "linux"

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.4.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

fafi-0.2.4-py3-none-any.whl (7.6 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