Giter VIP home page Giter VIP logo

godmode's People

Contributors

alexanderatallah avatar andrewsiah avatar anujbgit avatar chriscarrollsmith avatar codingnninja avatar davej avatar eltociear avatar fardeem avatar ivanleomk avatar jmxo avatar kataqatsi avatar kilian avatar kolinkorr839 avatar leeknowlton avatar lenohard avatar martypenner avatar mbdeane avatar mwyywm avatar seanoliver avatar swyxio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

godmode's Issues

[Feature] make window of each URL customizable

people might want to use other chat apps, eg HuggingChat, or Vicuna or OpenAssistant.

would like to keep the number of panels to 3 (so it doesnt get too busy? but maybe we could bring it up to 6 with a second row?), but let people customize their fave chat apps for each window

however the app works by also needing a selector for the text input, and the submit button, and users aren't likely to find those on their own

easiest way is to maintain a static list of other known chat apps, that also have their input and submit selectors hardcoded.

reach goal: choices should persist esp thru version upgrades of smol menubar (so maybe store in disk?)

Support for the new Claude open beta

Excited to have finally gotten access to Claude with the new open beta, but there's a strange bug in menubar that won't allow me to sign in either using Google OAuth or the email auth flows.

Tried updating the URL to the public URL and also changing the user agent to Edge (copied the code from the Bing implementation), but neither are working.

image

[Looking for Contributor] New Provider: Quora Poe

in #32 we added Provider modules to make it easy to add more chats. if you're new here and want an easy way to contribute, now it's a lot easier!

please claim this and send a PR for us to review!

this work is split out from #13

Bard requires an extra click on "send"

I'm on Windows. Installation went without issues. Hitting CMD + enter submits messages to ChatGPT / Bing, but for Bard, I have to click on "send" additionally. The prompt itself is synchronized. How to fix?

Can't test Claude v2 since I'm in europe.

Change Default to GPT 4 on chat.openai.com

I will try to implement this over the weekend if I have a chance, but would like to have a config option that makes GPT4 the default on chat.openai.com

Side note - enjoyed your demo yesterday @swyxio!

Pastes Everything Twice

I'm running this on Windows 10 and having an issue with copy pasting into it. Anytime I paste text it copies the text twice, anyone else having this issue?

Copy-paste hotkeys

Something about the way you've got your hotkeys set up causes copy-paste with CTRL-C / CTRL-V to duplicate the copied text three times. This is annoying when trying to copy and paste a password into the window. I was able to bypass this problem by pasting with right-click.

My login also got rejected by OpenAI, probably because of their Auth0 CSRF token authentication system. And then they wanted me to sign in with an email link, which opened in the regular browser rather than in the menubar window.

Perplexity Login/Sign In broken

Popup modal not displaying SSO or input field like it should. Other providers unaffected.

  • Tried using TAB + ENTER to see if I could trigger the login manually in case it was just hidden by the UI or something, but no luck.

Version 0.0.16

Current:

image

Expected:

image

How to Install?

Can you provide details instructions or easy way for a non programmer to install it.

Thanks

Fullscreen keyboard shortcut is set up globally

It interferes with other apps like VSCode's "Find in project" shortcut. I would suggest that we listen for this shortcut in the interface.js file instead. Then it will only be triggered when the interface is open.

Happy to implement this if I get the thumbs up.

Bug: Bing URLs and paste not working

Behavior

  • Paste into bing chat does nothing
  • Clicking on links does nothing:
image
  • cmd+click gives:
image

Steps to reproduce

  • menubar 0.0.11-x64, installed from dmg
  • Ventura 13.4.1
  • Logged into Bing, tried to paste and click on links in response

Will consider installing from src to use devtools

Permanently Disable Claude

I do not have access to Claude. Is there a way to permanently disable it so I only see Chatgpt and Bard? I try to move it out of the screen which works fine. But then after I type something, and want to delete the previous thing that I typed, I hit command-A (to highlight the previous text to be deleted) and the Claude screen appears again.

