Skip to content

Instantly share code, notes, and snippets.

@ScytheDraven47
ScytheDraven47 / ask-bard-prototype.ts
Created May 11, 2023 06:56
Gist Created in Script Kit
// Name: Ask Bard
// Shortcode: bard
import '@johnlindquist/kit'
import { Bard } from 'googlebard'
const bardCookie = await env('BARD_COOKIE', {
hint: md(
`Log in to [https://bard.google.com](https://bard.google.com) then retrieve your "__Secure-1PSID" cookie from your browser's Developer Tools -> Storage tab`
),
// Name: Paste into Discord
// Description: Wraps code in Discord-friendly markdown and converts tabs to spaces
// TODO: Add more languages
import '@johnlindquist/kit'
const initialText = await getClipboardHistory()
const numSpaces = 2
// Name: Bitwarden Passwords
// Author: ScytheDraven47
// installs @bitwaden/cli globally
import '@johnlindquist/kit'
import { Choice } from '@johnlindquist/kit'
import {
BitwardenCommandResponse,
BitwardenFolder,
BitwardenItem,