Skip to content

Power Prompts to Repurpose Content

🔑 ID:

53791

👨‍💻

Python

🕒

28/06/2024
Free

Description:

These are 5 prompts from my premium prompts library that will help you repurpose any input into any type of content.

I’ve talked about how you can do this using a Python script in this blog post.

Code:

text_to_x_thread = """
##Task

You are an expert in twitter thread writing, where you have a 10 year experience in writing succeful threads.
Your task is to convert a given piece of text, youtube video transcript, blog post, PDF, etc... which will be 
delimited between triple backticks, into an a successful viral worthy twitter thread of 5-10 tweets. While 
adhering to Twitter's foundation, constraints, and community guidelines, your rewrite should amplify the 
given text's accessibility and viral potential. 

You are free to creatively editing the provided text as needed, keeping the following objectives in mind:

1. Each tweet must resonate with the readers, deploying emotional triggers and poignant language to inspire 
shares and dialogues.
2. Insert key hashtags at strategic locations within your thread tactically to broaden its reach and influence, 
however dont overuse them
3. Incorporate a dash of wit or humor to make the thread more personable and enjoyable. Also dont over use this
only add it if necessary.
4. Keep the language lucid and simple enough for a broad audience, equivalent to the comprehension level of a 
7th grader.
5. Each tweet should comply with Twitter's 280 character limit, so to stay on the safe side use a maximum of 275 
characters per tweet.
6. Make sure that the first tweet is catchy where we can hook the reader to stop scrolling and read our thread.
This is usually done by making the first tweet only made of three sentences divided by a spacer, written in
a hooking tone.

##Input

Input: ```{input}```

##Output

The output should be the twitter thread only and nothing else. Here's a sample structure:

🧵 Want to supercharge your content creation without writing a single line of code? 🚀

We've built a game-changing system for keyword and topic research using #NoCode tools. And the best part? It's free and simple to set up! 👇
1️⃣ This system performs two primary tasks:
- **Keyword Research** using Google Suggestions API 📊
- **AI-Powered Topic Research** analyzing niche articles 🧠

All data is neatly organized in Google Sheets for easy access. 📝

2️⃣ We use "Make" for automation. Why?
- **Customization**: Build any workflow you imagine! ✨
- **Affordability**: Cheaper than alternatives like Zapier. 💸

3️⃣ Here's how it works:
- **Keyword Research**: Generate up to 300 keyword ideas per parent keyword with Google Suggestions API. 🔍
- **Topic Research**: Get top Google results and extract unique topics using AI. 🤖

4️⃣ Setup is a breeze:
1. Log into your Make account
2. Install the Content Extractor App
3. Clone the provided Google Sheet
4. Create a datastore and import the system blueprint 🛠️

5️⃣ Bonus tip: You can sell this "done-for-you" system to businesses needing automation! 💼

This system is a time-saver and a business opportunity! 🌟

6️⃣ Take it a step further:
- Add AI analysis for deeper insights

"""

text_to_medium_post = """
##Task

Act as an expert Medium post copywriter, your goal is to create an engaging and potentially viral Medium post 
from the provided piece of text, youtube video transcript, blog post, PDF, etc... which will be delimited 
between triple backticks. Please follow these guidelines to transform the input into a captivating piece:

1. Incorporate humor where appropriate, ensuring relevance and suitability for the content.
2. Thoughtfully use emojis to reinforce the tone and message. Don't overuse them
3. Maintain simplicity and directness, avoiding fluff and complex language.
4. Follow this post structure:
    Title: Craft a clickbait title that sparks an emotional reaction from readers.
    Subheading: Formulate a subheading relevant to the title, making the post more intriguing.
    Hook: Compose a captivating 1-2 sentence hook that stimulates readers to continue reading.
    Paragraphs: Ensure paragraphs are brief, engaging, and impactful for readers.
    Quote: Conclude the post with a relevant, motivational, or inspiring quotation associated with the topic.

Make sure to include headings, subheadings, and lists when applicable, aiming for a visually appealing, 
easy-to-read format, and the essential principles of crafting an attention-grabbing Medium post.

##Input

Input: ```{input}```

##Output

The output should be a well structured medium post, and ofcourse with a catchy title that would hook the reader.
"""

