{"id":20572745,"url":"https://github.com/rizzlogy/bardie","last_synced_at":"2025-04-14T17:22:57.034Z","repository":{"id":205703598,"uuid":"714876643","full_name":"rizzlogy/bardie","owner":"rizzlogy","description":"A powerful library for interacting with the Google AI","archived":false,"fork":false,"pushed_at":"2024-03-19T15:22:33.000Z","size":458,"stargazers_count":5,"open_issues_count":7,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T06:03:45.137Z","etag":null,"topics":["axios","cli","google-bard","google-gemini-ai","google-gemini-pro","nodejs","swaggerui"],"latest_commit_sha":null,"homepage":"https://bard.rizzy.eu.org/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rizzlogy.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}},"created_at":"2023-11-06T02:50:50.000Z","updated_at":"2025-01-09T05:29:19.000Z","dependencies_parsed_at":"2023-12-27T18:28:01.679Z","dependency_job_id":"e2b483c2-334d-4ef6-9d33-8b1535ea7e7f","html_url":"https://github.com/rizzlogy/bardie","commit_stats":null,"previous_names":["rizzlogy/bardai","rizzlogy/bardie"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fbardie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fbardie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fbardie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fbardie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizzlogy","download_url":"https://codeload.github.com/rizzlogy/bardie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248924162,"owners_count":21184031,"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":["axios","cli","google-bard","google-gemini-ai","google-gemini-pro","nodejs","swaggerui"],"created_at":"2024-11-16T05:23:38.435Z","updated_at":"2025-04-14T17:22:56.975Z","avatar_url":"https://github.com/rizzlogy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bardie \u003ca href=\"https://bard.rizzy.eu.org\"\u003e\u003cimg src=\"https://www.gstatic.com/lamda/images/favicon_v1_70c80ffdf27202fd2e84f.png\" height=\"20px\"\u003e\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca target=\"_blank\" href=\"https://bard.rizzy.eu.org\"\u003e\n    \u003cimg src=\"https://www.gstatic.com/lamda/images/favicon_v1_70c80ffdf27202fd2e84f.png\" alt=\"\" width=\"169\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca target=\"_blank\" href=\"https://github.com/rizzlogy\"\u003e\n    \u003cimg title=\"Author\" src=\"https://img.shields.io/badge/Author-RizzyFuzz-blue.svg?style=for-the-badge\u0026logo=github\" /\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca target=\"_blank\" href=\"https:////npmjs.com/bardie\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dw/bardie?color=blue\u0026label=Downloads\u0026logo=npm\u0026style=flat\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/bardie?activeTab=versions\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/bardie?color=green\u0026label=version\u0026logo=npm\u0026style=social\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Bardie Installation\n\n**📂 Normal Installation**\n\n```bash\nnpm i bardie\n```\n\n#\n\n**🔲 Installation For CLI**\n\n```bash\nnpm i bardie -g\n```\n\n# Simple Examples\n\n### **Example Question To Send Bard API Request**\n\n#\n\n```js\nconst { Bardie } = require(\"bardie\");\nconst bard = new Bardie();\n\nasync function askQuestion() {\n  try {\n    let result = await bard.question({ ask: \"Keep it simple... What is Google Bard?\" });\n    console.log(result);\n  } catch (error) {\n    console.error(\"Error:\", error.message);\n  }\n};\n\naskQuestion();\n```\n\n##### Response:\n\n```json\n{\n  \"content\": \"In a nutshell, I'm Google's AI helper you can chat with. I can answer your questions, generate creative text formats, and help you with various tasks in a simple and informative way. Think of me as a friendly AI companion ready to assist you anytime!\",\n  \"status\": 200,\n  \"creator\": \"RizzyFuzz\"\n}\n```\n\n### **Example Question With Image To Send Bard API Request**\n\n#\n\n```js\nconst { Bardie } = require(\"bardie\");\nconst bard = new Bardie();\n\nasync function askQuestionWithImage() {\n try {\n  let result = await bard.question({\n   ask: \"Keep it simple... What is this image?\",\n   image: \"https://i.imgur.com/OgoPlnf.png\"\n  });\n  console.log(result);\n } catch (error) {\n  console.error(\"Error:\", error.message);\n }\n};\n\naskQuestionWithImage();\n```\n\n##### Response:\n\n```json\n{\n  \"content\": \"The image you sent me is the logo of Bard, a large language model chatbot developed by Google AI. The logo consists of two colorful stars, one in red and orange and the other in blue and green, on a gray background. The stars are meant to represent creativity and knowledge, while the gray background represents the real world. I hope this helps!\",\n  \"status\": 200,\n  \"creator\": \"RizzyFuzz\"\n}\n```\n\n#\n\n# Note\n\n#### EN\n\u003e If there are bugs, please create [Issues](https://github.com/rizzlogy/bardie/issues/new)\n\n#### ID\n\u003e Jika Ada Bug, Silahkan Buat [Issues](https://github.com/rizzlogy/bardie/issues/new)\n\n#\n\n**[Bardie](https://npmjs.com/bardie) also Supports Typescript \u0026 EsModule! 🥳**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizzlogy%2Fbardie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizzlogy%2Fbardie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizzlogy%2Fbardie/lists"}