{"id":21346865,"url":"https://github.com/queer/singyeong_plugin","last_synced_at":"2025-07-12T17:31:21.720Z","repository":{"id":41815057,"uuid":"220152969","full_name":"queer/singyeong_plugin","owner":"queer","description":"신경 plugin API","archived":false,"fork":false,"pushed_at":"2023-03-30T11:58:10.000Z","size":47,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T15:21:32.800Z","etag":null,"topics":[],"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/queer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-07T04:41:10.000Z","updated_at":"2022-02-17T06:21:21.000Z","dependencies_parsed_at":"2023-01-23T17:45:10.403Z","dependency_job_id":null,"html_url":"https://github.com/queer/singyeong_plugin","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_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queer%2Fsingyeong_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queer%2Fsingyeong_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queer%2Fsingyeong_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/queer","download_url":"https://codeload.github.com/queer/singyeong_plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225829064,"owners_count":17530666,"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:48.521Z","updated_at":"2024-11-22T02:11:49.234Z","avatar_url":"https://github.com/queer.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 신경 plugin\n\nA library that provides the plugin API for [신경](https://github.com/queer/singyeong).\nThis library is not useful on its own, and must be used alongside a 신경 instance.\n\nAn example plugin can be found here: https://github.com/queer/singyeong-test-plugin\n\n## Installation\n\n[Get it on Hex.](https://hex.pm/packages/singyeong_plugin)\n\n```elixir\ndef deps do\n  [\n    {:singyeong_plugin, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Creating a plugin\n\nSimply implement the `Singyeong.Plugin` behaviour in your plugin module. An\nexample of how to do this can be found here:\nhttps://github.com/queer/singyeong-test-plugin/blob/master/lib/singyeong_plugin_test.ex\n\nOnce your plugin is ready, run the following commands:\n```\n$ mix compile\n$ mix singyeong.package\n```\nand a zip file containing your plugin will be created. To use the plugin you\ncreated, simply create a `plugins/` directory at your 신경 instance's root\ndirectory, and copy the plugin zip into that directory.\n\n## Native code\n\n신경 plugins officially support NIFs implemented with [Rustler](https://github.com/rusterlium/rustler).\nOther NIF libraries are unsupported and may break at any time, or simply never\nwork. \n\nNote that Rustler-based NIFs require some extra steps to be properly\n신경-compatible:\n\n1. Your NIF module should have `use Singyeong.Plugin.Rustler, crate: \"crate_name\"`\n   instead of `use Rustler, otp_app: :my_app, crate: \"crate_name\"`.\n2. That's it! (Note: this may change in the future)\n\n## `.gitignore`\n\nThe following files should be added to your `.gitignore`:\n\n- /work\n- /*.zip\n\nIf using (Rustler) natives:\n\n- /priv/native\n- /native/*/target\n- /native/*/.cargo","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueer%2Fsingyeong_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueer%2Fsingyeong_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueer%2Fsingyeong_plugin/lists"}