text_to_blog_post = """
##Task

As an expert blog copywriter. Your task is to compose an engaging, informative blog post using the provided 
piece of text, youtube video transcript, blog post, PDF, etc... which will be delimited between triple backticks. 
Please make sure the blog post complies with the following guidelines:

1. The language you use should be straightforward and simple, to ensure young readers can grasp the 
content quickly and easily. Avoid complex or uncommon vocabulary that might cause any confusion.

2. Make sure to be compelling and engaging, keeping the readers hooked from beginning to end.

3. Add elements of personal touch and humor at the right moments to enhance reader engagement and 
make the blog post more enjoyable.

4. Propose places where I can add appropriate visual aids like Gifs, PNG images, or diagram. Make sure to
explain in detail what I the visual is so that I know what to add.

##Input

Input: ```{input}```

##Output

The output should be a well structured blog post, and ofcourse with a catchy title that would hook the reader.
"""

text_to_summary = """
##Task

You are an expert in summarizing text. Your task is to extract essential insights and generate a summary of  
the provided piece of text, youtube video transcript, blog post, PDF, etc... which will be delimited 
between triple backticks. Make sure you analyze the content thoroughly and identify key insights, so that you
generate a well structured summary covering all the key points and demonstrating a deep understanding of the content.

##Input

Input: ```{input}```

##Output

The response should be formatted as a list of bullet points Only, each accompanied by a fitting and unique emoji. 
Ensure that each emoji is unique and relevant to the point. And avoid using brackets in your final response. 
Don't add anything above or below the bullet list.
"""

text_to_newsletter = """
##Task

You are an expert in newsletter copywriting, your task is to transform the provided piece of text, youtube video transcript, blog post, PDF, etc... which will be delimited 
between triple backticks into a newsletter section. Keep in mind that my newsletter (Thursday Pulses) is 
mostly informational, where I send 2-3 sections about the projects I did over the week. So, take the main idea
out of the provided input and turn it into a small section where the reader can easily get the idea and keypoint out
of what he's reading. Make sure to add a compelling title to the section, and tell me where I can add images by
providing a description of what I should add.

##Input

Input: ```{input}```

##Output

The output should be a well structured newsletter section with its title and nothing else. Here's an example 
from my newsletter Thursday Pulses:

YouTube -> Summary -> Blog Outline Using SimplerLLM

Below is an example of a 3-step automation workflow that helps you repurpose any YouTube video into a 
structured Blog outline using SimplerLLM.

Here's a visual demonstration to simplify the idea more for you:

[A visual demonstration of the steps to do]

The code I'm about to show you will first take a YouTube video URL, extract the transcript, turn it into 
a bullet point summary using OpenAI's API, and then turn this summary into a well-structured blog post outline:

[An image of the whole code]

As you can see, we're using two prompts in this script: one that turns the video transcript into a bullet 
point summary and another that turns the summary into an outline. Although these prompts use the basic components 
of a good prompt, however, they can be improved. (Read this article)[link to my article] to learn how you can craft your own prompts 
the right way!

In addition to the code above, you're gonna need to create a ".env" file in the same folder as the code, 
which contains your OpenAI API key and Gemini API key. (you can leave the Gemini key blank if you plan only 
on using OpenAI and vice versa) Like this:

[An image of the .env file]

Now, you have your own AI automation engine that turns any YouTube video into a blog post outline, 
which will help you write your own blog posts much faster and more easily.

[Get the Codes Button]
"""

format_to_json = """
##Task

You are an expert in formatting different types of text into json. Your task is to turn the 3 received inputs which
are 3 types of social posts like newsletter, a simple summary, a blog post, a twitter thread, etc... and you'll
group these 3 inputs in a json format with there type before them.

##Input

Input 1: ```{input_1}```
Input 2: ```{input_2}```
Input 3: ```{input_3}```

##Output

The output should be only the json format and nothing else before or after it. Make sure to analyze each input
to know what is its type and then write it next to it. Here's an example:

{{
    Twitter thread: the twitter thread in input_1,
    Newsletter section: the newsletter section in input_2,
    Bullet point summary: the bullet point summary in input_3,
}}
"""

 

GitHub Link

✖️ Not Available

Download File

✖️ Not Available

If you’re encountering any problems or need further assistance with this code, we’re here to help! Join our community on the forum or Discord for support, tips, and discussion.