Influencer Campaign Planner
Run ID: 69ccc1923e7fb09ff16a4d362026-04-01Marketing
PantheraHive BOS
BOS Dashboard

Plan an influencer marketing campaign with ideal influencer profiles, outreach templates, contract terms, content guidelines, and ROI tracking framework.

Influencer Campaign Planner: Audience Analysis (Step 1 of 3)

Introduction

This document provides a comprehensive analysis of the target audience for the upcoming influencer marketing campaign. Understanding our audience deeply is the foundational step to identifying the right influencers, crafting compelling content, and ensuring maximum return on investment. This analysis integrates demographic, psychographic, and behavioral insights to paint a clear picture of who we are trying to reach.


1. Executive Summary: Key Audience Insights

Our primary target audience is tech-savvy, environmentally conscious, and value-driven professionals and active consumers aged 25-45, predominantly residing in urban and suburban areas. They are highly engaged on social media, prioritizing authentic content, educational value, and genuine recommendations over traditional advertising. They are looking for solutions that enhance their lifestyle, align with their ethical considerations, and provide measurable benefits.


2. Target Audience Demographics

Understanding the foundational characteristics of our audience helps in initial influencer filtering and platform selection.

  • Age Range:

* Primary: 25-45 years old (Millennials and older Gen Z). This group possesses significant purchasing power and is highly active online.

* Secondary: 18-24 years old (younger Gen Z) and 46-55 years old (younger Gen X) for specific product/service extensions.

  • Gender Split:

* Approximately 55% Female, 45% Male. This slight lean towards female consumers suggests a need for diverse content appealing to both, but with a nuanced approach for the female segment.

  • Geographic Location:

* Primary: Major metropolitan areas and affluent suburban communities in North America (USA, Canada), Western Europe (UK, Germany, France), and select APAC markets (Australia, Singapore). These regions demonstrate higher disposable income and digital literacy.

* Secondary: Other developed urban centers globally.

  • Income Level:

* Mid-to-High Household Income: $70,000+ USD equivalent. This indicates a capacity for discretionary spending on quality products/services.

  • Education Level:

* College-educated and above (Bachelor's degree, Master's degree). This audience is typically well-informed and analytical, seeking detailed information and credible sources.

  • Occupation:

* Young professionals, managers, entrepreneurs, and individuals in creative or tech-related fields. Also includes a significant segment of active parents.


3. Target Audience Psychographics & Behaviors

Delving deeper into motivations, values, and online habits provides critical insights for content strategy and influencer selection.

  • Interests & Hobbies:

* Primary: Health & Wellness (fitness, nutrition, mental health), Sustainable Living (eco-friendly products, ethical consumption), Technology & Innovation, Personal Development, Travel & Exploration, Home Improvement/Design, Niche Hobbies (e.g., specific gaming, crafting, outdoor activities).

* Secondary: Fashion, Food & Beverage, Arts & Culture.

  • Values & Beliefs:

* Authenticity & Transparency: Highly value genuine content and honest reviews. Skeptical of overly polished or clearly sponsored posts lacking substance.

* Sustainability & Ethics: Prioritize brands and products with clear environmental and social responsibility.

* Community & Connection: Seek out shared experiences, belong to online communities, and value peer recommendations.

* Self-Improvement & Growth: Interested in content that educates, inspires, or helps them achieve personal and professional goals.

* Convenience & Efficiency: Appreciate solutions that save time, effort, or simplify their lives.

  • Pain Points & Challenges:

* Information overload, decision fatigue, finding trusted sources, balancing work/life, maintaining health and wellness, making sustainable choices, financial planning.

  • Aspirations:

* Achieving personal and professional success, living a healthy and balanced life, making a positive impact on the world, unique experiences, financial security, continuous learning.

  • Brand Perception:

* Trust brands that are transparent, socially responsible, and offer genuine value. They are loyal to brands that align with their personal values and deliver on promises. They often research extensively before purchasing.


4. Audience Platform Preferences & Content Consumption

Understanding where and how our audience consumes content is crucial for channel strategy.

  • Primary Social Media Platforms:

* Instagram: High engagement for visual content (Reels, Stories, Carousels, static posts), lifestyle inspiration, short-form video.

* TikTok: Dominant for short-form, authentic, entertaining, and educational video content. High virality potential.

* YouTube: Preferred for longer-form tutorials, in-depth reviews, educational series, and vlogs.

* Pinterest: Key for inspiration, product discovery, DIY guides, and visual search (especially for home, fashion, and lifestyle).

* LinkedIn: For professional development insights, industry trends, and B2B-focused products/services.

* Facebook: Still relevant for group communities, events, and reaching slightly older segments (35+).

  • Preferred Content Formats:

