{"id":13902950,"url":"https://github.com/svandragt/fafi","last_synced_at":"2026-01-14T07:39:44.958Z","repository":{"id":38961094,"uuid":"245807043","full_name":"svandragt/fafi","owner":"svandragt","description":"Web content indexing and search tool","archived":false,"fork":false,"pushed_at":"2025-10-17T14:08:51.000Z","size":6419,"stargazers_count":13,"open_issues_count":18,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-20T11:33:20.367Z","etag":null,"topics":["bookmarks","cli","favourites","firefox","indexer","python","search-engine","tui","webui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svandragt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-08T12:05:45.000Z","updated_at":"2025-11-11T15:18:46.000Z","dependencies_parsed_at":"2023-10-03T04:54:28.069Z","dependency_job_id":"9b66999f-59bc-4959-9d3e-3c5dd93e7784","html_url":"https://github.com/svandragt/fafi","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/svandragt/fafi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svandragt%2Ffafi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svandragt%2Ffafi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svandragt%2Ffafi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svandragt%2Ffafi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svandragt","download_url":"https://codeload.github.com/svandragt/fafi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svandragt%2Ffafi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bookmarks","cli","favourites","firefox","indexer","python","search-engine","tui","webui"],"created_at":"2024-08-06T22:01:31.086Z","updated_at":"2026-01-14T07:39:44.941Z","avatar_url":"https://github.com/svandragt.png","language":"Go","funding_links":[],"categories":["cli"],"sub_categories":[],"readme":"# fafi\nWeb content indexing and search tool.\n\n1. Easily index your browser bookmarks: importing list of files, a live Firefox profile, and individual URLs\n2. Store the readability content of each bookmark\n3. Full text search matching the title and contents of the collection.\n\nIn the latest incarnation:\n\n* 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.\n* On launch it will index any missing bookmarks (in a background process)\n\nThis is how it looks:\n\n![image](https://github.com/svandragt/fafi/assets/594871/c7f9a06c-fa2a-430b-a9be-2bc66b0615d3)\n\n\n## Environment variables\n\nIf the working directory contains a `.env` file, then the following configuration can be declared:\n\n```env\n# Defaults are below:\n\n# Port number for the webserver.\nFAFI_PORT=8080\n# Set to non-empty value to skip populating the database with sample records.\nFAFI_SKIP_RECORDS=0\n# Set to 0 to disable indexing on startup\nFAFI_ENABLE_INDEXING=1\n# Default database path:\nFAFI_DB_FILEPATH=/home/user/fafi.sqlite3\n\n# Enable importing bookmarks from Firefox profile db:\nFAFI_FIREFOX=/home/san.../32kuswpy.default-release/places.sqlite\n\n```\n\n## Command-line arguments\n\nEach 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.\n\n\n## Build and run\n\n```shell\n# build with full-text search\n$ go build --tags fts5 -o tmp/fafi2 fafi2 \n# run, eg indexing your Firefox places database\n$ tmp/fafi2 --firefox=/path/to/firefox/profile/places.sqlite\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvandragt%2Ffafi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvandragt%2Ffafi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvandragt%2Ffafi/lists"}