{"id":18377624,"url":"https://github.com/tbillington/greenery","last_synced_at":"2026-04-26T22:31:39.599Z","repository":{"id":113316223,"uuid":"334546821","full_name":"tbillington/greenery","owner":"tbillington","description":"Simple behavior trees","archived":false,"fork":false,"pushed_at":"2021-01-31T02:23:57.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T07:05:05.321Z","etag":null,"topics":["ai","behavior-tree","bt","deno","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/tbillington.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":"2021-01-31T01:13:19.000Z","updated_at":"2022-10-30T16:17:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab201733-61a7-4810-ab41-75ef65b7f118","html_url":"https://github.com/tbillington/greenery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tbillington/greenery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbillington%2Fgreenery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbillington%2Fgreenery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbillington%2Fgreenery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbillington%2Fgreenery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tbillington","download_url":"https://codeload.github.com/tbillington/greenery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tbillington%2Fgreenery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32315711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T21:09:39.134Z","status":"ssl_error","status_checked_at":"2026-04-26T21:09:21.240Z","response_time":129,"last_error":"SSL_read: 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":["ai","behavior-tree","bt","deno","typescript"],"created_at":"2024-11-06T00:28:45.250Z","updated_at":"2026-04-26T22:31:39.579Z","avatar_url":"https://github.com/tbillington.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Greenery 🌳\n\nSimple behavior trees.\n\n\u003c!-- prettier-ignore --\u003e\n```javascript\nconst tree = select(\n  endSimulation,\n  sequence(\n    moveInRange,\n    select(\n      shootEnemy,\n      reload\n    )\n  )\n)\n\nconst state = {\n  player: { x: 5, bullets: 3 },  \n  enemy: { x: 10, health: 10 },\n  done: false\n}\n\nwhile (!state.done) {\n  tree(state)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbillington%2Fgreenery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbillington%2Fgreenery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbillington%2Fgreenery/lists"}