Social Media Content Blast
Run ID: 69cb469e61b1021a29a8779d2026-03-31Marketing
PantheraHive BOS
BOS Dashboard

Generate a full week of social media posts with captions, hashtags, and image prompt briefs

This document outlines a comprehensive seven-day social media content calendar, designed for a professional "Social Media Content Blast." Each day features a distinct theme, engaging post copy with a clear headline, body text, and call to action, relevant hashtags, and a detailed brief for accompanying visuals. This content is crafted to be ready for immediate publishing, driving engagement, building brand authority, and connecting with your audience.


Social Media Content Blast: 7-Day Content Calendar

This calendar provides a full week of high-impact social media posts, designed to elevate your brand's online presence and engage your target audience effectively.


Day 1: Monday - Industry Insights & Future Trends

  • Theme: Kickstart the week with thought leadership on an evolving industry trend.
  • Post Caption:

* Headline: Navigating Tomorrow: The Evolving Landscape of [Your Industry/Topic]

* Body Text: As we step into a new week, the pace of innovation in [Your Industry/Topic] continues to accelerate. From AI-driven solutions to sustainable practices, understanding these shifts isn't just an advantage—it's a necessity. What emerging trends are you watching closely, and how are they shaping your strategy?

* Call to Action: Share your thoughts in the comments! Let's discuss the future, together.

  • Hashtags: #IndustryTrends #FutureOfWork #Innovation #ThoughtLeadership #[YourIndustry]Insights #DigitalTransformation
  • Image/Video Prompt Brief: A visually striking, futuristic graphic showing interconnected nodes or abstract data streams, with a subtle overlay of a professional individual looking thoughtfully into the distance. Clean, modern aesthetic with a focus on progress and technology.

Day 2: Tuesday - Value Proposition & Problem Solving

  • Theme: Highlight a key benefit of your service/product by addressing a common pain point.
  • Post Caption:

* Headline: Unlock Efficiency: Solving Your Biggest [Specific Problem] Challenge

* Body Text: Are you constantly battling [Specific Problem like "time constraints" or "data overload"]? We understand the struggle. Our [Your Service/Product Name] is specifically engineered to streamline your operations, reduce manual effort, and free up your team to focus on what truly matters. Discover how seamless workflow can transform your day.

* Call to Action: Ready to simplify your process? Learn more about [Your Service/Product Name] via the link in bio!

  • Hashtags: #[YourService]Benefits #EfficiencySolutions #ProblemSolved #ProductivityHacks #BusinessGrowth #[YourBrand]Solution
  • Image/Video Prompt Brief: A clean, professional graphic illustrating a before-and-after scenario (e.g., a cluttered desk vs. an organized digital dashboard) or a metaphor for "unlocking" potential (e.g., a key turning in a lock, revealing a bright, organized space). Use brand colors.

Day 3: Wednesday - Engagement & Community Poll

  • Theme: Foster interaction by asking a relevant question or running a poll.
  • Post Caption:

* Headline: Quick Poll: What's Your Top [Industry-Related] Priority Right Now?

* Body Text: Mid-week check-in! In today's dynamic environment, priorities can shift rapidly. We're curious: When it comes to [Your Industry/Topic], what's currently at the top of your list?

* A) Innovation & R&D

* B) Customer Experience Enhancement

* C) Operational Efficiency

* D) Talent Development & Retention

* Call to Action: Vote in the comments or tell us if your priority is something else! We value your insights.

  • Hashtags: #CommunityEngagement #IndustryPoll #BusinessPriorities #[YourIndustry]Talk #StrategicPlanning #AudienceInsights
  • Image/Video Prompt Brief: An eye-catching graphic with a clear question and multiple-choice options. Use a clean, modern font and include a subtle illustration of people interacting or thinking. Visually appealing and easy to read on mobile.

Day 4: Thursday - Expert Tips & How-To Guide

  • Theme: Provide actionable value with a quick tip or mini-guide related to your expertise.
  • Post Caption:

