{"id":20528249,"url":"https://github.com/manticoresoftware/buddy-plugin-template","last_synced_at":"2026-05-08T08:34:24.477Z","repository":{"id":92258413,"uuid":"604957324","full_name":"manticoresoftware/buddy-plugin-template","owner":"manticoresoftware","description":"Manticore Buddy plugin template","archived":false,"fork":false,"pushed_at":"2023-11-28T16:45:23.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"v1.x","last_synced_at":"2025-03-06T02:15:49.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manticoresoftware.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":"2023-02-22T06:11:35.000Z","updated_at":"2023-03-10T16:02:46.000Z","dependencies_parsed_at":"2024-11-15T23:24:18.791Z","dependency_job_id":"2abd59d3-56ea-4c1b-b250-05f066d2ae50","html_url":"https://github.com/manticoresoftware/buddy-plugin-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/manticoresoftware/buddy-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manticoresoftware","download_url":"https://codeload.github.com/manticoresoftware/buddy-plugin-template/tar.gz/refs/heads/v1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticoresoftware%2Fbuddy-plugin-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32773171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-15T23:24:10.382Z","updated_at":"2026-05-08T08:34:24.449Z","avatar_url":"https://github.com/manticoresoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buddy-plugin-template\n\nThis is an initial template of a plugin for [Buddy](https://github.com/manticoresoftware/manticoresearch-buddy/) that you can use to develop.\n\n## How to start\n\n1. Create a repository from this template.\n2. Open `composer.json` and edit it with your plugin name, dependencies, and everything else you need.\n3. Run `composer install` to make it work.\n4. You need to use our official `manticore-executor`; we strictly recommend using the [Docker](#how-to-use-docker-of-manticore-executor-dev) flow.\n5. Edit `src/Payload.php`, add logic to parse the request, and prepare the payload structure for your command processing.\n6. Edit `src/Handler.php` and implement processing logic and response that will be proxied by Manticore to the client.\n\n## How to use Docker of manticore-executor-dev\n\n1. Clone [Buddy](https://github.com/manticoresoftware/manticoresearch-buddy/) somewhere to your host machine and go into it.\n2. Run this command to create a Docker image named `manticore-buddy`:\n\n    ```bash\n    docker run --privileged --entrypoint bash -v $(pwd):/workdir -w /workdir --name manticore-buddy  --network host -it manticoresearch/manticore-executor-kit:latest\n    ```\n\n3. Now you can edit `/etc/manticore.conf` and configure the development version of Buddy:\n\n    ```text\n    buddy_path = manticore-executor-dev /workdir/src/main.php --debug\n    ```\n\n4. Run `searchd --nodetach` to keep the daemon in the foreground and enjoy the development of your new plugin.\n\n## Notes\n\nYou can use `pre-commit` to install code style and code analyze hooks by running `pre-commit install`. Check our PHP code style and guide [here](https://github.com/manticoresoftware/php-code-standard).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticoresoftware%2Fbuddy-plugin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanticoresoftware%2Fbuddy-plugin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticoresoftware%2Fbuddy-plugin-template/lists"}