{"id":15159967,"url":"https://github.com/yukinagae/genkit-go-plugins","last_synced_at":"2025-10-24T16:32:13.419Z","repository":{"id":255222562,"uuid":"847823230","full_name":"yukinagae/genkit-go-plugins","owner":"yukinagae","description":"Firebase Genkit Go Community Plugins","archived":false,"fork":false,"pushed_at":"2024-09-03T13:23:06.000Z","size":59,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T03:31:38.461Z","etag":null,"topics":["chatgpt","firebase","firebase-genkit","genkit","genkit-plugin","go","golang","gpt","openai","plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yukinagae.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T16:02:26.000Z","updated_at":"2025-01-09T02:55:25.000Z","dependencies_parsed_at":"2024-08-28T18:19:25.477Z","dependency_job_id":null,"html_url":"https://github.com/yukinagae/genkit-go-plugins","commit_stats":null,"previous_names":["yukinagae/genkit-go-plugins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukinagae%2Fgenkit-go-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukinagae%2Fgenkit-go-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukinagae%2Fgenkit-go-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukinagae%2Fgenkit-go-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukinagae","download_url":"https://codeload.github.com/yukinagae/genkit-go-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238008512,"owners_count":19401266,"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":["chatgpt","firebase","firebase-genkit","genkit","genkit-plugin","go","golang","gpt","openai","plugin"],"created_at":"2024-09-26T22:03:21.128Z","updated_at":"2025-10-24T16:32:13.413Z","avatar_url":"https://github.com/yukinagae.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"display: flex; align-items: flex-start;\"\u003e\n  \u003cimg src=\"./docs/resources/genkit-logo.svg\" title=\"Firebase Genkit\" alt=\"Firebase Genkit Logo\" style=\"width: 150px;\"\u003e\n  \u003cimg src=\"./docs/resources/go-logo.svg\" title=\"Go\" alt=\"Go Logo\" style=\"width: 150px;\"\u003e\n\u003c/div\u003e\n\n\u003e [!IMPORTANT]\n\u003e **Great news!**  \n\u003e **Compatible OpenAI plugins are now available in the official Firebase Genkit repository**:\n\u003e 👉 https://github.com/firebase/genkit/tree/main/go/plugins/compat_oai  \n\u003e\n\u003e This repository is **archived and no longer maintained**.  \n\u003e Please use and contribute to the above repository instead.  \n\u003e\n\u003e Thank you!\n\n# Firebase Genkit Go Community Plugins\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/yukinagae/genkit-go-plugins.svg)](https://pkg.go.dev/github.com/yukinagae/genkit-go-plugins)\n[![Go Report Card](https://goreportcard.com/badge/github.com/yukinagae/genkit-go-plugins)](https://goreportcard.com/report/github.com/yukinagae/genkit-go-plugins)\n[![GitHub License](https://img.shields.io/github/license/yukinagae/genkit-go-plugins)](https://github.com/yukinagae/genkit-go-plugins/blob/main/LICENSE)\n\nThis repository contains Go community plugins for [Firebase Genkit](https://github.com/firebase/genkit).\n\n## Available plugins\n\n### Model / Embedding Plugins\n\n- openai - Plugins for OpenAI APIs\n\n## Installation\n\n```bash\ngo get github.com/yukinagae/genkit-go-plugins@latest\n```\n\n## Usage\n\n### OpenAI\n\nGet your OpenAI API key from [here](https://platform.openai.com/account/api-keys) and run:\n\n```bash\nexport OPENAI_API_KEY=your-api-key\n```\n\nRun `genkit start -o` with the following sample code:\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/firebase/genkit/go/ai\"\n\t\"github.com/firebase/genkit/go/genkit\"\n\n\t\"github.com/yukinagae/genkit-go-plugins/plugins/openai\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\tif err := openai.Init(ctx, nil); err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tgenkit.DefineFlow(\"sampleFlow\", func(ctx context.Context, input string) (string, error) {\n\t\tmodel := openai.Model(\"gpt-4o-mini\")\n\n\t\tresp, err := model.Generate(ctx,\n\t\t\tai.NewGenerateRequest(\n\t\t\t\t\u0026ai.GenerationCommonConfig{Temperature: 1},\n\t\t\t\tai.NewUserTextMessage(\"Hello!\")),\n\t\t\tnil)\n\t\tif err != nil {\n\t\t\treturn \"\", err\n\t\t}\n\n\t\ttext := resp.Text()\n\t\treturn text, nil\n\t})\n\n\tif err := genkit.Init(ctx, nil); err != nil {\n\t\tlog.Fatal(err)\n\t}\n}\n```\n\nSee the official [Genkit Go Documentation](https://firebase.google.com/docs/genkit-go/get-started-go) for more details.\n\n## Contributing\n\nWe welcome contributions to this project! To get started, please refer to our [Contribution Guide](https://github.com/yukinagae/genkit-go-plugins/blob/main/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukinagae%2Fgenkit-go-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukinagae%2Fgenkit-go-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukinagae%2Fgenkit-go-plugins/lists"}