* Headline: Pro Tip Thursday: 3 Steps to Mastering [Specific Skill/Task]

* Body Text: Want to elevate your approach to [Specific Skill/Task]? Here are 3 essential steps our experts swear by:

1. [Step 1]: [Brief explanation of the step]

2. [Step 2]: [Brief explanation of the step]

3. [Step 3]: [Brief explanation of the step]

Implementing these can significantly impact your [desired outcome].

* Call to Action: Save this post for later! What's your go-to tip for [Specific Skill/Task]?

  • Hashtags: #ProTip #HowToGuide #ExpertAdvice #BusinessTips #[YourIndustry]Tips #LearningAndDevelopment #SkillBuilding
  • Image/Video Prompt Brief: A visually appealing infographic or carousel post with 3 distinct slides/sections. Each section should clearly outline one step with a corresponding icon or simple illustration. Use bold, readable text and consistent branding.

Day 5: Friday - Behind-the-Scenes & Team Spotlight

  • Theme: Showcase your company culture and the people behind your brand.
  • Post Caption:

* Headline: Meet the Minds: Behind the Scenes at [Your Company Name]!

* Body Text: As we wrap up the week, we want to shine a light on the incredible team that makes everything possible! From our innovators in [Department 1] to our dedicated [Department 2] specialists, every individual contributes to our mission of [Your Company Mission/Value]. We believe in fostering a collaborative and vibrant environment where ideas flourish.

* Call to Action: Happy Friday from our team to yours! What's your favorite part about your workplace culture?

  • Hashtags: #TeamCulture #BehindTheScenes #CompanyValues #WorkplaceCulture #EmployeeAppreciation #[YourCompany]Life #TGIF
  • Image/Video Prompt Brief: A candid, high-quality photograph or short video clip of your team collaborating, celebrating a small win, or engaged in a fun office activity. Focus on genuine interactions and a positive atmosphere. Include diverse team members if possible.

Day 6: Saturday - Inspirational Quote & Weekend Reflection

  • Theme: Share an inspiring message or a thought-provoking quote to encourage reflection.
  • Post Caption:

* Headline: Weekend Wisdom: Pushing the Boundaries of What's Possible

* Body Text: "The only way to do great work is to love what you do." – Steve Jobs. As you unwind this weekend, take a moment to reflect on your passions and how they drive your purpose. Great achievements often stem from a deep connection to our work.

* Call to Action: What quote inspires you to reach new heights? Share it with us!

  • Hashtags: #WeekendVibes #Inspiration #Motivation #QuoteOfTheDay #MindsetMatters #PersonalGrowth #ReflectAndGrow
  • Image/Video Prompt Brief: A beautifully designed graphic featuring the quote prominently. Use a calming background image (e.g., a serene landscape, a minimalist office space with natural light, or abstract art) that evokes inspiration and thoughtfulness. Consistent brand fonts.

Day 7: Sunday - Weekly Recap & Look Ahead

  • Theme: Summarize the week's highlights and hint at exciting developments for the upcoming week.
  • Post Caption:

* Headline: Weekly Wrap-Up: Reflecting on Insights, Preparing for Innovation

* Body Text: What a week it's been! We've explored [mention a key topic from the week, e.g., "the future of AI," "efficiency tips," "our amazing team"]. As we prepare for a new week, we're excited to delve deeper into [upcoming topic or event]. Stay tuned for more engaging content and valuable insights!

* Call to Action: What was your biggest takeaway this week? Let us know below, and get ready for an even more insightful week ahead!

  • Hashtags: #WeeklyRecap #SundayThoughts #LookAhead #BusinessInsights #ContentSummary #StayTuned #InnovationJourney
  • Image/Video Prompt Brief: A clean, summary-style graphic or a visually intriguing image that represents anticipation and progress (e.g., a path leading to a bright horizon, a calendar with the next week highlighted, or abstract shapes coming together). Use brand colors and a professional aesthetic.