Command + Shift + G switches desktops on macOS instead of opening on the current desktop

Problem: if you use multiple desktops (spaces) on macOS, then pressing Command + Shift + G will switch to the desktop that you originally opened the app on.

Expected behaviour: I would expect the app to open on the current desktop, regardless of which desktop it was originally opened on.

Workaround (updated): right click on the app, select Options, and then Assign To All Desktops.

[Looking for Contributor] New Provider: Phind.com

in #32 we added Provider modules to make it easy to add more chats. if you're new here and want an easy way to contribute, now it's a lot easier!

please claim this and send a PR for us to review!

this work is split out from #13

[Feature] add preset Style/System prompt modifiers

most chat ux is just one textbox.

but actually it's useful to have little toggles or dropdowns that set the chatapps to respond in certain useful ways:

  • System/Role prompts
    • (None)
    • You are a programming assistant.
    • You are a chatbot for docs. Here is the following content of the docs:
    • You are a patient teacher explaining a concept to a competent but non-expert developer.
  • Style prompts
    • (None)
    • Respond with valid JSON and only JSON
    • Respond with valid Python code and only Python code. No backticks.
    • Respond with a markdown table.
    • Respond in Markdown with 2-3 bullet points for each section, with important keywords, concepts, people, dates, and numbers bolded
  • metaprompts
    • Help me craft a really good prompt for ChatGPT.
      First, ask me what I want to do. Pause and wait for my answer. Ask questions to clarify as needed.
      Second, once you have the information suggest a prompt that include context, examples, and chain of thought prompting where the prompt goes step by step through the problem.
      Third, show what your response as ChatGPT would be to the prompt.
      Fourth, ask if the user has any suggestions and help them revise the prompt

etc

questions

  • whats a nice UX/design for this?
  • how to make these system/style prompts customizable and saved by user?

Allow for dock icon to be hideable

The app's dock icon is always visible while the app is open. its not necessary to have both the menu bar icon and the dock icon to show together. (unless im missing a settings option?)

[FEATURE] added styling to normalize the Bard window dimensions to match the Open #helpwanted

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
padding: 0;
margin: 0;
overflow: hidden;
}

:root {
--actual-height: calc(100vh - 12px - 80px);
}

.myarrow {
position: relative;
padding: 12px 0 0 0;
}

.myarrow:before {
content: "";
height: 0;
width: 0;
border-width: 0 8px 12px 8px;
border-style: solid;
border-color: transparent transparent white transparent;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}

@media (prefers-color-scheme: dark) {
.myarrow:before {
border-color: transparent transparent #343541 transparent !important;
}
}

.page {
background: #eeeeee;
width: 100%;
height: calc(100vh - 12px - 80px);
margin-top: 12px;
margin: 0 auto;
position: relative;
}

.flex {
display: flex;
border-radius: 8px;
overflow: hidden;
}

#form {
height: 80px;
width: 100%;
display: flex;
padding: 5px;
}

#form textarea {
width: 100%;
height: 80px;
resize: none;
overflow-y: auto;
padding: 0 12px;
font-size: 16px;
outline: none;
background-color: bisque;
flex-grow: 1;
}

#form button {
margin: 0 4px;
padding: 0 12px;
}

webview {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100vh - 12px - 80px);
display: inline-flex !important;
}

.gutter {
background-color: #eee;
background-repeat: no-repeat;
background-position: 50%;
}

.gutter.gutter-horizontal {
background-image: url("images/vertical-grip.png");
cursor: col-resize;
}

/* Customize the bar color for Split.js */
.split .split-content::after {
background: linear-gradient(to right, #4c6ef5, #9059ff);
}

/* Customize the bar color on hover */
.split .split-bar:hover {
background: linear-gradient(to right, #4c6fff, #9f59ff);
}

/* Additional Styling */

.page.darwin webview {
width: 100%;
height: 100%;
}

#one.split.page.darwin webview,
#two.split.page.darwin webview,
#three.split.page.darwin webview {
width: 100%;
height: 100%;
}

#one.split.page.darwin webview {
width: 1194px;
}