* Short-form Video: Highly engaging, digestible, and shareable (TikTok, Instagram Reels).

* Long-form Video: In-depth explanations, tutorials, product demonstrations (YouTube).

* Authentic Stories/Live Streams: Behind-the-scenes content, Q&A sessions, real-time engagement.

* Visually Appealing Static Posts/Carousels: Educational content, infographics, aesthetic product showcasing (Instagram, Pinterest).

* Blog Posts/Articles: For detailed information, thought leadership, and SEO discovery.

* Podcasts: Growing consumption for educational and entertainment purposes during commutes or workouts.

  • Consumption Habits:

* Mobile-first: Majority of content consumption occurs on mobile devices.

* Peak Activity: Evenings (7 PM - 10 PM local time), lunch breaks, commutes.

* Engagement: High interaction with interactive elements like polls, Q&A stickers, comments, and direct messages. They seek dialogue.

* Trusted Sources: Micro and Nano influencers (due to perceived authenticity and niche expertise), subject matter experts, peer recommendations, and review aggregators.


5. Key Trends & Insights

  • Rise of Authenticity & Relatability: Audiences are fatigued by overly polished, unrealistic content. They crave genuine, relatable experiences and imperfect narratives.
  • Demand for Value-Driven Content: Content must educate, entertain, solve a problem, or inspire. Purely promotional content is often scrolled past.
  • Micro & Nano Influencer Dominance: Smaller creators with highly engaged, niche communities are often more effective at driving conversions due to higher trust and perceived expertise.
  • Social Commerce Integration: The expectation for seamless purchasing directly from social platforms is growing.
  • Ethical Consumption: A significant segment of the audience actively seeks out brands aligning with ethical production, sustainability, and social responsibility.
  • Video-First Strategy: Video content, especially short-form, continues to dominate engagement across platforms.

6. Implications for Influencer Strategy

Based on this comprehensive audience analysis, our influencer strategy must:

  • Prioritize Authenticity: Select influencers who genuinely resonate with our brand's values and can integrate our products/services into their authentic lifestyle.
  • Focus on Niche Relevance: Target influencers whose audience demographics and psychographics precisely match ours, even if their follower count is smaller. Niche expertise builds trust.
  • Emphasize Value-Driven Content: Encourage influencers to create content that educates, entertains, or solves a problem for their audience, rather than just showcasing a product.
  • Diversify Platform Engagement: Utilize a multi-platform approach, leveraging the strengths of each (e.g., TikTok for virality, YouTube for depth, Instagram for visual lifestyle).
  • Foster Long-Term Relationships: Partner with influencers for sustained campaigns to build deeper trust and repeated exposure, mirroring the audience's desire for consistent, reliable information.
  • Integrate Social Proof: Encourage user-generated content (UGC) and authentic reviews as part of the campaign to leverage the audience's trust in peer recommendations.

7. Recommendations for Influencer Profile & Content

This section outlines the ideal characteristics for our influencers and the type of content they should create.

Ideal Influencer Profile:

  • Niche Expertise: Influencers specializing in relevant areas such as sustainable living, tech reviews, holistic wellness, mindful parenting, specific hobbies, or career development.
  • Audience Overlap: A high percentage of their followers (minimum 70%) should align with our target audience demographics and psychographics.
  • Authenticity & Relatability: Possesses a genuine voice, strong personal brand, and a track record of creating authentic, unscripted content. They should feel like a trusted friend or expert to their audience.
  • Strong Engagement Rate: Prioritize engagement metrics (comments, shares, saves, likes per post) over raw follower count. An engagement rate of 3-8% is generally good, but higher for micro/nano influencers.
  • Content Quality: While authenticity is key, content should still be well-produced, visually appealing, and clear in its messaging.
  • Values Alignment: Demonstrates a clear alignment with our brand's core values (e.g., sustainability, innovation, community, quality).
  • Communication & Professionalism: Responsive, collaborative, and understands brand guidelines.

Recommended Content Guidelines:

  • Authentic Storytelling: Encourage personal narratives, "day in the life" content, or how the product/service genuinely integrates into their routine and solves a problem.
  • Educational & Informative: "How-to" guides, tutorials, myth-busting, deep dives into product features and benefits, explaining the "why" behind sustainable choices.
  • Problem/Solution Focus: Content that clearly identifies a pain point our audience faces and demonstrates how our product/service provides an effective solution.
  • Visually Engaging & Dynamic: High-quality photos, dynamic videos (short-form and long-form), engaging graphics for carousels.
  • Interactive Elements: Utilize polls, Q&A stickers, "this or that" formats, challenges, and prompts to encourage audience participation.
  • Behind-the-Scenes/Process: Showcase the product in development, the brand's values in action, or the influencer's creative process.
  • Clear, but Soft Call to Actions (CTAs): Encourage exploration, learning, or gentle recommendation rather than aggressive sales pitches (e.g., "Learn more at [link]", "Check out how I use this for X," "Discover the difference").

