{"id":27595681,"url":"https://github.com/quexpl/pagefind","last_synced_at":"2026-02-11T22:43:30.856Z","repository":{"id":278155538,"uuid":"934705499","full_name":"quexpl/pagefind","owner":"quexpl","description":"Mix task for installing and invoking pagefind","archived":false,"fork":false,"pushed_at":"2025-02-20T23:22:38.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T09:42:58.756Z","etag":null,"topics":["elixir","pagefind","searching","static-website"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/pagefind","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quexpl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2025-02-18T09:21:18.000Z","updated_at":"2025-03-27T10:47:35.000Z","dependencies_parsed_at":"2025-02-18T10:07:24.427Z","dependency_job_id":"7077423b-b711-4c4a-97e4-eefdfa5c471c","html_url":"https://github.com/quexpl/pagefind","commit_stats":null,"previous_names":["quexpl/pagefind"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/quexpl/pagefind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quexpl%2Fpagefind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quexpl%2Fpagefind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quexpl%2Fpagefind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quexpl%2Fpagefind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quexpl","download_url":"https://codeload.github.com/quexpl/pagefind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quexpl%2Fpagefind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29349176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"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":["elixir","pagefind","searching","static-website"],"created_at":"2025-04-22T12:16:46.837Z","updated_at":"2026-02-11T22:43:30.842Z","avatar_url":"https://github.com/quexpl.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pagefind\n\n[![Actions Status](https://github.com/quexpl/pagefind/workflows/CI/badge.svg)](https://github.com/quexpl/pagefind/actions?query=workflow%3ACI)\n[![Hex pm](https://img.shields.io/hexpm/v/pagefind.svg?style=flat)](https://hex.pm/packages/pagefind)\n[![Hexdocs badge](https://img.shields.io/badge/docs-hexdocs-purple)](https://hexdocs.pm/pagefind)\n\nMix task for installing and invoking [pagefind](https://www.pagefind.app).\nHeavily inspired by tailwind and esbuild.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `pagefind` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:pagefind, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nOnce installed, change your `config/config.exs` and pick a version for the pagefind CLI of your choice:\n\n```elixir\nconfig :pagefind, version: \"1.3.0\"\n```\n\nNow you can install pagefind by running:\n\n```\n$ mix pagefind.install\n```\n\nAnd invoke pagefind with:\n```\n$ mix pagefind --site dist --output-subdir search --exclude-selectors \"#my_navigation, blockquote \u003e span, [id^='prefix-']\"\n```\nThe executable is kept at `_build/pagefind-TARGET`. Where `TARGET` is your system target architecture.\n\n## Adding to Tableau\n\nTo add `pagefind` to an application using Tableau, you need only two steps:\n\nFirst add a new extension which will trigger Pagefind in `lib/extensions/pagefind_extension.ex`:\n\n```elixir\ndefmodule MyAapp.PagefindExtension do\n  use Tableau.Extension, enabled: true, type: :post_write, key: :search, priority: 500\n\n  def run(token) do\n    Pagefind.install_and_run([]);\n    {:ok, token}\n  end\nend\n```\n\nNow let's change `config/config.exs` to configure `pagefind`:\n\n```elixir\nconfig :pagefind, version: \"1.3.0\", args: [\"--site\", \"_site\"]\n```\n\nThat's all.\n\n## License\n\nCopyright (c) 2025 Piotr Baj.\n\npagefind source code is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquexpl%2Fpagefind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquexpl%2Fpagefind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquexpl%2Fpagefind/lists"}