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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fafi-0.2.4-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file fafi-0.2.4.tar.gz.

File metadata

  • Download URL: fafi-0.2.4.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/6.2.0-34-generic

File hashes

Hashes for fafi-0.2.4.tar.gz
Algorithm Hash digest
SHA256 4a8d37ec233e2d9f0db45264a0bde7370e12424109a7b62a89dc2901718d5054
MD5 78081826306df77f04ede22e1448c71f
BLAKE2b-256 8ef9e1a5991f4a6c73c9b6861589257ea0e671bc94709ded857b0707db6e814c

See more details on using hashes here.

File details

Details for the file fafi-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: fafi-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/6.2.0-34-generic

File hashes

Hashes for fafi-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f3a2f204cdcc054d357f456e474dcf413c24013728e3de9f1509375cce8fd4f2
MD5 32cdc3365a60d73f8f44c567862c74d3
BLAKE2b-256 693f1b854ecfa74318cee9c36c3139fba3941a20f36ad51eac46b3f09d8b1583

See more details on using hashes here.

Supported by

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