8. Next Steps

  1. Develop Detailed Influencer Personas: Create 2-3 specific influencer personas based on these insights to guide the identification process.
  2. Begin Influencer Identification & Vetting: Utilize influencer marketing platforms and manual research to identify potential partners who align with the defined profiles and content guidelines.
  3. Refine Content Pillars & Messaging Strategy: Based on audience psychographics, finalize the core themes and messages that will resonate most effectively.
  4. Define Specific Campaign KPIs: Establish measurable key performance indicators (e.g., engagement rate, website traffic, conversion rate, brand sentiment) that align with audience behaviors and campaign objectives.
  5. Competitor Influencer Analysis: Conduct a brief analysis of competitor influencer campaigns to identify successful strategies and potential gaps.

9. Data Sources & Methodology (Assumed)

This audience analysis is synthesized from a combination of typical market research methods and data sources, including:

  • Social Media Analytics: Insights from existing brand social media channels (e.g., Instagram Insights, TikTok Analytics, YouTube Analytics).
  • Website Analytics: Google Analytics data on user demographics, interests, and behavior.
  • **
gemini Output

Influencer Campaign Plan: Elevating Your Brand Through Authentic Voices

Introduction: Harnessing the Power of Influence

Welcome to your comprehensive Influencer Campaign Plan, designed to guide you through the strategic development and execution of a highly impactful influencer marketing initiative. In today's dynamic digital landscape, authentic voices hold immense power to connect with audiences, build trust, and drive meaningful results. This plan provides a detailed framework, from identifying the perfect partners to measuring your return on investment, ensuring your campaign is not only successful but also scalable and sustainable.

By leveraging the right influencers, we aim to amplify your brand message, engage target communities, and achieve your marketing objectives with unparalleled authenticity and reach.


1. Campaign Overview & Strategic Objectives

Before diving into the specifics, it's crucial to define the core purpose and desired outcomes of your influencer campaign.

Campaign Title Placeholder: "Glow & Grow: [Your Brand Name] Sustainable Beauty Launch"

(Action: Customize this title to reflect your specific campaign and brand.)

1.1. Target Audience & Market Segment

  • Primary Audience: Environmentally-conscious millennials and Gen Z individuals (20-35 years old) who prioritize ethical sourcing, natural ingredients, and sustainable packaging in their beauty and skincare routines. They are active on Instagram, TikTok, and YouTube, value transparency, and seek recommendations from trusted peers and experts.
  • Secondary Audience: Health-conscious individuals seeking high-quality, effective, and gentle skincare solutions, regardless of age, who are open to sustainable choices.

1.2. Campaign Goals (SMART Objectives)

Our influencer campaign will be designed with the following Specific, Measurable, Achievable, Relevant, and Time-bound (SMART) objectives:

  • Brand Awareness: Increase brand visibility and recognition by 30% among our primary target audience within 3 months.
  • Engagement: Drive a 25% increase in average engagement rate (likes, comments, shares, saves) on influencer-generated content compared to industry benchmarks within 3 months.
  • Website Traffic: Generate a 20% increase in unique website visitors to our product landing page, attributed to influencer links, within 3 months.
  • Sales/Conversions: Achieve 15% of new product sales directly attributable to influencer unique discount codes or affiliate links within 4 months.
  • Brand Sentiment: Improve positive brand mentions and sentiment by 10% across social media platforms within 3 months.

1.3. Key Performance Indicators (KPIs)

To measure the success of our objectives, we will track the following KPIs:

  • Reach & Impressions: Total unique views and total times content was displayed.
  • Engagement Rate: Likes, comments, shares, saves per post relative to follower count.
  • Click-Through Rate (CTR): Clicks on links (e.g., "Link in Bio," swipe-up links) to total impressions.
  • Website Sessions & Conversions: Traffic to specific landing pages and purchases made.
  • Follower Growth: Increase in brand's own social media followers.
  • Mentions & Tags: Number of times the brand is mentioned or tagged.
  • Sentiment Analysis: Monitoring comments and mentions for positive, neutral, or negative sentiment.
  • Cost Per Engagement (CPE) / Cost Per Acquisition (CPA): Efficiency metrics.

2. Ideal Influencer Profiles: Finding Your Brand's Authentic Voices

Identifying the right influencers is paramount. We will target a diverse range of creators whose audience, content style, and values align perfectly with our brand.

2.1. Influencer Tiers & Characteristics

We will focus on a tiered approach to maximize reach and authenticity:

  • Tier 1: Nano-Influencers (1K - 10K Followers)

