prompts / README.md
bhavnicksm's picture
Initialize promptlie repository
cca7b2d verified
---
license: mit
tags:
- prompts
- ai
- prompt-management
- promptlie
---
![Promptlie Logo](https://raw.githubusercontent.com/bhavnick/promptlie/main/assets/promptlie.png)
# πŸ•ŠοΈ bhavnicksm's Prompts
This private repository contains prompts managed by [**promptlie**](https://github.com/bhavnick/promptlie) - a free, open-source solution for prompt management using Hugging Face Hub.
## πŸ“‚ Repository Structure
```
prompts/
β”œβ”€β”€ prompt-name-1.json
β”œβ”€β”€ prompt-name-2.json
└── ...
```
Each prompt is stored as a JSON file containing:
- **content**: The actual prompt text
- **metadata**: Author, version, performance metrics, etc.
- **fields**: Template variables for dynamic prompts
- **tags**: Organization and discovery
- **version**: Prompt versioning for iteration
## πŸš€ Using These Prompts
```python
from promptlie import Promptlie
# Connect to this repository
store = Promptlie("bhavnicksm")
# Load a prompt
prompt = store.get("prompt-name")
print(prompt.content)
# Use with variables
filled_prompt = prompt.content.format(**your_data)
```
## 🎯 Want Your Own Prompt Repository?
Get started with **promptlie** in 2 minutes:
```bash
pip install promptlie
```
```python
from promptlie import Promptlie, Prompt
# Create your store
store = Promptlie("your-username", api_key="your-hf-token")
store.init() # Creates your repository
# Add prompts
prompt = Prompt(
name="my-prompt",
content="Hello {name}, welcome to {app}!",
fields=["name", "app"],
tags=["greeting", "onboarding"]
)
store.publish("my-prompt", prompt)
```
✨ **Free forever** β€’ πŸ”’ **Private & public repos** β€’ πŸ“ **Version control**
---
*Powered by [promptlie](https://github.com/bhavnick/promptlie) & [Hugging Face Hub](https://huggingface.co/docs/hub)*