{"id":22665594,"url":"https://github.com/seadowg/dave","last_synced_at":"2025-03-29T09:43:07.086Z","repository":{"id":140476939,"uuid":"101408164","full_name":"seadowg/dave","owner":"seadowg","description":"A small framework for building API.AI web fulfillment","archived":false,"fork":false,"pushed_at":"2017-08-25T13:47:00.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T00:55:02.568Z","etag":null,"topics":["google-home","http","kotlin"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/seadowg.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":"2017-08-25T13:46:34.000Z","updated_at":"2017-08-29T17:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"235d7db4-5f3c-4790-9a56-96e694cfe021","html_url":"https://github.com/seadowg/dave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seadowg%2Fdave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seadowg%2Fdave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seadowg%2Fdave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seadowg%2Fdave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seadowg","download_url":"https://codeload.github.com/seadowg/dave/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246168087,"owners_count":20734389,"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":["google-home","http","kotlin"],"created_at":"2024-12-09T13:35:50.414Z","updated_at":"2025-03-29T09:43:07.056Z","avatar_url":"https://github.com/seadowg.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dave\n\nA small framework for building API.AI web fulfillment.\n\n```kotlin\nclass MarcoPoloAction : ActionHandler {\n    override fun handle(request: Request): Response {\n        return when (request.params[\"speech\"]) {\n            \"marco\" -\u003e Response(\"Polo!\", emptyList())\n            else -\u003e Response(\"\", emptyList())\n        }\n    }\n}\n\nclass FallbackAction : ActionHandler {\n    override fun handle(request: Request): Response {\n        return Response(\"I'm not sure that's part of the game...\", emptyList())\n    }\n}\n\nfun main(args: Array\u003cString\u003e) {\n    val server = Server()\n    server.serve(8080, mapOf(\n            \"marco_polo\" to MarcoPoloAction(),\n            \"input.unknown\" to FallbackAction()\n    ))\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseadowg%2Fdave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseadowg%2Fdave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseadowg%2Fdave/lists"}