Giter VIP home page Giter VIP logo

menubar's Introduction

smol menubar

This is a smol menubar app that helps you quickly access ChatGPT, Bard, Bing and Anthropic with a single keyboard shortcut.

image

(click for video demo)

whatever is typed at the bottom is entered into all 4 windows simultaneously, however if you wish to explore one further than the other you can do so independently since they are just webviews. See video demo.

Note Many people don't have Anthropic. Thanks to @seanoliver in #32, you can disable one or more of them in the preferences! We are working on making it fully pluggable to whatever chat app you wish, please feel free to PR if you want to attempt it.

seeking contributors!

please see https://github.com/smol-ai/menubar/blob/main/CONTRIBUTING.md

video demo

Download and Setup

You can download the precompiled binaries for MacOS: https://github.com/smol-ai/menubar/releases/latest (sometimes Apple marks these as untrusted/damaged, just open them up in Applications and right-click-open to run it. Or run it from source (instructions below)

The first run creates a desktop shortcut. After the initial setup, you can simply use the generated desktop file to start the application in the future.

When you first run the app, log into your google and/or microsoft account (once you log into your google account for chatgpt, you'l also be logged in to Bard). For Bing, after you log in to your Microsoft account, you'll need to refresh to get into the Bing Chat screen. It's a little finnicky at first try but it works.

image

usage

I usually just always press Cmd+Shift+G -> quick open to use it and Cmd+Enter to submit.

You can resize the overall window with a click n drag. Cmd+1/2/3/A/+/- or drag to resize the internal webviews as you wish.

You can also disable models from the preferences modal and your choice is persisted.

To start a new conversation, cmd+R (simple window refresh, nothing special)

You can modify these keyboard shortcuts if you build it from source.

Login for Anthropic via Google SSO is broken right now - it requires a popup which is blocked at least in my testing. Would welcome a PR to fix that, but for now just use regular email + login token works fine.

build from source

If you really want to build from source, you will need to clone the repo and open the project folder:

  1. Clone the repository and navigate to the project folder:

    git clone https://github.com/smol-ai/menubar.git
    cd menubar
  2. Install dependencies:

    npm install
  3. On Windows, you'll also need Squirrel:

    npm install electron-squirrel-startup
  4. Generate binaries:

    # If publishing, bump versions
    # npm version patch
    npm run make # or npm run build

    The outputs will be located in the /out/make directory. Run smol-menubar.exe to launch the application. Note that it may start minimized in your taskbar; you'll need to click the icon to use it:

image

windows builds

by default we're mac only - i only have a mac sorry. (we are seeking a "Windows Maintainer"!)

i think you can run

electron-forge make --platform=win32 --arch=ia32,x64

and it might work? let us know and i'd happily take a PR to include it in the default make process.

why use/make this?

Google dropped its waitlist for Bard recently, so now there is some reason to try it out.

People have bad first impressions on Bard, but in May 2023 it has been receiving some positive feedback:

these folks aren't neutral, but its clear of course that Bard will be better for some things than others, and we might as well lower the barrier for trying them out.

then anthropic dropped 100k context, and at that point i was convinced i need to be A/B testing all 3 to get the benefits/get an intuition of what they each are best at.

menubar's People

Contributors

swyxio avatar seanoliver avatar chriscarrollsmith avatar jmxo avatar anujbgit avatar kataqatsi avatar kolinkorr839 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.