* Characteristics: Highly niche, deeply engaged communities, high trust factor, often perceived as friends. Excellent for authentic reviews and driving conversations.

* Focus: Product trials, user-generated content (UGC), driving direct engagement and conversions within specific micro-communities.

* Compensation: Often product-based, small flat fee, or affiliate commission.

  • Tier 2: Micro-Influencers (10K - 100K Followers)

* Characteristics: Strong engagement rates, established authority within their niche, growing reach. Ideal for authentic storytelling and demonstrating product use.

* Focus: Product reviews, tutorials, lifestyle integration, driving website traffic and consideration.

* Compensation: Flat fee per post/campaign, product bundles, affiliate commissions.

  • Tier 3: Macro-Influencers (100K - 1M Followers)

* Characteristics: Broader reach, professional content quality, established personal brand. Good for widespread awareness and legitimacy.

* Focus: Brand awareness, large-scale product launches, driving significant traffic.

* Compensation: Higher flat fee per post/campaign, potentially long-term retainers.

  • Tier 4: Celebrity/Mega-Influencers (1M+ Followers)

* Characteristics: Very broad reach, mainstream appeal, significant impact on brand perception.

* Focus: Mass market awareness, brand endorsement, major campaigns.

* Compensation: Substantial flat fees, long-term contracts, equity.

2.2. Key Selection Criteria

Beyond follower count, we will meticulously evaluate influencers based on:

  • Niche Relevance: Does their content align with sustainable beauty, wellness, or ethical living?
  • Audience Demographics: Does their audience match our target demographic (age, gender, location, interests)?
  • Engagement Rate: High engagement (comments, shares, saves relative to likes) indicates an active and loyal audience. (Ideal: 3-8% for Micro/Macro, 8%+ for Nano).
  • Authenticity & Trust: Do they genuinely connect with their audience? Are their recommendations trusted?
  • Content Quality & Aesthetic: Is their visual style consistent and appealing? Does it align with our brand's aesthetic?
  • Brand Alignment & Values: Do their personal values and past collaborations resonate with our brand's mission and ethics?
  • Professionalism: Responsiveness, reliability, and adherence to deadlines.
  • Past Performance: Success in previous brand collaborations (if available).
  • Red Flags: High follower-to-engagement ratio, history of controversial content, fake followers, or spammy comments.

2.3. Influencer Identification Tools

We will utilize a combination of methods:

  • Manual Search: Exploring relevant hashtags, competitor mentions, and "suggested for you" features on platforms like Instagram, TikTok, and YouTube.
  • Influencer Marketing Platforms: Tools like HypeAuditor, Upfluence, or GRIN to discover, vet, and manage influencers based on detailed analytics.
  • Audience Insights: Analyzing existing customer data and social media followers to identify potential brand advocates.

3. Influencer Outreach Strategy & Templates

A professional and personalized outreach approach is crucial for securing top-tier talent.

3.1. Outreach Stages

  1. Initial Identification & Vetting: Research and shortlist potential influencers.
  2. Personalized Introduction: Send an initial email or DM expressing genuine interest and alignment.
  3. Detailed Proposal: Follow up with a comprehensive offer outlining deliverables, compensation, and campaign goals.
  4. Negotiation & Agreement: Finalize terms and move to contract.

3.2. Outreach Template 1: Initial Contact (Email/DM)

Subject: Collaboration Opportunity: Partnering with [Your Brand Name] for Sustainable Beauty

Hi [Influencer Name],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. I've been following your content for a while now, and I'm consistently impressed by your [mention specific aspect, e.g., authentic approach to sustainable living / insightful skincare reviews / beautiful aesthetic]. Your recent post about [mention a specific piece of their content] particularly resonated with us.

At [Your Brand Name], we're passionate about [briefly state your brand's mission, e.g., creating high-performance, ethically sourced skincare that's kind to the planet]. We believe your values and audience align perfectly with our mission, and we're launching an exciting campaign for our new [Product Name/Collection] that we think you'd be a fantastic fit for.

Would you be open to a brief chat sometime next week to discuss a potential collaboration? I'd love to share more about our brand and see if there's a mutual fit.

Looking forward to hearing from you!

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website Link]

[Your Social Media Link]

3.3. Outreach Template 2: Detailed Proposal (After Initial Interest)

Subject: Proposal: [Your Brand Name] x [Influencer Name] - "Glow & Grow" Campaign

Hi [Influencer Name],

Thanks so much for connecting! It was great learning more about your content and audience.

As discussed, we're thrilled at the prospect of collaborating with you on our "Glow & Grow" campaign to introduce our new [Product Name/Collection] – a line of [brief description, e.g., vegan, cruelty-free, and sustainably packaged skincare essentials].

