Web content indexing and search tool
- Aim of the rewrite in GO is to have a single binary that starts a webserver which can be started via systemd and queried via firefox.
- On launch it will index any missing bookmarks (in a background process)
# 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=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.