Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


bard-ai v2


More Powerful. More Capable.

















Docs | GitHub | FAQ

### 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.