Web content indexing and search tool.
On the latest incarnation:
This is how it looks:
If the working directory contains a .env
file, then the following configuration can be declared:
# Defaults are below:
# Port number for the webserver.
FAFI_PORT=8080
# Set to non-empty value to skip populating the database with sample records.
FAFI_SKIP_RECORDS=0
# Set to 0 to disable indexing on startup
FAFI_ENABLE_INDEXING=1
# Default database path:
FAFI_DB_FILEPATH=/home/user/fafi.sqlite3
# Enable importing bookmarks from Firefox profile db:
FAFI_FIREFOX=/home/san.../32kuswpy.default-release/places.sqlite
Each of the environment variables are available as a longform command-line argument by discarding FAFI_
and lower-casing the result, replacing underscores with dashes. For example FAFI_ENABLE_INDEXING=0
and --enable-indexing=0
are equivalent.
# build with full-text search
$ go build --tags fts5 -o tmp/fafi2 fafi2
# run, eg indexing your Firefox places database
$ tmp/fafi2 --firefox=/path/to/firefox/profile/places.sqlite