sharper4k Output

Social Media Content Blast: Weekly Content Plan

This deliverable provides a comprehensive, seven-day social media content plan designed to execute a high-impact content blast. Each day features a unique post with a professional caption, relevant hashtags, and a detailed image prompt brief optimized for AI image generation, ensuring visual appeal and brand consistency.


Overview of the Weekly Content Strategy

This content blast focuses on a blend of educational, inspirational, engaging, and promotional content to maintain audience interest and drive interaction across various platforms. The goal is to establish thought leadership, foster community, and subtly promote core offerings.


Day 1: Monday - Kickstart Your Week

Platform Focus: LinkedIn, Facebook

Caption:

"Monday morning clarity! 🚀 What's the one big goal you're tackling this week to move closer to your vision? Share your ambitions below and inspire others! Let's make this week count. #MondayMotivation #GoalSetting #Productivity #NewWeekNewGoals"

Hashtags:

#MondayMotivation #GoalSetting #Productivity #NewWeekNewGoals #ProfessionalDevelopment #SuccessMindset #WeeklyGoals #StartStrong #Inspiration

Image Prompt Brief:

"A minimalist, professional desk setup bathed in soft morning light. On the desk, a neatly organized planner open to a weekly view, a sleek laptop displaying a data dashboard, a steaming cup of coffee, and a small potted plant. The overall mood is calm, focused, and inspiring. Use a shallow depth of field, bright and airy colors. Style: Modern, clean, professional photography."


Day 2: Tuesday - Expert Insight

Platform Focus: LinkedIn, X (Twitter)

Caption:

"Decoding complexity: In today's fast-paced world, staying ahead means understanding the nuances. Our latest insight unpacks [mention a general industry trend/challenge, e.g., 'the future of AI in business' or 'sustainable growth strategies']. What are your thoughts on this evolving landscape? #IndustryInsights #ThoughtLeadership #[YourIndustry]Trends #ExpertOpinion #FutureOfWork"

Hashtags:

#IndustryInsights #ThoughtLeadership #BusinessStrategy #Innovation #ExpertOpinion #FutureOfWork #DigitalTransformation #DeepDive #Learning

Image Prompt Brief:

"A diverse group of professionals (3-4 people) engaged in a dynamic discussion around a modern conference table. One person is gesturing towards a large, transparent digital display showing abstract data visualizations. The setting is a bright, high-tech office space with large windows overlooking a city skyline. The mood is collaborative and forward-thinking. Style: Cinematic, professional, slightly futuristic, with a focus on human interaction."


Day 3: Wednesday - Mid-Week Inspiration

Platform Focus: Instagram, Facebook

Caption:

"Halfway through the week and the momentum is building! ✨ Remember why you started and celebrate the small wins. Every step forward, no matter how small, contributes to the bigger picture. Keep pushing, you've got this! #MidweekMotivation #Inspiration #GrowthMindset #SmallWins #Perseverance"

Hashtags:

#MidweekMotivation #Inspiration #GrowthMindset #SmallWins #Perseverance #SuccessJourney #KeepGoing #PositiveVibes #WednesdayWisdom

Image Prompt Brief:

"A close-up shot of a person's hands gently holding a small, vibrant green sapling emerging from rich soil. The background is softly blurred but suggests a bright, natural environment like a garden or a sunny office window. The focus is on the delicate plant and the nurturing hands. The lighting is warm and natural, evoking a sense of growth and hope. Style: Macro photography, natural light, soft focus, emotionally resonant."


Day 4: Thursday - Throwback & Community Highlight

Platform Focus: LinkedIn, Instagram

Caption:

"Throwback Thursday! 🕰️ Reflecting on a key moment from our [event/project/milestone] that truly embodied our values of [e.g., innovation/collaboration/customer success]. We're grateful for our incredible community and partners who make these moments possible. What's a memorable collaboration you've been a part of? #TBT #ThrowbackThursday #CommunityLove #Collaboration #Milestone #OurJourney"