Here's an outline of our proposed collaboration:

  • Campaign Goal: To generate authentic awareness and drive engagement around our [Product Name/Collection] by showcasing its benefits and sustainable ethos to your engaged audience.
  • Deliverables:

* 1 x Instagram Feed Post: High-quality photo or carousel (static/video) featuring [Product Name/Collection] with a genuine review and key messaging.

* 2 x Instagram Stories: Engaging short videos (15-30 seconds each) demonstrating product use, unboxing, or a "day in the life" integration.

* Call to Action: Encourage followers to visit [Your Website Link] using your unique discount code [INFLUENCERCODE] for 15% off their first order.

* Required Hashtags: #[YourBrandName]Glow, #[ProductTag], #SustainableBeauty, #Ad (mandatory disclosure).

* Tagging: @[YourBrandInstagramHandle]

  • Timeline: Content to be posted between [Start Date] and [End Date]. Drafts for review required by [Review Date].
  • Compensation: We are pleased to offer a flat fee of [Amount] for the deliverables outlined above. Additionally, you will receive a complimentary product bundle of our [Product Name/Collection] (valued at [Value]).
  • Usage Rights: We kindly request non-exclusive usage rights to repurpose your approved content on our social media channels and website for a period of [e.g., 6 months] with appropriate attribution.

We believe your authentic voice and creative approach would be invaluable in bringing this campaign to life. We're open to your creative input and want this to be a truly collaborative effort.

Please let us know your thoughts on this proposal. We're happy to schedule another call to discuss any questions or negotiate terms.

Looking forward to potentially partnering with you!

Best,

[Your Name]


4. Influencer Contract Terms & Agreements

A clear, legally sound contract protects both parties and outlines expectations. This section highlights key clauses. (Always consult legal counsel for final contract review.)

4.1. Key Contractual Clauses

  • Scope of Work & Deliverables:

* Detailed list of all content pieces (posts, stories, videos, blogs).

* Specific platforms (Instagram, TikTok, YouTube).

* Minimum posting frequency and schedule.

* Required inclusion of brand tags, hashtags, and CTAs.

  • Payment & Compensation:

* Agreed-upon flat fee, product value, commission structure, or a combination.

* Payment schedule (e.g., 50% upfront, 50% upon completion; 30-day net).

* Currency and payment method.

  • Usage Rights & Licensing:

* Grant of non-exclusive or exclusive rights for the brand to use influencer content.

* Duration of usage rights (e.g., 6 months, 1 year, perpetual).

* Specific channels where content can be repurposed (brand social, website, paid ads).

* Attribution requirements.

  • Exclusivity:

* Period during which the influencer cannot promote competing brands or products.

* Scope of exclusivity (e.g., specific product category, entire industry).

  • Disclosure Requirements:

* Mandatory use of #Ad, #Sponsored, or specific platform disclosure tools (e.g., Instagram's "Paid Partnership" tag) in compliance with FTC guidelines and local regulations.

* Clear communication that content is sponsored.

  • Content Guidelines & Approval:

* Brand's right to review and approve all content before publishing.

* Number of revisions allowed.

* Adherence to brand messaging, tone, and visual identity.

  • Termination Clause:

* Conditions under which either party can terminate the agreement (e.g., breach of contract, failure to deliver).

* Consequences of termination (e.g., partial payment, return of products).

  • Confidentiality:

* Agreement to keep all campaign details, product information, and compensation confidential.

  • Representations & Warranties:

* Influencer confirms they own the rights to their content, it's original, and doesn't infringe on third-party rights.

* Influencer confirms they have the authority to enter the agreement.

  • Indemnification:

* Influencer agrees to protect the brand from claims arising from their actions (e.g., misrepresentation, non-disclosure).

  • Governing Law:

* Jurisdiction whose laws will govern the contract.

4.2. Important Considerations

  • Clarity is Key: Ensure all terms are unambiguous.
  • Mutual Benefit: Contracts should protect both parties fairly.
  • Legal Review: Always have a legal professional review contracts before signing.

5. Content Guidelines & Creative Brief: Crafting Impactful Narratives

A strong creative brief ensures consistent messaging and high-quality content that resonates with both the influencer's audience and your brand.

5.1. Overall Campaign Message & Tone

  • Core Message: "Discover the power of nature for radiant skin, with [Your Brand Name]'s sustainable and effective skincare solutions."
  • Key Themes: Natural beauty, sustainability, self-care, ethical choices, glowing skin, confidence, transparency.
  • Tone: Authentic, inspiring, educational, positive, trustworthy, approachable. Avoid overly promotional or salesy language.

5.2. Required Content Formats & Examples

  • Instagram Feed Post (Photo/Carousel/Reel):

* Visuals: High-quality

gemini Output

Influencer Campaign Planner: Optimized & Finalized Strategy

