https://github.com/thisago/clibard
Command line interface for Google Bard
https://github.com/thisago/clibard
ai bard batchexecute cli free nim
Last synced: 5 days ago
JSON representation
Command line interface for Google Bard
- Host: GitHub
- URL: https://github.com/thisago/clibard
- Owner: thisago
- License: gpl-3.0
- Created: 2023-07-19T21:01:07.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T00:14:11.000Z (almost 3 years ago)
- Last Synced: 2024-05-02T04:17:51.049Z (about 2 years ago)
- Topics: ai, bard, batchexecute, cli, free, nim
- Language: Nim
- Homepage:
- Size: 31.3 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license
Awesome Lists containing this project
README
# clibard
#### Command line interface for Google Bard
**[About](#about) - [Setup](#setup) - [Usage](#usage)** - [License](#license)
## About
See this app in action here:
- [`clibard prompt`][promptVideo]
- [`clibard chat`][chatVideo]
This is a Google Bard CLI application interface.
Core libs used
- [Google Bard](https://github.com/thisago/bard) - Google Bard batchexecute implementation
- [iecook](https://github.com/thisago/iecook) - Session cookie getter
## Setup
You can install using nimble, the [Nim](https://nim-lang.org) package manager:
```bash
nimble install clibard
```
To iecook be able to get your Google session, you'll need to install an client
extension in your browser.
See the [tutorial at iecook repository](https://github.com/thisago/iecook#setup)
Now, just [login into your Google account](https://accounts.google.com) and keep
open the browser
## Usage
**Help**
```
$ clibard --help
Google Bard CLI
Usage:
clibard {SUBCMD} [sub-command options & parameters]
where {SUBCMD} is one of:
help print comprehensive or per-cmd help
prompt Prompts to Google Bard
chat Start chat with Google Bard
```
The usage is very simple:
[**Single prompt**][promptVideo]
```bash
clibard prompt "what is ram memory?"
```
[**Chat**][chatVideo]
```bash
clibard chat
```
## License
This CLI application is open source, licensed over GPL-3
[promptVideo]: https://asciinema.org/a/Bpc3fE1YwgfEUrqUwI9FlS8ky
[chatVideo]: https://asciinema.org/a/GKS9Scaza5c1powm8jypQrGAN