Hashtags:

#TBT #ThrowbackThursday #CommunityLove #Collaboration #Milestone #OurJourney #Teamwork #Partnership #Grateful #BrandStory

Image Prompt Brief:

"A stylized, sepia-toned or vintage-filtered photo showing a diverse team celebrating a past achievement. They could be gathered around a whiteboard with diagrams, or high-fiving in a modern office. The image should convey warmth, camaraderie, and a sense of shared success. Avoid specific dates or strong modern tech to keep it timeless. Style: Retro, warm, candid group photo, slightly blurred edges for a nostalgic feel."


Day 5: Friday - Weekend Prep & Call to Action

Platform Focus: All platforms

Caption:

"Hello, Friday! 👋 As the week winds down, what are you looking forward to this weekend to recharge and reset? Don't forget to check out our latest [blog post/resource/webinar] on [topic] to fuel your mind before the break. Link in bio/comments! #FridayFeeling #WeekendVibes #SelfCare #LearnSomethingNew #CTA #RelaxAndRecharge"

Hashtags:

#FridayFeeling #WeekendVibes #SelfCare #LearnSomethingNew #CTA #RelaxAndRecharge #DigitalDetox #Mindfulness #WorkLifeBalance #TGIF

Image Prompt Brief:

"A aesthetically pleasing flat lay composition showing items associated with relaxation and learning: an open book or e-reader, a cup of herbal tea, a small notebook and pen, and a plant or a soft blanket in the background. The lighting is soft and inviting, suggesting comfort and tranquility. Use warm, muted colors. Style: Flat lay photography, cozy, minimalist, inviting."


Day 6: Saturday - Lifestyle & Personal Growth

Platform Focus: Instagram, Facebook

Caption:

"Weekends are for personal growth and exploring new horizons! Whether it's diving into a new hobby, reading a captivating book, or spending time in nature, investing in yourself is always a good idea. How are you nurturing your mind and spirit this Saturday? #WeekendWellness #PersonalGrowth #SelfImprovement #HobbyTime #MindBodySoul #SaturdayVibes"

Hashtags:

#WeekendWellness #PersonalGrowth #SelfImprovement #HobbyTime #MindBodySoul #SaturdayVibes #ExploreMore #LearningIsFun #Mindfulness #HealthyLiving

Image Prompt Brief:

"A serene outdoor scene depicting a person (gender neutral, from behind or side profile) sitting comfortably on a bench or a rock, looking out over a beautiful, expansive natural landscape (e.g., mountains, forest, lake). They might be holding a book or simply observing. The mood is peaceful, contemplative, and inspiring. Use natural, vibrant colors and soft sunlight. Style: Landscape photography with a human element, aspirational, calming."


Day 7: Sunday - Reflect & Plan

Platform Focus: LinkedIn, Facebook, Instagram

Caption:

"Sunday reflections: Take a moment to acknowledge your achievements from the past week and set intentions for the week ahead. Clarity and planning are powerful tools for success. What's one intention you're setting for the coming week? Share below! #SundayReflections #WeeklyPlanning #Intentions #MindfulLiving #Preparation #NewWeekAhead"

Hashtags:

#SundayReflections #WeeklyPlanning #Intentions #MindfulLiving #Preparation #NewWeekAhead #GoalSetting #ProductivityTips #Reflection #Strategize

Image Prompt Brief:

"A clean, well-lit workspace with a journal or planner open to a blank page, a pen resting beside it, and a cup of tea or water. The background is subtly blurred, possibly showing a window with soft light. The composition should convey a sense of calm, organization, and readiness for planning. Use a top-down or slightly elevated angle. Style: Minimalist, clean, professional flat lay, inviting and thoughtful."


This content blast is designed to be versatile and can be adapted with specific industry examples and brand voice nuances. The detailed image prompts ensure that visual content aligns perfectly with the messaging, enhancing overall engagement and brand recall.

