{"id":13721791,"url":"https://github.com/robottokauf3/meilisearch-elixir","last_synced_at":"2025-10-21T17:36:52.937Z","repository":{"id":43095794,"uuid":"250683222","full_name":"robottokauf3/meilisearch-elixir","owner":"robottokauf3","description":"Elixir client for MeiliSearch","archived":true,"fork":false,"pushed_at":"2025-02-04T20:51:45.000Z","size":84,"stargazers_count":50,"open_issues_count":4,"forks_count":25,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T22:44:15.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robottokauf3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-28T00:47:16.000Z","updated_at":"2025-02-04T20:52:25.000Z","dependencies_parsed_at":"2023-12-19T18:42:16.779Z","dependency_job_id":"234cddf0-5d97-4872-957d-b016ca3b9681","html_url":"https://github.com/robottokauf3/meilisearch-elixir","commit_stats":{"total_commits":54,"total_committers":5,"mean_commits":10.8,"dds":"0.42592592592592593","last_synced_commit":"ee42137a99401af4a3328bedb1902f1ec1a71e02"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robottokauf3%2Fmeilisearch-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robottokauf3%2Fmeilisearch-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robottokauf3%2Fmeilisearch-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robottokauf3%2Fmeilisearch-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robottokauf3","download_url":"https://codeload.github.com/robottokauf3/meilisearch-elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252895485,"owners_count":21821167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-03T01:01:21.418Z","updated_at":"2025-10-21T17:36:52.559Z","avatar_url":"https://github.com/robottokauf3.png","language":"Elixir","funding_links":[],"categories":["Integrations"],"sub_categories":["Community Integrations"],"readme":"# MeiliSearch Elixir\n\n**This project is archived.  Check out [Meilisearch Ex](https://github.com/nutshell-lab/meilisearch-ex) for a current Meilisearch client.**\n\n---\n\nA lightweight [Meilisearch](https://docs.meilisearch.com/) client for Elixir.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `meilisearch` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:meilisearch, \"~\u003e 1.0.0\"}\n  ]\nend\n```\n\n## Usage\n\n```elixir\n# Create Index\nMeilisearch.Indexes.create(\"index_name\")\n\n# Create Index and set primary key\nMeilisearch.Indexes.create(\"index_name\", primary_key: \"key_name\")\n\n# Insert documents\ndocuments = [\n  %{\n    \"id\" =\u003e 1,\n    \"tagline\" =\u003e \"In space no one can hear you scream\",\n    \"title\" =\u003e \"Alien\"\n  },\n  %{\n    \"id\" =\u003e 2,\n    \"tagline\" =\u003e \"You'll never go in the water again\",\n    \"title\" =\u003e \"Jaws\"\n  },\n  %{\n    \"id\" =\u003e 3,\n    \"tagline\" =\u003e \"Be Afraid. Be very afraid.\",\n    \"title\" =\u003e \"The Fly\"\n  }\n]\nMeilisearch.Documents.add_or_replace(\"index_name\", documents)\n\n# Search\nMeilisearch.Search.search(\"water\")\n```\n\n### Available Modules\n\nThis API should enable you to call all API calls that are defined in the [API reference](https://docs.meilisearch.com/reference/api/overview.html).\n\n## Config\n\nClient settings can be configured in your application config or with environment variables.\n\n*Note: environment variables will override values in the application config.*\n\n### Application Config\n\n```elixir\nconfig :meilisearch,\n  endpoint: \"http://127.0.0.1:7700\",\n  api_key: \"test_api_key\"\n```\n\n### Environment Variables\n\n```shell\nMEILISEARCH_ENDPOINT=http://localhost:7700 mix test\nMEILISEARCH_API_KEY=test_api_key_very_secure mix test\n```\n\n## Compatibility\n\nThe 1.0.X versions of this client have been tested against the following versions of Meilisearch:\n  - v1.0.0\n  - v1.0.1\n\nIn general: The minor versions of this client should be compatible to the same minor version of Meilisearch.\n\n## Development\n\nYou will need  Meilisearch running locally for development and testing. You can do this via Docker:\n\n```\n$ docker run -it --rm -p 7700:7700 -e MEILI_MASTER_KEY=test_api_key_very_secure getmeili/meilisearch:latest /bin/sh -c /bin/meilisearch\n```\n\nOr using the provided devcontainer configuration.\n\nAnd then just run your tests, as you usual would: \n\n```\n$ mix test\n```\n\n## License\n\nmeilisearch-elixir is released under the MIT license. Please refer to [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobottokauf3%2Fmeilisearch-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobottokauf3%2Fmeilisearch-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobottokauf3%2Fmeilisearch-elixir/lists"}