See this app in action here:
This is a Google Bard CLI application interface.
Core libs used
- Google Bard - Google Bard batchexecute implementation
- iecook - Session cookie getter
You can install using nimble, the Nim package manager:
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
Now, just login into your Google account and keep open the browser
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:
clibard prompt "what is ram memory?"
clibard chat
This CLI application is open source, licensed over GPL-3