Giter Site home page Giter Site logo

lucasaschenbach / prompster Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 6.0 3.5 MB

Slash commands for ChatGPT, Gemini, and more.

Home Page: https://chrome.google.com/webstore/detail/prompster/fbagfekcjdidpmmookklbaeddgkjddml

License: MIT License

CSS 1.21% TypeScript 89.10% JavaScript 8.63% HTML 1.06%
chatgpt chrome-extension prompt-toolkit prompts

prompster's Introduction

prompster: ChatGPT Slash Commands

Available in the Chrome Web Store Get the addon

To discuss adding a new chat bot, please comment here: #5

Prompster is a browser extension that streamlines your experience with OpenAI's ChatGPT and other chatbots by providing quick and easy access to a rich and customizable library of prompts. Simply type "/" followed by the prompt name to insert the prompt directly into your chat input field. Prompster comes with a list of predefined prompts which can be found here. This library can be customized and extended to your liking from within the extension by clicking the extension icon in the browser task bar.

prompster for ChatGPT

Supported Chatbots

  • ChatGPT
  • Bard (Legacy)
  • Gemini
  • Claude
  • Google AI Studio
  • Groq
  • OpenAI Playground
  • Huggingface Chat
  • Meta AI
  • AgentGPT
  • Poe
  • nat.dev/chat
  • you.com

How it works

  1. Type the trigger character / in an input field on the site.
  2. An autocomplete window with a textfield will appear above the input field.
  3. As you type your prompt keyword, the window will display up to 5 suggestions that match the starting characters.
  4. The first suggestion is selected by default, but you can navigate the options using arrow keys.
  5. Press the tab key to insert the prompt associated with the selected keyword into the text field.
  6. Press the escape key to close the window and discard the text.

Install

Official Store

Install from the official plugin store for your browser:

Manually

  1. Clone this repository:
git clone https://github.com/lucasaschenbach/prompster.git
  1. Change to the project directory:
cd prompster
  1. Install the dependencies:
npm install
  1. Build the extension:
npm run build
  1. Load the extension in Chrome:
    1. Open Chrome and go to chrome://extensions/.
    2. Enable "Developer mode" in the top right corner.
    3. Click "Load unpacked" and select the dist folder in the project directory.
    4. Your extension should now be loaded and ready to use with ChatGPT.

Credits

The prompts inside static/default_prompts.json were sourced from the Awesome ChatGPT Prompts repository. If you found the prompts interesting and useful, consider checking out their repository!

License

This project is open-source and available under the MIT License. For more details, please see the LICENSE file.

prompster's People

Contributors

lucasaschenbach 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

Watchers

 avatar  avatar

prompster's Issues

[feature request] Adding Bing Chat Compatibility to Chrome Extension

I recently discovered your Chrome extension and have been impressed with its functionality. I would like to request the addition of Bing Chat compatibility to further expand its reach and usefulness.

Benefits of adding Bing Chat compatibility:

Increased User Base: Supporting Bing Chat would allow your extension to reach a broader audience, providing value to Bing Chat users.

Competitive Edge: Supporting Bing Chat would set your extension apart from competitors, as there are limited options available for Bing Chat users. Being one of the first extensions to provide Bing Chat compatibility would establish the position of your extension as pioneers in this area.

Terminal Linux

I want you to act as a linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. do not type commands unless I instruct you to do so. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}. My first command is pwd

Bug: Slash Commands do not work unless typed at text field beginning

Hi, when the text field is empty, slash commands work as expected. However, if there's any text in the field, these commands fail to function.

UPDATE: Initially, I believed slash commands failed when there was text in the text fields. However, upon further testing, I found that they only work when the typing cursor is positioned at the very beginning of the text field regardless of the absence or presence of text, as illustrated in the screenshot I captured. Even If I move the typing cursor with space without any text in the field it also won't work.

image

AsistenteLinkedin

[
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Tu misión es ayudar a un cliente a elaborar un buen perfil de LinkedIn que atraiga el mayor numero de reclutadores posibles."
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Deberás realizar las siguientes preguntas:"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Que experiencia laboral tienes?"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Que formación tienes?"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "cuales son tus puntos fuertes y débiles? en esta pregunta tendrás que ofrecer ayuda indicando los puntos fuertes y débiles que podría tener el cliente según la experiencia laboral que te ha proporcionado"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Que habilidades tienes? en esta pregunta deberás ayudar al cliente a seleccionar las habilidades que sean requeridas en la mayoría de empleos disponibles según el perfil laboral del cliente"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Finalmente harás un resumen estructurado, de toda la información que tiene que añadir al perfil de LinkedIn:"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Experiencia laboral"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Formación"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Puntos fuertes y débiles"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "habilidades"
},
{
"Eres un experto desarrollador en LinkedIn y además has trabajado de reclutador en la misma web.": "Comenzarás a preguntar después de la orden "hola""
}
]

Transferring Prompt Data Between Computers

Hi @LucasAschenbach,

Thank you for your excellent work on this repository, first and foremost. I have been using this extension extensively for the past few months and it has saved me a lot of time. There is just one feature that I've been wishing was added now for a while regarding prompt data transfer.

To give you some background on my attempts to resolve this:

  1. SQLite Exploration: I've spent considerable time looking into .sqlite files within the local file directory, hoping to find where the data might reside.
  2. Extension Debugging: I tried debugging the extension within Firefox to see if I could pinpoint where the data is managed.
  3. Firefox Developer Tools: Through the Developer Tools in Firefox, I managed to discover the "Extension Storage" section. Within this storage, I found a key named prompts which appeared to have a dictionary as its value, containing all the prompt-message pairs I've been working with. However, I reached a dead-end after this, as I couldn't determine a method to extract, modify, or transfer this data efficiently.

Given my findings, I am mainly raising this issue because I've created something on the order of 100 prompts, and it becomes quite tedious to manually transfer this data from my main computer to my secondary ones.

Is there any possibility we could have an "export" and "import" functionality within the extension? Such a feature would be incredibly valuable, ensuring a streamlined process for backup and data migration between devices.

I completely understand the intricacies of adding new features, especially if there are underlying technical or security considerations. However, I'm eager to help! While I have some experience in coding, I'm not too familiar with TypeScript. If you could point me in the right direction, I'd be happy to try and contribute towards this feature.

Once again, thanks for all your hard work. I understand that maintaining open-source projects is a hefty task, and your dedication doesn't go unnoticed. Look forward to hearing back whenever you get a chance.

Best,
Malek

Multiline variables

Hello! If possible, please add support for multiline variables to facilitate pasting code and large texts. Currently, code and large texts lose new lines when pasted in as a variable.

Also, the "What's New" button does not work for me. It only opens a popup.html in a new tab. I found out about variables (which is a very useful functionality) very randomly. Tried on Edge and Chrome.

Thank you!

Gemini doesn't work

Hey Lucas, great extension!

I can't get it to work on Gemini pages. The plugin loads (verified by "Can read and change site data") but nothing happens on "/". It still works for me on ChatGPT and Claude.

Any ideas? I tried to look at the code but got lost quickly :)

ChatGPT Domain Name Changed

Hi, I think the domain name of ChatGPT changed from chat.openai.com to chatgpt.com, so the "/" input no longer works. Would this be an easy fix?

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.