Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanzhoudev/bard-ai
A lightweight library to access Google Bard.
https://github.com/evanzhoudev/bard-ai
ai bard
Last synced: 2 days ago
JSON representation
A lightweight library to access Google Bard.
- Host: GitHub
- URL: https://github.com/evanzhoudev/bard-ai
- Owner: EvanZhouDev
- License: gpl-3.0
- Created: 2023-05-16T04:31:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-24T02:16:37.000Z (over 1 year ago)
- Last Synced: 2024-12-17T05:10:21.726Z (9 days ago)
- Topics: ai, bard
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/bard-ai
- Size: 2.64 MB
- Stars: 117
- Watchers: 8
- Forks: 31
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bard-ai
v2More Powerful. More Capable.
### Features
- 🍪 [**Multi-Cookie Use**](https://bard-ai.js.org/basics/initialization/): Have multiple Bard instances
- 🖼️ [**Google Lens Support**](https://bard-ai.js.org/advanced/google-lens/): Powerful image recognition
- 📷 [**Image Output**](https://bard-ai.js.org/advanced/json/#image-json): Access images from Google
- 🌐 [**Contextual Conversations**](https://bard-ai.js.org/basics/chat/): Maintain conversation context## Quick Start
Copy the cookie labled `__Secure-1PSID` on bard.google.com, and use it in the code here:
```javascript
import Bard from "bard-ai";let myBard = new Bard(COOKIE);
console.log(await myBard.ask("Hello, world!"));
```Continue to explore full features, including Google Lens integration, with the [docs](https://bard-ai-docs.vercel.app/).
Contributors
A special shoutout to these amazing indviduals:
@acheong08
Original Python Bard API
@ThatXliner
Maintainer
@Aldhanekaa
Typescript and Feature Developer, Maintainer
@RFS-ADRENO
TypeScript Developer, Maintainer
However, we thank every person that helps in the development process of this library, no matter that be in code, ideas, or anything else.
Read the docs to get started.