social_media_content_blast.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
\n\n\n"); 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'\nimport ReactDOM from 'react-dom/client'\nimport App from './App'\nimport './index.css'\n\nReactDOM.createRoot(document.getElementById('root')!).render(\n \n \n \n)\n"); 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'\nimport './App.css'\n\nfunction App(){\n return(\n
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n
\n )\n}\nexport default App\n"); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e}\n.app{min-height:100vh;display:flex;flex-direction:column}\n.app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px}\nh1{font-size:2.5rem;font-weight:700}\n"); 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)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\n## Open in IDE\nOpen the project folder in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- 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",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "type": "module",\n "scripts": {\n "dev": "vite",\n "build": "vue-tsc -b && vite build",\n "preview": "vite preview"\n },\n "dependencies": {\n "vue": "^3.5.13",\n "vue-router": "^4.4.5",\n "pinia": "^2.3.0",\n "axios": "^1.7.9"\n },\n "devDependencies": {\n "@vitejs/plugin-vue": "^5.2.1",\n "typescript": "~5.7.3",\n "vite": "^6.0.5",\n "vue-tsc": "^2.2.0"\n }\n}\n'); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\nimport { resolve } from 'path'\n\nexport default defineConfig({\n plugins: [vue()],\n resolve: { alias: { '@': resolve(__dirname,'src') } }\n})\n"); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]}\n'); zip.file(folder+"tsconfig.app.json",'{\n "compilerOptions":{\n "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"],\n "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true,\n "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue",\n "strict":true,"paths":{"@/*":["./src/*"]}\n },\n "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"]\n}\n'); zip.file(folder+"env.d.ts","/// \n"); zip.file(folder+"index.html","\n\n\n \n \n "+slugTitle(pn)+"\n\n\n
\n \n\n\n"); 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'\nimport { createPinia } from 'pinia'\nimport App from './App.vue'\nimport './assets/main.css'\n\nconst app = createApp(App)\napp.use(createPinia())\napp.mount('#app')\n"); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue","\n\n\n\n\n"); 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}\n"); 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)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nnpm run dev\n\`\`\`\n\n## Build\n\`\`\`bash\nnpm run build\n\`\`\`\n\nOpen in VS Code or WebStorm.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n"); } /* --- 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",'{\n "name": "'+pn+'",\n "version": "0.0.0",\n "scripts": {\n "ng": "ng",\n "start": "ng serve",\n "build": "ng build",\n "test": "ng test"\n },\n "dependencies": {\n "@angular/animations": "^19.0.0",\n "@angular/common": "^19.0.0",\n "@angular/compiler": "^19.0.0",\n "@angular/core": "^19.0.0",\n "@angular/forms": "^19.0.0",\n "@angular/platform-browser": "^19.0.0",\n "@angular/platform-browser-dynamic": "^19.0.0",\n "@angular/router": "^19.0.0",\n "rxjs": "~7.8.0",\n "tslib": "^2.3.0",\n "zone.js": "~0.15.0"\n },\n "devDependencies": {\n "@angular-devkit/build-angular": "^19.0.0",\n "@angular/cli": "^19.0.0",\n "@angular/compiler-cli": "^19.0.0",\n "typescript": "~5.6.0"\n }\n}\n'); zip.file(folder+"angular.json",'{\n "$schema": "./node_modules/@angular/cli/lib/config/schema.json",\n "version": 1,\n "newProjectRoot": "projects",\n "projects": {\n "'+pn+'": {\n "projectType": "application",\n "root": "",\n "sourceRoot": "src",\n "prefix": "app",\n "architect": {\n "build": {\n "builder": "@angular-devkit/build-angular:application",\n "options": {\n "outputPath": "dist/'+pn+'",\n "index": "src/index.html",\n "browser": "src/main.ts",\n "tsConfig": "tsconfig.app.json",\n "styles": ["src/styles.css"],\n "scripts": []\n }\n },\n "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"}\n }\n }\n }\n}\n'); zip.file(folder+"tsconfig.json",'{\n "compileOnSave": false,\n "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"]},\n "references":[{"path":"./tsconfig.app.json"}]\n}\n'); zip.file(folder+"tsconfig.app.json",'{\n "extends":"./tsconfig.json",\n "compilerOptions":{"outDir":"./dist/out-tsc","types":[]},\n "files":["src/main.ts"],\n "include":["src/**/*.d.ts"]\n}\n'); zip.file(folder+"src/index.html","\n\n\n \n "+slugTitle(pn)+"\n \n \n \n\n\n \n\n\n"); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser';\nimport { appConfig } from './app/app.config';\nimport { AppComponent } from './app/app.component';\n\nbootstrapApplication(AppComponent, appConfig)\n .catch(err => console.error(err));\n"); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; }\nbody { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; }\n"); 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';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'app-root',\n standalone: true,\n imports: [RouterOutlet],\n templateUrl: './app.component.html',\n styleUrl: './app.component.css'\n})\nexport class AppComponent {\n title = '"+pn+"';\n}\n"); zip.file(folder+"src/app/app.component.html","
\n
\n

"+slugTitle(pn)+"

\n

Built with PantheraHive BOS

\n
\n \n
\n"); 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}\n"); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';\nimport { provideRouter } from '@angular/router';\nimport { routes } from './app.routes';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideZoneChangeDetection({ eventCoalescing: true }),\n provideRouter(routes)\n ]\n};\n"); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router';\n\nexport const routes: Routes = [];\n"); 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)+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\nng serve\n# or: npm start\n\`\`\`\n\n## Build\n\`\`\`bash\nng build\n\`\`\`\n\nOpen in VS Code with Angular Language Service extension.\n"); zip.file(folder+".gitignore","node_modules/\ndist/\n.env\n.DS_Store\n*.local\n.angular/\n"); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/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("\n"):"# add dependencies here\n"; zip.file(folder+"main.py",src||"# "+title+"\n# Generated by PantheraHive BOS\n\nprint(title+\" loaded\")\n"); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n\`\`\`\n\n## Run\n\`\`\`bash\npython main.py\n\`\`\`\n"); zip.file(folder+".gitignore",".venv/\n__pycache__/\n*.pyc\n.env\n.DS_Store\n"); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^\`\`\`[\w]*\n?/m,"").replace(/\n?\`\`\`$/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)+"\n"; zip.file(folder+"package.json",pkgJson); var fallback="const express=require(\"express\");\nconst app=express();\napp.use(express.json());\n\napp.get(\"/\",(req,res)=>{\n res.json({message:\""+title+" API\"});\n});\n\nconst PORT=process.env.PORT||3000;\napp.listen(PORT,()=>console.log(\"Server on port \"+PORT));\n"; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000\n"); zip.file(folder+".gitignore","node_modules/\n.env\n.DS_Store\n"); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Setup\n\`\`\`bash\nnpm install\n\`\`\`\n\n## Run\n\`\`\`bash\nnpm run dev\n\`\`\`\n"); } /* --- 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:"\n\n\n\n\n"+title+"\n\n\n\n"+code+"\n\n\n\n"; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */\n*{margin:0;padding:0;box-sizing:border-box}\nbody{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e}\n"); zip.file(folder+"script.js","/* "+title+" — scripts */\n"); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\n## Open\nDouble-click \`index.html\` in your browser.\n\nOr serve locally:\n\`\`\`bash\nnpx serve .\n# or\npython3 -m http.server 3000\n\`\`\`\n"); zip.file(folder+".gitignore",".DS_Store\nnode_modules/\n.env\n"); } /* ===== 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(/\n{2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+"\n\nGenerated by PantheraHive BOS.\n\nFiles:\n- "+app+".md (Markdown)\n- "+app+".html (styled HTML)\n"); } 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);}});}