@media screen and (max-width: 1194px) {
#one.split.page.darwin webview {
width: 100%;
}
}

@media screen and (max-width: 1194px) and (orientation: landscape) {
#one.split.page.darwin webview {
height: 100%;
}
}

Input field not automatically activated + weird Enter behavior

Problem: if you press Command + Shift + G on MacOs, the input field is not automatically activated for typing and Enter will submit.

Expected behavior: I would expect the app to automatically activate the field for typing so that I can start writing straight away after pressing Command + Shift + G. Also, I would expect Enter to result in a line break and CMD + Enter to Submit.

Getting an electron forge error

I'm getting an error when running npm build run on my M1 Mac. Has anyone else run into this error?

Electron forge was terminated: You must depend on "electron-prebuilt-compile" in your devDependencies

screenshot

[Feature] Screen Real Estate Ideas

I'm loving the menu bar, using it daily. Things do get a little cramped on the screen — maybe more so since I have a learning disability - but I'd wager for anyone, since both GPT-n and Bard output walls of content.

A few ideas that'd help a ton, in no particular order:

  1. Manual resizability;
  2. Ability to launch smolmenubar in its own window;
  3. A full-screen mode.

I particularly like the external window idea since:

  • It also facilitates resizability (1 above)
  • We could manipulate it using window managers (like Rectangle)

cmd+k type interface to easily select which providers to use

I find myself having to switch providers a lot. Preplexity/bing/bard when I need search. GPT/Claude for more normal stuff. This will only get more complex over time.

I'd wanna build a cmd+k type interface that lets you do this easily. Maybe there's an easier way to do this with just a bar at the top that's super slim with checkboxes on the side. If people like this, I can make this pretty quickly.

running with x86

On x86, this line was requiring that the package be signed to run... comment out if you're trying to get something working

index.js

- require("update-electron-app")();
+ //require("update-electron-app")();

Screenshot 2023-05-22 at 6 33 37 PM

[Request for help] improve design

the superprompt box right now is kind of an ugly yellow.

what should it look like?

note: i am getting a new design done for the icon, i know it sucks haha

[Request] Feature - UI - Allow option to toggle light/dark mode

Request: allow option to toggle light/dark mode

Apologies if this is already available and I missed it. Please let me know where to find it if that's the case.

Also, I can maybe take a stab at adding this myself if someone tells me the relevant files to look at (not too familiar with the codebase).

Suggestions related to additional features

  1. Multiple Vertical Windows each with a customizable URL, all within a main Window.
  2. Each Vertical should have an + and – icon on the top right.
  3. If I click the + icon, it should produce another Vertical window on the right of the existing window, in which we can input a different URL.
  4. On clicking – the icon, it should close the current vertical window.
  5. I should be able to create a maximum 10 numbers of vertical windows, in which we can input each window with a different URL.
  6. The width of the Vertical window should be adjustable.
  7. The Vertical window should be scrollable.
  8. The main window containing Vertical windows should also be scrollable.

Claude Manual Email / Login Code Failing

Hello! Google SSO doesn't work so I tried email login and I get the code, but alas, it doesn't work. It works fine in the browser, but not here. Any ideas?

Thanks!

image

Fix page resize

I created this issue just in case my tweet gets buried.

I'm not sure about your preference for code structure and external deps, so I created a a sandbox based on this repo. I am using jQuery and its resize plugin because you mentioned that you're already using it (I've never written jQuery in my life, so this has been a fun exercise).

You can search for "MODIFIED CODE" to see my changes. Let me know if you have any question.

Setup issues

The first of the 4 frames works fine, but:

  • 2nd: when I click X, Start chatting, and learn more, nothing happens
  • 3rd: login code doesn't work (tried a few times, made sure not to copy/paste a space in the number)
  • 4th: blank
image

Great work!!

I was literally just texting my friends about building something like this and then stumbled over it after reading the code for smol developer. Thank you !!

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.