{"id":21346871,"url":"https://github.com/queer/singyeong-client-elixir","last_synced_at":"2025-03-16T03:44:06.653Z","repository":{"id":57548396,"uuid":"312932105","full_name":"queer/singyeong-client-elixir","owner":"queer","description":"Elixir client for 신경","archived":false,"fork":false,"pushed_at":"2021-05-26T06:15:17.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T14:55:43.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/queer.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}},"created_at":"2020-11-15T01:01:37.000Z","updated_at":"2021-05-26T06:15:19.000Z","dependencies_parsed_at":"2022-08-28T11:30:17.381Z","dependency_job_id":null,"html_url":"https://github.com/queer/singyeong-client-elixir","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/queer%2Fsingyeong-client-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queer%2Fsingyeong-client-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queer%2Fsingyeong-client-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queer%2Fsingyeong-client-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/queer","download_url":"https://codeload.github.com/queer/singyeong-client-elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822277,"owners_count":20353499,"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":[],"created_at":"2024-11-22T02:11:49.067Z","updated_at":"2025-03-16T03:44:06.620Z","avatar_url":"https://github.com/queer.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# singyeong-client\n\nA pure Elixir client for 신경.\n\n## Installation\n\n[Get it on Hex.](https://hex.pm/packages/singyeong)\n\n```elixir\ndef deps do\n  [\n    {:singyeong, \"~\u003e 0.1.1\"}\n  ]\nend\n```\n\n## Usage\n\n1.  Add children to your application's supervisor:\n    ```Elixir\n    # The actual client that connects and sends/receives messages\n    {Singyeong.Client, Singyeong.parse_dsn(\"singyeong://my_app_name:my_password@localhost:4567\")},\n    # Event producer\n    Singyeong.Producer,\n    # Your event consumer\n    MyApp.Consumer,\n    ```\n2.  Create a consumer:\n    ```Elixir\n    defmodule MyApp.Consumer do\n      use Singyeong.Consumer\n\n      def start_link do\n        Consumer.start_link __MODULE__\n      end\n\n      def handle_event(event) do\n        IO.inspect event, pretty: true\n        :ok\n      end\n    end\n    ```\n3.  That's it! Start running your application whenever you want.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueer%2Fsingyeong-client-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueer%2Fsingyeong-client-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueer%2Fsingyeong-client-elixir/lists"}