{"id":19602832,"url":"https://github.com/wisdomenigma/algolia-media","last_synced_at":"2026-06-13T19:31:37.973Z","repository":{"id":59045429,"uuid":"530069930","full_name":"WisdomEnigma/Algolia-media","owner":"WisdomEnigma","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-13T21:56:09.000Z","size":11039,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T08:27:10.692Z","etag":null,"topics":["golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WisdomEnigma.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":"2022-08-29T04:51:37.000Z","updated_at":"2022-08-29T16:04:30.000Z","dependencies_parsed_at":"2024-11-11T09:29:36.673Z","dependency_job_id":"d833912a-96a7-4176-bcb2-0550efde3e6c","html_url":"https://github.com/WisdomEnigma/Algolia-media","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/WisdomEnigma%2FAlgolia-media","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WisdomEnigma%2FAlgolia-media/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WisdomEnigma%2FAlgolia-media/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WisdomEnigma%2FAlgolia-media/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WisdomEnigma","download_url":"https://codeload.github.com/WisdomEnigma/Algolia-media/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240886299,"owners_count":19873525,"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":["golang"],"created_at":"2024-11-11T09:26:29.839Z","updated_at":"2026-06-13T19:31:37.915Z","avatar_url":"https://github.com/WisdomEnigma.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algolia-media\n\n\nAlgolia media is a wrapper library which is used to store media files. Algolia provide link to store data on data base, which is good methodology , however I want to store media files in decode form. Later programmer will encode the data and used in applicaton.\n\n\n# Example\n\n    file, err := os.OpenFile(\"metamask.png\", os.O_RDWR|os.O_CREATE, 0755)\n\tif err != nil {\n\t\treturn\n\t}\n\n\twrapper := algolia_wrapper.NewAlgolia_Object(file)\n\n\tclient := wrapper.ToConnectAlgolia(\u0026protos.Credentials{\n\t\tAPP_Code:    \"...\",\n\t\tAlgolia_AMI: \"...\",\n\t})\n\n\tindex := wrapper.Index(client, []string{\"MyAvatar\"}...)\n\tobject, err := wrapper.Put(index)\n\tif err != nil {\n\t\tlog.Println(\"Error putting image:\", err)\n\t\treturn\n\t}\n\n\tresult, err := wrapper.Query(index, object, []string{\"MyAvatar\"}...)\n\tif err != nil {\n\t\tlog.Println(\"Error finding image :\", err)\n\t\treturn\n\t}\n\n\tlog.Println(\"Result:\", result.Query)\n\n    \u003c!-- Result set return meta data , decode return media object --\u003e\n\tresultSet, decode , err := wrapper.Get(index, object)\n\tif err != nil {\n\t\tlog.Println(\"Error getting image:\", err)\n\t\treturn\n\t}\n\n\tlog.Println(\"Metadata :\", resultSet, \"Decode:\", decode[0:20])","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisdomenigma%2Falgolia-media","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisdomenigma%2Falgolia-media","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisdomenigma%2Falgolia-media/lists"}