This document outlines a comprehensive, detailed, and actionable plan for launching a successful influencer marketing campaign. It integrates strategic objectives with practical execution elements, designed to maximize reach, engagement, and return on investment.


1. Executive Summary

This influencer marketing campaign aims to significantly enhance brand awareness, drive engagement, and generate qualified leads/sales for [Your Brand/Product Name] by leveraging authentic voices within our target audience's trusted communities. Through strategic partnerships with carefully selected influencers, we will disseminate compelling content that resonates with our audience, ultimately strengthening brand perception and achieving measurable business objectives.


2. Campaign Objectives (SMART Goals)

Our campaign objectives are Specific, Measurable, Achievable, Relevant, and Time-bound:

  • Awareness: Increase brand mentions and impressions by 30% across social media platforms within the 8-week campaign period.
  • Engagement: Achieve an average engagement rate of 4-6% on sponsored content posts (likes, comments, shares, saves) by influencers.
  • Website Traffic/Leads: Drive a 15% increase in website traffic from influencer-tagged links, resulting in a 10% increase in [specific action, e.g., newsletter sign-ups, product page views, demo requests].
  • Sales/Conversions: Generate at least 500 attributed sales/conversions via unique influencer discount codes or affiliate links within the campaign duration.
  • Content Generation: Secure at least 20+ high-quality, user-generated-style content pieces for potential repurposing across owned channels.

3. Target Audience & Campaign Theme

Target Audience:

  • Demographics: [Specify age range, gender, location, income bracket, e.g., "Females, 25-45, Urban/Suburban US, Household Income $70k+"]
  • Psychographics: [Specify interests, values, lifestyle, pain points, e.g., "Health-conscious, environmentally aware, tech-savvy, value authenticity, seek convenience, interested in sustainable living and self-improvement."]
  • Social Media Habits: [Specify preferred platforms, content types, e.g., "Active on Instagram (Stories, Reels), TikTok (short-form educational/entertaining), YouTube (long-form reviews/tutorials)."]

Campaign Theme & Core Messaging:

  • Theme: "[e.g., 'Simplify Your Daily Routine with [Product Name]', 'Unlock Your Potential with [Service Name]', 'Experience the Future of [Industry]']"
  • Core Message: "[Your Brand/Product Name] empowers you to [key benefit] by [unique selling proposition]. It's more than just a product; it's a lifestyle upgrade that's [adjective 1] and [adjective 2]."
  • Key Hashtags: #YourBrandName, #CampaignTagline, #RelevantIndustryTag, #Sponsored
  • Call to Action (CTA): "Link in bio to shop!", "Use code [INFLUENCERNAME] for 15% off!", "Learn more at [YourWebsite.com]"

4. Ideal Influencer Profiles

Our selection criteria focus on authenticity, engagement, and alignment with our brand values.

A. Tier & Reach:

  • Nano-Influencers (1k-10k followers): High engagement, niche audience, perceived authenticity. (Target: 30%)
  • Micro-Influencers (10k-100k followers): Strong community, good engagement, growing reach. (Target: 50%)
  • Mid-Tier Influencers (100k-500k followers): Broader reach, established presence. (Target: 20%)
  • Note: Macro/Celebrity influencers may be considered for larger budget campaigns or specific high-impact initiatives.

B. Niche & Content Alignment:

  • Primary Niche: [e.g., Sustainable Living, Health & Wellness, Tech Reviewers, Beauty & Skincare, Parenting Bloggers]
  • Content Style: Authentic, educational, relatable, visually appealing, storytelling-focused. Avoid overly promotional or inauthentic content.
  • Brand Fit: Influencers whose personal brand and existing content genuinely align with [Your Brand/Product Name]'s values and aesthetics.

C. Engagement & Audience Quality:

  • Engagement Rate: Minimum 3% average engagement rate on recent posts (likes + comments / followers).
  • Audience Demographics: At least 60% of their audience should match our target demographic (request audience insights/media kits).
  • Authenticity: Evidence of genuine interaction with their followers, not just passive consumption. Look for thoughtful comments, not just emojis.
  • No Fake Followers: Utilize audit tools (e.g., HypeAuditor, SparkToro) to check for suspicious follower growth or bot activity.

D. Professionalism & Reliability:

  • Communication: Responsive, clear, and professional communication.
  • Reliability: History of meeting deadlines and following guidelines in past collaborations.
  • Brand Safety: No controversial past content or associations that could negatively impact our brand.

5. Outreach Strategy & Templates

Our outreach will be personalized, professional, and clearly outline the opportunity.

