{"id":15010099,"url":"https://github.com/niku/hobot","last_synced_at":"2026-03-15T17:16:56.839Z","repository":{"id":57479520,"uuid":"62800892","full_name":"niku/hobot","owner":"niku","description":"A bot framework working on Erlang VM(BEAM)","archived":false,"fork":false,"pushed_at":"2018-08-02T11:21:43.000Z","size":91,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-15T09:02:00.792Z","etag":null,"topics":["beam","bot-framework","elixir","erlang-vm"],"latest_commit_sha":null,"homepage":"","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/niku.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}},"created_at":"2016-07-07T11:12:04.000Z","updated_at":"2022-04-05T13:09:21.000Z","dependencies_parsed_at":"2022-09-17T04:51:54.792Z","dependency_job_id":null,"html_url":"https://github.com/niku/hobot","commit_stats":null,"previous_names":["niku/beam_homunculus"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/niku/hobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niku","download_url":"https://codeload.github.com/niku/hobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niku%2Fhobot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275232726,"owners_count":25428227,"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-09-15T02:00:09.272Z","response_time":75,"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":["beam","bot-framework","elixir","erlang-vm"],"created_at":"2024-09-24T19:30:10.097Z","updated_at":"2025-12-11T23:39:22.346Z","avatar_url":"https://github.com/niku.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hobot(an abbreviation of Homunculus Bot)\n\n[![Build Status](https://travis-ci.org/niku/hobot.svg?branch=master)](https://travis-ci.org/niku/hobot)\n\nA bot framework working on Erlang VM(BEAM). Plugins for Hobot are just `:gen_server` so you can meke a plugin with any language working on Erlang VM (e.g. [Erlang](https://github.com/erlang/otp), [Elixir](https://github.com/elixir-lang/elixir), [LFE](https://github.com/rvirding/lfe/), [Alpaca](https://github.com/alpaca-lang/alpaca)).\n\nYou can see [an adapter sample](https://github.com/niku/hobot/tree/v0.2.0/lib/hobot/adapters/shell.ex) and [a handler sample](https://github.com/niku/hobot/tree/v0.2.0/lib/hobot/handlers/echo.ex).\n\n## Usage\n\n```console\n% git clone https://github.com/niku/hobot\n% cd hobot\n% mix deps.get\n% iex -S mix\nErlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]\n\nInteractive Elixir (1.6.1) - press Ctrl+C to exit (type h() ENTER for help)\niex(1)\u003e bot_name = \"EchoBot\"\niex(2)\u003e adapter_conf = %{module: Hobot.Plugin.Adapter.Shell, args: [Process.group_leader()]}\niex(3)\u003e handlers_conf = [%{module: Hobot.Plugin.Handler.Echo, args: [[\"on_message\"]]}]\niex(4)\u003e {:ok, echo_bot} = Hobot.create(bot_name, adapter_conf, handlers_conf)\niex(5)\u003e context = Hobot.context(echo_bot)\niex(6)\u003e adapter_pid = Hobot.pid(context.adapter)\niex(7)\u003e Hobot.Plugin.Adapter.Shell.gets(\"\u003e \", adapter_pid)\n\u003e hello\n\"hello\"\n\u003e hi\n\"hi\"\n\u003e quit\nnil\niex(8)\u003e\n```\n\nAlso, a sample application which works is [eloido](https://github.com/niku/eloido).\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `hobot` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:hobot, \"~\u003e 0.3.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/hobot](https://hexdocs.pm/hobot).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fhobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniku%2Fhobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniku%2Fhobot/lists"}