{"id":17435720,"url":"https://github.com/abiji-2020/minds-go-sdk","last_synced_at":"2026-02-05T20:33:28.488Z","repository":{"id":257819951,"uuid":"868143156","full_name":"Abiji-2020/minds-go-sdk","owner":"Abiji-2020","description":"Minds Go SDK  (unofficial) Developed to fasten the working of the Minds using Go Lang ","archived":false,"fork":false,"pushed_at":"2024-11-21T11:35:37.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T22:22:52.041Z","etag":null,"topics":["go","hacktoberfest","minds","minds-go-sdk","minds-sdk","mindsdb"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/Abiji-2020/minds-go-sdk","language":"Go","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/Abiji-2020.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-10-05T15:33:35.000Z","updated_at":"2024-11-21T11:35:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9083e1cc-3f27-4c3d-a8f6-41f4582ecb11","html_url":"https://github.com/Abiji-2020/minds-go-sdk","commit_stats":null,"previous_names":["abiji-2020/minds-go-sdk"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Abiji-2020/minds-go-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abiji-2020%2Fminds-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abiji-2020%2Fminds-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abiji-2020%2Fminds-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abiji-2020%2Fminds-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abiji-2020","download_url":"https://codeload.github.com/Abiji-2020/minds-go-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abiji-2020%2Fminds-go-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673580,"owners_count":23966375,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["go","hacktoberfest","minds","minds-go-sdk","minds-sdk","mindsdb"],"created_at":"2024-10-17T10:01:07.924Z","updated_at":"2026-02-05T20:33:28.433Z","avatar_url":"https://github.com/Abiji-2020.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Abiji-2020/minds-go-sdk/go.yml)](https://github.com/Abiji-2020/minds-go-sdk/actions/workflows/go.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Abiji-2020/minds-go-sdk)](https://goreportcard.com/report/github.com/Abiji-2020/minds-go-sdk)\n[![GitHub License](https://img.shields.io/github/license/Abiji-2020/minds-go-sdk)](https://github.com/Abiji-2020/minds-go-sdk/blob/main/LICENSE)\n\n\n# Minds `Go` SDK\n\nThe `Minds Go SDK` is a Software Development Kit for the [Minds](https://mindsdb.com/minds) (Unofficial). Built with the REST API Endpoints given by the Minds. With the help of this the  `Go Developers` can able to easily interact with the Minds. Currently the Minds SDK allows the developer to `Create`, `Update`, `Add Datasource`, `Delete` , `List` and `Get` the Minds, and Datasource. As of now it uses the Http package from the `go` to communicate with the Endpoints of Minds. \n\n## Features\n- **Mind Management:**  Create, Update, Delete and Fetch details of Minds from MindsDB and also has the feature to add Datasource to the existing Mind.\n- **Datasource Management:** Create, Update, Delete and Fetch details of Datasources linked to MindsDB.\n- **Chat Completeion:** Integreate with chat applications API for natural language processing, it can support both single chat and streaming of chats.\n\n## Getting Started\n   \u003ch3\u003ePrerequisites\u003c/h3\u003e\n   Before you can use the SDK, you'll need:\n   - A valid Minds API key (can be accessed from [Minds](https://mdb.ai/login)\n   - Go installed in your machine.\n   - A project set up in Go or you can create a new one. \n \n  ### Installation\n  To install the SDK, run the following command in the terminal where your project is located.\n  ```bash\ngo get github.com/Abiji-2020/minds-go-sdk\n```\nThen you can use the modules in the project. \n\n## Usage \n\nBelow is a simple example of how to use the `Client` package to interact with the Minds API. [More Examples on each feature](https://github.com/Abiji-2020/minds-go-sdk/tree/main/examples)\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/Abiji-2020/minds-go-sdk/client\"\n\t\"github.com/Abiji-2020/minds-go-sdk/datasource\"\n)\n\nfunc main() {\n\t// To initialize the client, you need to provide your API key and the base URL\n\tClient := client.NewClient(\"YOUR API KEY\", \" BASE URL\")\n\n\t//Declare a datasource\n\tds1 := datasource.DatabaseConfig{\n\t\tName:        \"datasource1\",\n\t\tEngine:      \"mysql\",\n\t\tDescription: \"This is a test datasource\",\n\t\tConnectionData: map[string]string{\n\t\t\t\"user\":     \"root\",\n\t\t\t\"password\": \"password\",\n\t\t\t\"host\":     \"localhost\",\n\t\t\t\"port\":     \"3306\",\n\t\t\t\"database\": \"test\",\n\t\t},\n\t\tTables: []string{\"table1\", \"table2\"},\n\t}\n\n\t// Create a new mind\n\tdatas := []datasource.DatabaseConfig{ds1}\n\tmindName := \"Test Mind\"\n\tcreatedMind, err := Client.Minds.Create(mindName, datas)\n\tif err != nil {\n\t\tfmt.Println(\"Error creating mind: \", err)\n\t} else {\n\t\tfmt.Println(\"Mind created: \", createdMind)\n\t}\n}\n```\n\n## Features\n1. Minds Management\n   - Fetch all minds\n   - Get a specific mind by name\n   - Add datasource to mind\n   - Create, Update and delete minds\n     \n2. Datasource Management\n   - List all datasources\n   - Get a datasource by name\n   - Create, update and delete a datasource from minds.\n\n3. Completions API\n   - Use natural language processing with chat completions.\n  \n## Additional Information\n\nThis SDK is currently under active development. Contributions are welcome.\n\n\u003e [!NOTE]\n\u003e For the future of the `SDK` , I have planned to add `templates` as a package of giving out all the [Datasource templates in the Minds](https://docs.mdb.ai/docs/data_sources).\n\u003e\n - If found any issues report them, or add them in `Issues` tab\n - For any inquiries and feature requests, feel free to open a discussion or contact us.\n\n## License\nThis package is Licenced under the *MIT LICENSE*, see the `LICENSE` file for more details. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiji-2020%2Fminds-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabiji-2020%2Fminds-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabiji-2020%2Fminds-go-sdk/lists"}