A. Research & Initial Contact:

  1. Identify Prospects: Use influencer discovery platforms (e.g., Upfluence, Grin, manually via Instagram/TikTok search) based on criteria.
  2. Initial Vetting: Quick review of their profile, recent posts, and engagement.
  3. Find Contact Info: Prioritize official email addresses (often in bio or link-in-bio tools). If unavailable, use Instagram DM as a last resort.

B. Outreach Templates:

Template 1: Initial Email Outreach (Personalized)

Subject: Collaboration Opportunity: [Your Brand Name] x [Influencer's Name]

Hi [Influencer's Name],

My name is [Your Name] and I'm the [Your Title] at [Your Brand Name]. I've been following your content on [Platform, e.g., Instagram/TikTok] for a while, and I'm particularly impressed by your [specific post/series, e.g., "recent series on sustainable living" or "authentic approach to product reviews"].

At [Your Brand Name], we're passionate about [Your Brand's Mission/Value, e.g., "empowering individuals to live healthier lives through natural products"]. We're launching an exciting campaign for our [Product Name/Service], a [brief description of product/service and its key benefit], and we immediately thought of you due to your genuine connection with an audience interested in [relevant niche, e.g., "eco-friendly solutions" or "effective skincare"].

We believe your unique voice and creative style would be perfect for showcasing how [Your Brand/Product Name] can benefit your community. We're looking to partner with creators like you on [type of content, e.g., "a series of engaging Instagram Reels and Stories"].

Would you be open to a brief chat to discuss this potential collaboration further and share more details about our campaign and compensation?

Looking forward to hearing from you.

Best regards,

[Your Name]

[Your Title]

[Your Brand Name]

[Your Website]

[Your Social Media Link]


Template 2: Follow-Up Email (If no response after 5-7 days)

Subject: Following Up: Collaboration Opportunity with [Your Brand Name]

Hi [Influencer's Name],

Just wanted to gently follow up on my email from [Date of previous email] regarding a potential collaboration with [Your Brand Name].

We're still very keen on the idea of partnering with you to highlight our [Product Name/Service] to your engaged audience. We truly believe your [mention specific positive aspect of their content] aligns perfectly with our brand values.

If you're interested in learning more, please let me know a good time for a quick call or if you prefer, I can send over a more detailed brief.

Thanks again,

[Your Name]

[Your Title]

[Your Brand Name]


6. Contract Terms & Legal Considerations

A robust contract is crucial for protecting both parties and ensuring clear expectations.

Key Contract Clauses:

  1. Scope of Work & Deliverables:

* Specific content types (e.g., 1 Instagram Reel, 3 Instagram Stories, 1 static post).

* Required elements (e.g., specific product usage, brand mention, CTA, hashtags, tagging).

* Number of revisions for content approval.

* Deadlines for content submission, posting, and any follow-up actions.

  1. Compensation:

* Clearly state payment amount and schedule (e.g., 50% upfront, 50% upon completion; or net 30 days after posting).

* Specify if product is included as part of compensation or additional.

* Performance-based bonuses (if applicable, e.g., for exceeding sales targets).

  1. Exclusivity:

* Duration and scope of exclusivity (e.g., "Influencer agrees not to promote competing [product category] brands for 30 days post-campaign launch").

* Geographic limitations (if relevant).

  1. Content Ownership & Usage Rights:

* Crucial: Grant [Your Brand Name] perpetual, royalty-free, worldwide license to use, reproduce, modify, display, and distribute the sponsored content (and any associated user-generated content) across all owned marketing channels (website, social media, email, ads) for [specify duration, e.g., 1 year, or "in perpetuity"].

* Specify if raw files are to be provided.

* Influencer retains original ownership but grants extensive usage rights.

  1. Disclosure Requirements:

* Mandatory use of #Ad, #Sponsored, #BrandPartner and platform-specific disclosure tools (e.g., Instagram's Branded Content tool).

* Influencer acknowledges and agrees to comply with FTC guidelines (for US) or relevant local advertising standards.

  1. Approval Process:

* Timeline for brand review and approval of content drafts before posting.

* Number of revision rounds.

  1. Termination Clause:

* Conditions under which either party can terminate the agreement (e.g., breach of contract, failure to meet deadlines, brand safety issues).

* Provisions for partial payment or claw-backs in case of termination.

  1. Confidentiality:

* Influencer agrees not to disclose proprietary campaign details, product information, or contract terms.

  1. Representations & Warranties:

* Influencer confirms they have the right to enter the agreement, content is original, and does not infringe on third-party rights.

  1. Indemnification:

* Protects the brand from liabilities arising from the influencer's actions or content.

  1. Governing Law:

* Specify the jurisdiction whose laws will govern the contract.


7. Content Guidelines & Deliverables

Ensuring consistent brand messaging and quality content.

A. Core Content Requirements:

  • Authenticity: Encourage genuine enthusiasm and personal storytelling. The content should feel organic, not scripted.
  • Product Integration: Seamlessly integrate [Your Brand/Product Name] into their natural content flow. Show, don't just tell.
  • Key Message Reinforcement: Ensure the core campaign message and unique selling propositions are clearly communicated.
  • Visuals: High-quality, well-lit, aesthetically pleasing visuals consistent with [Your Brand Name]'s visual identity.
  • Call to Action (CTA): Clear and compelling CTA (e.g., "Shop now via link in bio!", "Use code [INFLUENCERNAME] for X% off!").
  • Disclosure: Mandatory use of #Ad, #Sponsored, #BrandPartner and platform-specific disclosure tools.

B. Specific Deliverables (Example Set):

  • Instagram:

* 1 x In-Feed Post: High-resolution image or carousel, minimum 150-word caption including brand mention, 3-5 relevant hashtags, and CTA.

* 1 x Instagram Reel: 30-60 second video showcasing product in use, incorporating trending audio (if appropriate), brand mention, 3-5 relevant hashtags, and CTA.

* 3 x Instagram Stories: Series of 15-second stories including product demo/unboxing, direct link sticker, brand tag, and clear disclosure.

  • TikTok:

* 1 x TikTok Video: 15-45 second video (native to TikTok style) demonstrating product, using relevant sounds/trends, text overlays, brand tag, and CTA in caption.

  • YouTube (for mid-tier/macro):

* 1 x Dedicated Video (3-5 minutes): In-depth review, tutorial, or integration into a relevant vlog. Brand mention, product link in description, verbal disclosure.

C. Do's and Don'ts:

  • DO:

* Focus on storytelling and how the product fits into their lifestyle.

* Show the product in real-life scenarios.

* Be creative and bring their unique personality.

* Engage with comments on their sponsored posts.

* Adhere strictly to all disclosure requirements.

  • DON'T:

* Make unsubstantiated claims about the product.

* Use offensive language or imagery.

* Promote competing brands during the exclusivity period.

* Remove content without prior approval from [Your Brand Name].

* Purchase fake followers or engagement.


8. Campaign Timeline (Example)

Phase 1: Planning & Influencer Selection (Weeks 1-2)

  • Define campaign objectives, target audience, and messaging.
  • Develop ideal influencer profiles.
  • Influencer research, vetting, and initial outreach.
  • Negotiation and contract finalization.

Phase 2: Onboarding & Content Creation (Weeks 3-5)

  • Product/briefing kit shipment to selected influencers.
  • Influencer briefing calls/webinars.
  • Content concept development by influencers.
  • Brand review and approval of content drafts.
  • Content revisions (if necessary).

Phase 3: Campaign Launch & Activation (Weeks 6-8)

  • Content goes live on scheduled dates.
  • Daily monitoring of posts, engagement, and comments.
  • Brand interaction with influencer content (likes, shares, comments).
  • Repurposing approved influencer content on owned channels.

Phase 4: Post-Campaign Analysis & Reporting (Week 9 onwards)

  • Data collection and performance tracking.
  • ROI analysis.
  • Influencer payment processing.
  • Comprehensive campaign report generation.

9. Budget Allocation (High-Level Example)

  • Influencer Fees/Compensation: 60% (Varies significantly by tier, deliverables, and usage rights)
  • Product Cost/Shipping: 10% (For gifting or product samples)
  • Influencer Discovery/Management Tools: 10% (Subscription fees, agency fees)
  • Paid Amplification: 15% (Boosting top-performing influencer content as ads)
  • Contingency: 5% (Buffer for unexpected costs)

10. ROI Tracking & Measurement Framework

Our success will be rigorously measured against the defined SMART objectives.

A. Key Performance Indicators (KPIs):

  1. Awareness:

* Total Impressions (reach x frequency)

* Brand Mentions (organic + tagged)

* Follower Growth (attributed to campaign)

* Share of Voice (compared to competitors)

  1. Engagement:

* Average Engagement Rate (likes, comments, shares, saves per post)

* Comment Sentiment Analysis

* Story Views/Tap-Through Rates

* Video Views/Completion Rates

  1. Website Traffic/Leads:

* Click-Through Rate (CTR) from unique influencer links/swipe-ups

* Website Sessions/Users from UTM-tagged sources

* Lead Conversions (e.g., email sign-ups, downloads) from attributed traffic

  1. Sales/Conversions:

* Attributed Sales Revenue (from unique discount codes or affiliate links)

* Cost Per Acquisition (CPA)

* Return on Ad Spend (ROAS)

* Average Order Value (AOV) for influencer-driven sales

  1. Content Value:

*

influencer_campaign_planner.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547} "); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/**(.+?)**/g,"$1"); hc=hc.replace(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); }function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}