{"id":13679718,"url":"https://github.com/marconi1992/algolite","last_synced_at":"2025-08-02T15:41:19.720Z","repository":{"id":34152664,"uuid":"168904914","full_name":"marconi1992/algolite","owner":"marconi1992","description":" An Implementation of Algolia to emulate its REST API ","archived":false,"fork":false,"pushed_at":"2024-06-04T10:11:07.000Z","size":462,"stargazers_count":52,"open_issues_count":15,"forks_count":15,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T19:49:55.115Z","etag":null,"topics":["algolia","local-development"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/algolite","language":"JavaScript","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/marconi1992.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":"2019-02-03T03:22:20.000Z","updated_at":"2024-04-30T21:11:16.000Z","dependencies_parsed_at":"2024-01-14T14:49:44.094Z","dependency_job_id":"fb802302-23da-425e-8c53-25357ae1a864","html_url":"https://github.com/marconi1992/algolite","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.10526315789473684","last_synced_commit":"45007dd45429d131998a37ae62d04b425953638d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marconi1992/algolite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Falgolite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Falgolite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Falgolite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Falgolite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marconi1992","download_url":"https://codeload.github.com/marconi1992/algolite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marconi1992%2Falgolite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268412771,"owners_count":24246534,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["algolia","local-development"],"created_at":"2024-08-02T13:01:08.689Z","updated_at":"2025-08-02T15:41:19.687Z","avatar_url":"https://github.com/marconi1992.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Algolite\nAn Implementation of [Algolia](https://www.algolia.com/) to emulate its REST API on your local machine or CI environments in order to speed up your development and testing cycles.\n\n## Installation\n\n```\nnpm run -g algolite\n```\n\n## Example\n\n```\n$ algolite --help\n\nUsage: algolite [--port \u003cport\u003e] [--path \u003cpath\u003e]\n\nAn Algolia REST API Implementation\n\nOptions:\n--help                Display this help message and exit\n--port \u003cport\u003e         The port to listen on (default: 9200)\n--path \u003cpath\u003e         The path to use for the LevelDB store (Your project folder)\n```\n\nOnce running any algolia client can be used.\n\n```javascript\n\nconst client = algoliasearch('app-id', 'api-key', {\n  protocol: 'http:',\n  hosts: {\n    read: ['localhost:9200'],\n    write: ['localhost:9200']\n  }\n})\n\nconst index = client.initIndex('entries');\n\nawait index.addObject({ \n  title: 'Algolia 2019',\n  contentType: 'events' \n})\n\nconst result = await index.search('Algolia')\n```\n\n## Docker Image\n\n```\ndocker run --rm -p 9200:9200 --name algolite marconi1992/algolite:0.1.1\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarconi1992%2Falgolite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarconi1992%2Falgolite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarconi1992%2Falgolite/lists"}