PrefillPrompt is a web application that generates prompt links to prefill the first message of an LLM conversation. This tool is useful for streamlining and standardizing the initial user interaction with your LLM.
- ✨ Generate Prompt Links: Easily create URLs that prefill the initial message in a LLM conversation.
- 🤖 Multiple LLM Support: ChatGPT, Claude, and Perplexity
- 🔓 Open Source: Built with modern web technologies and open to contributions.
- 🚀 Built with Nuxt 3 and pnpm: Leveraging the power of Nuxt 3 for server-side rendering and pnpm for fast, disk space-efficient package management.
Here is an example URL generated by PrefillPrompt:
https://prefillprompt.com/api/prompt?q=Tell%20me%20the%20Tragedy%20of%20Darth%20Plagueis%20the%20Wise
When visited, this link will prefill the first message of a ChatGPT conversation. Try it
To run PrefillPrompt locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/prefillprompt.git cd prefillprompt
-
Install dependencies:
pnpm install
-
Run the development server:
pnpm dev
The application will be available at
http://localhost:3000
.
https://prefillprompt.com/api/prompt?q=Tell%20me%20the%20Tragedy%20of%20Darth%20Plagueis%20the%20Wise
This will return a URL that can be shared or embedded, allowing users to start a ChatGPT conversation with the specified initial message.
You can customize the prompt by changing the value of the q
query parameter. For example, to generate a link that starts a conversation with the prompt "Explain the benefits of TypeScript", you would use:
https://prefillprompt.com/api/prompt?q=Explain%20the%20benefits%20of%20TypeScript
We welcome contributions! To contribute to PrefillPrompt, follow these steps:
-
Fork the repository: Click the "Fork" button on the top right of the GitHub page and clone your fork locally.
-
Create a new branch:
git checkout -b my-new-feature
-
Make your changes: Implement your feature or bug fix.
-
Commit your changes:
git commit -am 'Add some feature'
-
Push to the branch:
git push origin my-new-feature
-
Create a new Pull Request: Submit your PR and describe your changes.