Compliance Policy Generator
Run ID: 69cb84e161b1021a29a89d372026-03-31Business
PantheraHive BOS
BOS Dashboard

Generate regulatory compliance policies including privacy policy, terms of service, cookie policy, DMCA policy, and accessibility statement.

Marketing Strategy for the Compliance Policy Generator

This document outlines a comprehensive marketing strategy for the "Compliance Policy Generator" product, designed to reach and convert target audiences effectively. It includes detailed analysis of the target market, recommended channels, core messaging, and key performance indicators (KPIs) to measure success.


1. Target Audience Analysis

Understanding who needs our Compliance Policy Generator is crucial for effective marketing. Our primary focus will be on businesses and individuals operating online who require legal compliance but may lack the specialized legal expertise or budget for traditional legal services.

  • Primary Audience Segments:

* Small to Medium-sized Businesses (SMBs):

* Description: Online retailers (e-commerce), SaaS startups, local businesses with an online presence, service providers, consultants.

* Pain Points: Limited legal budgets, lack of in-house legal counsel, overwhelmed by regulatory complexity (GDPR, CCPA, ADA, DMCA), fear of non-compliance fines, need for quick and easy solutions.

* Motivations: Cost-efficiency, legal protection, time-saving, professional image, focus on core business operations.

* Startups & Entrepreneurs:

* Description: New businesses launching online products or services, app developers, solopreneurs.

* Pain Points: Budget constraints, rapid development cycles, need to establish legal groundwork quickly, unfamiliarity with legal requirements.

* Motivations: Foundation for future growth, credibility, avoiding early legal pitfalls, ease of setup.

* E-commerce Stores:

* Description: Online shops of all sizes selling products or services directly to consumers.

* Pain Points: Specific requirements for privacy, terms of sale, cookie consent, consumer rights. High risk of direct consumer complaints or regulatory scrutiny.

* Motivations: Consumer trust, compliance with payment processors, legal protection for transactions.

* Digital Agencies & Web Developers:

* Description: Agencies building websites or applications for clients.

* Pain Points: Need to provide a comprehensive solution to clients, often tasked with setting up legal pages, lack of legal expertise within their team.

* Motivations: Value-add for clients, efficiency in project delivery, ensuring client compliance.

* Content Creators & Influencers:

* Description: Bloggers, YouTubers, podcasters, social media influencers, online course creators.

* Pain Points: DMCA for copyright, privacy for data collection (e.g., email lists), terms of use for content platforms.

* Motivations: Protecting intellectual property, maintaining audience trust, compliance with platform policies.

  • Key Characteristics Across Segments:

* Value Convenience: Seek tools that simplify complex tasks.

* Budget-Conscious: Looking for affordable alternatives to traditional legal services.

* Risk-Averse: Concerned about potential legal liabilities and fines.

* Time-Sensitive: Need solutions that can be implemented quickly.


2. Channel Recommendations

A multi-channel approach will be employed to maximize reach and engagement with our diverse target audience.

  • A. Digital Marketing:

* Search Engine Optimization (SEO) & Content Marketing:

* Strategy: Create a robust content hub with articles, guides, and FAQs addressing common compliance challenges and explaining specific regulations (e.g., "What is GDPR compliance?", "How to write a privacy policy for your e-commerce store?", "DMCA vs. Copyright").

* Keywords: Target long-tail keywords like "privacy policy generator free," "terms of service template for SaaS," "cookie policy example," "ADA website compliance checker," "DMCA takedown notice generator."

* Content Formats: Blog posts, downloadable checklists, comparison guides (e.g., GDPR vs. CCPA), video tutorials.

* Paid Search (PPC - Google Ads, Bing Ads):

* Strategy: Bid on high-intent keywords related to policy generation and legal compliance.

* Keywords: "Buy privacy policy," "legal policy generator," "website terms and conditions," "accessibility statement generator," "online legal documents."

* Ad Copy: Highlight speed, affordability, comprehensiveness, and peace of mind. Use clear CTAs like "Generate Now" or "Get Started."

* Social Media Marketing (LinkedIn, Twitter, Facebook Groups):

* Strategy: Share educational content, regulatory updates, and product benefits. Engage in relevant industry discussions.

* Platforms: LinkedIn for B2B targeting (SMBs, agencies), Twitter for tech/startup communities, Facebook Groups for e-commerce and small business owners.

* Content: Infographics on compliance, success stories, quick tips, links to blog posts, Q&A sessions.

* Email Marketing:

* Strategy: Build an email list through lead magnets (e.g., "Compliance Checklist for Startups," free basic policy templates). Nurture leads with educational content, product updates, and special offers.

* Segmentation: Segment lists based on industry or expressed interest (e.g., e-commerce, SaaS).

* Automation: Set up welcome sequences, abandoned cart reminders (for policy generation process), and re-engagement campaigns.

* Affiliate & Partner Marketing:

* Strategy: Partner with web hosting providers, e-commerce platforms (Shopify, WooCommerce), website builders (Wix, Squarespace), digital agencies, and legal tech blogs.

* Benefits: Offer a referral fee or revenue share for driving sign-ups or sales. Provides a credible endorsement from trusted platforms.

  • B. Direct & B2B Outreach:

* Webinars & Online Workshops:

* Strategy: Host educational webinars on specific compliance topics (e.g., "Navigating CCPA for Your Online Business," "Ensuring ADA Compliance for Your Website").

* Outcome: Position ourselves as thought leaders and demonstrate the product's value in a practical setting.

* Industry Events & Conferences (Virtual & In-person):

* Strategy: Exhibit or sponsor relevant conferences for startups, e-commerce, web development, and small businesses.

* Outcome: Direct engagement with target audiences, networking opportunities, lead generation.

  • C. Public Relations (PR):

* Strategy: Secure media coverage in tech, business, and legal industry publications for product launches, significant updates, or thought leadership pieces on emerging compliance trends.

* Outcome: Enhance brand credibility and reach a broader professional audience.


3. Messaging Framework

Our messaging will emphasize the ease, affordability, and peace of mind that the Compliance Policy Generator provides, directly addressing the pain points of our target audience.

  • Core Value Proposition:

"Simplify complex legal compliance. Generate essential privacy, terms, cookie, DMCA, and accessibility policies quickly and affordably, ensuring your business is protected and trustworthy."

  • Key Benefits (What we offer):

* Effortless Compliance: Generate professional, legally sound policies in minutes, not hours or days.

* Cost-Effective: Significant savings compared to hiring legal counsel.

* Comprehensive Coverage: All critical policies in one place (Privacy Policy, Terms of Service, Cookie Policy, DMCA Policy, Accessibility Statement).

* Up-to-Date & Compliant: Policies are regularly updated to reflect the latest global regulations (GDPR, CCPA, ADA, etc.).

* Risk Mitigation: Reduce your legal exposure and protect your business from potential fines and lawsuits.

* Enhanced Credibility: Instantly project a professional and trustworthy image to customers and partners.

  • Tone of Voice:

* Professional & Authoritative: Instill confidence in legal accuracy.

* Reassuring & Helpful: Address fears of legal complexity and non-compliance.

* Efficient & Modern: Highlight the speed and technological advantage.

* Empathetic: Acknowledge the challenges faced by business owners.

  • Call to Action (CTAs):

* "Generate Your Policies Now"

* "Get Compliant Today"

* "Start Your Free Policy Scan"

* "Learn How It Works"

* "Protect Your Business"

  • Taglines/Headlines Examples:

* "Effortless Compliance. Total Peace of Mind."

* "Your All-in-One Solution for Digital Legal Policies."

* "Stay Compliant, Focus on Your Business."

* "Professional Legal Policies, Generated in Minutes."

* "Navigate Digital Regulations with Confidence."


4. Key Performance Indicators (KPIs)

Measuring the effectiveness of our marketing efforts is crucial for continuous improvement. We will track KPIs across different stages of the customer journey.

  • A. Awareness & Reach:

* Website Traffic: Unique visitors, page views (especially policy generation pages, blog).

* Search Engine Rankings: Position for target keywords.

* Impressions: Number of times ads or content are displayed (PPC, social media).

* Brand Mentions: Mentions across social media, news, and forums.

* Social Media Reach: Number of unique users who saw our content.

  • B. Acquisition & Conversion:

* Lead Generation: Number of sign-ups for free trials, newsletter subscriptions, content downloads.

* Conversion Rate (Visitor to Lead): Percentage of website visitors who become leads.

* Conversion Rate (Lead to Paid Subscriber/Customer): Percentage of leads who purchase a policy or subscription.

* Cost Per Acquisition (CPA): Total marketing spend divided by the number of new customers.

* Trial-to-Paid Conversion Rate: For any free trial offerings.

* Number of Policies Generated: Total and per user.

  • C. Engagement:

* Bounce Rate: Percentage of visitors who leave the site after viewing only one page.

* Time on Site: Average duration visitors spend on the website.

* Content Engagement: Shares, comments, and likes on blog posts and social media.

* Email Open & Click-Through Rates: For marketing and nurturing emails.

* Feature Adoption Rate: How many of the available policy types are utilized by users.

  • D. Customer Success & Retention (Post-Acquisition Focus):

* Customer Lifetime Value (CLTV): The total revenue expected from a customer over their relationship with us.

* Churn Rate: Percentage of customers who stop using the service over a given period.

* Customer Satisfaction (CSAT/NPS): Scores from surveys measuring customer happiness and loyalty.

* Renewal Rate: For subscription-based models.


This comprehensive marketing strategy provides a robust framework to launch and grow the Compliance Policy Generator, ensuring we effectively reach businesses in need of simplified, affordable, and reliable legal compliance solutions.

gemini Output

As part of the "Compliance Policy Generator" workflow, we have generated a set of essential regulatory compliance policies tailored to help your business operate legally and ethically.

These policies are designed to be comprehensive starting points. It is crucial that you customize these documents with your specific company details, practices, and obtain legal review to ensure full compliance with all applicable laws and regulations in your jurisdiction.


Compliance Policy Generator: Comprehensive Policy Suite

General Disclaimer

Please note: The following policies are generated samples and are intended for informational purposes only. They do not constitute legal advice. While we have aimed for accuracy and comprehensiveness, laws and regulations vary by jurisdiction and are subject to change. It is your responsibility to consult with a legal professional to customize these policies to your specific business operations, location, and legal requirements, and to ensure full compliance with all applicable laws (e.g., GDPR, CCPA, LGPD, HIPAA, ADA, etc.). You should not rely solely on these documents without professional legal counsel.


1. Privacy Policy

Effective Date: [Date of Policy Implementation]

This Privacy Policy describes how [Your Company Name] ("we," "us," or "our") collects, uses, shares, and protects personal information obtained from users ("you" or "your") of our website [Your Website URL] and any related services, applications, or products (collectively, the "Services"). We are committed to protecting your privacy and handling your data transparently.

1.1. Information We Collect

We collect various types of information, including:

  • Personal Identifiable Information (PII):

* Contact Information: Name, email address, postal address, phone number.

* Account Information: Username, password (encrypted), security questions.

* Financial Information: Payment card details (processed by third-party payment processors), billing address.

* Demographic Information: Age, gender, preferences (optional).

  • Non-Personal Identifiable Information (Non-PII):

* Usage Data: IP address, browser type, operating system, pages visited, time spent on pages, referral source, access times, and dates.

* Device Information: Device type, unique device identifiers, mobile network information.

* Location Data: General location derived from IP address or more precise location if you grant access via your device settings.

  • Cookies and Tracking Technologies: Information collected through cookies, web beacons, and similar technologies (see our Cookie Policy for details).

1.2. How We Use Your Information

We use the collected information for the following purposes:

  • To Provide and Maintain Our Services: To operate, maintain, and improve our website and services, process transactions, and fulfill your requests.
  • To Communicate with You: To send transactional emails (e.g., order confirmations, password resets), respond to inquiries, and provide customer support.
  • For Marketing and Promotional Purposes: To send you newsletters, promotional offers, and information about products or services we believe may interest you (with your consent where required).
  • For Personalization: To personalize your experience on our website and tailor content and offers.
  • For Analytics and Improvement: To monitor and analyze usage and trends, understand user behavior, and improve our services, features, and functionality.
  • For Security and Fraud Prevention: To detect, prevent, and address technical issues, fraud, or other illegal activities.
  • To Comply with Legal Obligations: To comply with applicable laws, regulations, legal processes, or governmental requests.

1.3. How We Share Your Information

We may share your information with third parties in the following circumstances:

  • Service Providers: With third-party vendors and service providers who perform services on our behalf (e.g., payment processing, hosting, analytics, customer support, email delivery). These providers are contractually obligated to protect your information and use it only for the purposes for which it was disclosed.
  • Business Transfers: In connection with a merger, acquisition, sale of assets, or other business transaction, your information may be transferred as part of the assets.
  • Legal Requirements: When required by law, court order, or governmental regulation, or if we believe such action is necessary to comply with legal obligations, protect our rights or property, or ensure the safety of our users or the public.
  • With Your Consent: We may share your information with third parties when we have your explicit consent to do so.
  • Aggregated or Anonymized Data: We may share aggregated or anonymized data that does not directly identify you with third parties for various purposes, including marketing, analytics, and research.

1.4. Data Retention

We retain your personal information only for as long as necessary to fulfill the purposes for which it was collected, including for the purposes of satisfying any legal, accounting, or reporting requirements. To determine the appropriate retention period, we consider the amount, nature, and sensitivity of the personal data, the potential risk of harm from unauthorized use or disclosure of your personal data, the purposes for which we process your personal data, and whether we can achieve those purposes through other means, and the applicable legal requirements.

1.5. Your Rights and Choices

Depending on your jurisdiction, you may have the following rights regarding your personal information:

  • Access: The right to request a copy of the personal data we hold about you.
  • Rectification: The right to request correction of inaccurate or incomplete data.
  • Erasure ("Right to be Forgotten"): The right to request deletion of your personal data under certain circumstances.
  • Restriction of Processing: The right to request that we restrict the processing of your personal data under certain conditions.
  • Data Portability: The right to receive your personal data in a structured, commonly used, and machine-readable format and transmit it to another controller.
  • Object to Processing: The right to object to the processing of your personal data under certain circumstances (e.g., for direct marketing).
  • Withdraw Consent: Where we rely on your consent to process your personal data, you have the right to withdraw that consent at any time.
  • Lodge a Complaint: The right to lodge a complaint with a supervisory authority.

To exercise any of these rights, please contact us at [Contact Email Address]. We may need to verify your identity before fulfilling your request.

1.6. Security

We implement reasonable technical and organizational measures to protect your personal information from unauthorized access, disclosure, alteration, or destruction. However, no method of transmission over the internet or electronic storage is 100% secure, and we cannot guarantee absolute security.

1.7. Third-Party Links

Our Services may contain links to third-party websites or services that are not operated by us. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services. We encourage you to review the privacy policies of any third-party sites you visit.

1.8. Children's Privacy

Our Services are not intended for individuals under the age of [e.g., 13 or 16, depending on jurisdiction and service]. We do not knowingly collect personal information from children without parental consent. If we become aware that we have collected personal information from a child without verifiable parental consent, we will take steps to remove that information from our servers. If you believe a child has provided us with personal information, please contact us.

1.9. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Effective Date" at the top. We encourage you to review this Privacy Policy periodically for any changes.

1.10. Contact Us

If you have any questions or concerns about this Privacy Policy or our data practices, please contact us:

  • By Email: [Your Contact Email Address]
  • By Mail: [Your Company Address]
  • By Phone: [Your Company Phone Number (Optional)]

2. Terms of Service

Effective Date: [Date of Policy Implementation]

These Terms of Service ("Terms") govern your access to and use of the website [Your Website URL] and any related services, applications, or products (collectively, the "Services") provided by [Your Company Name] ("we," "us," or "our"). By accessing or using the Services, you agree to be bound by these Terms and our Privacy Policy. If you do not agree to these Terms, do not use our Services.

2.1. Acceptance of Terms

By creating an account, clicking "I Agree," or otherwise accessing or using the Services, you acknowledge that you have read, understood, and agree to be bound by these Terms. If you are using the Services on behalf of an organization, you are agreeing to these Terms for that organization and representing that you have the authority to bind that organization to these Terms.

2.2. User Accounts

  • Account Creation: To access certain features of the Services, you may be required to register for an account. You agree to provide accurate, current, and complete information during the registration process and to update such information to keep it accurate, current, and complete.
  • Account Security: You are responsible for maintaining the confidentiality of your account password and for all activities that occur under your account. You agree to notify us immediately of any unauthorized use of your account or any other breach of security. We are not liable for any loss or damage arising from your failure to comply with this security obligation.
  • Eligibility: You must be at least [e.g., 13 or 18] years old to use our Services. By using the Services, you represent and warrant that you meet this age requirement.

2.3. User Conduct

You agree not to use the Services for any unlawful purpose or in any way that might harm, abuse, or otherwise interfere with the Services or the rights of others. Prohibited conduct includes, but is not limited to:

  • Violating any applicable local, state, national, or international law or regulation.
  • Infringing upon the rights of others, including intellectual property rights.
  • Uploading or transmitting any malicious code, viruses, or other harmful software.
  • Engaging in spamming, phishing, or other unsolicited communications.
  • Impersonating any person or entity.
  • Collecting or harvesting any personally identifiable information from the Services.
  • Interfering with or disrupting the integrity or performance of the Services.

2.4. Intellectual Property

  • Our Content: All content on the Services, including text, graphics, logos, images, audio clips, video clips, data compilations, and software, is the property of [Your Company Name] or its content suppliers and is protected by copyright, trademark, patent, trade secret, and other intellectual property laws.
  • Your Content: You retain ownership of any content you submit, post, or display on or through the Services. By submitting content, you grant us a worldwide, non-exclusive, royalty-free, transferable license to use, reproduce, distribute, prepare derivative works of, display, and perform your content in connection with the Services and our business.
  • Feedback: If you provide us with any feedback, suggestions, or ideas regarding the Services, you agree that we are free to use such feedback for any purpose without any compensation to you.

2.5. Disclaimers

THE SERVICES ARE PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR COURSE OF PERFORMANCE. WE DO NOT WARRANT THAT THE SERVICES WILL BE UNINTERRUPTED, SECURE, OR ERROR-FREE, THAT DEFECTS WILL BE CORRECTED, OR THAT THE SERVICES OR THE SERVERS THAT MAKE THEM AVAILABLE ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS.

2.6. Limitation of Liability

TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL [YOUR COMPANY NAME], ITS AFFILIATES, DIRECTORS, EMPLOYEES, OR AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING WITHOUT LIMITATION, LOSS OF PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES, RESULTING FROM (I) YOUR ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SERVICES; (II) ANY CONDUCT OR CONTENT OF ANY THIRD PARTY ON THE SERVICES; (III) ANY CONTENT OBTAINED FROM THE SERVICES; AND (IV) UNAUTHORIZED ACCESS, USE OR ALTERATION OF YOUR TRANSMISSIONS OR CONTENT, WHETHER BASED ON WARRANTY, CONTRACT, TORT (INCLUDING NEGLIGENCE) OR ANY OTHER LEGAL THEORY, WHETHER OR NOT WE HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGE.

2.7. Indemnification

You agree to indemnify, defend, and hold harmless [Your Company Name] and its affiliates, officers, directors, employees, and agents from and against any and all claims, liabilities, damages, losses, costs, expenses, or fees (including reasonable attorneys' fees) that such parties may incur as a result of or arising from your (or anyone using your account's) violation of these Terms or any content you submit, post, or transmit through the Services.

2.8. Termination

We may terminate or suspend your access to the Services immediately, without prior notice or liability, for any reason whatsoever, including without limitation if you breach the Terms. Upon termination, your right to use the Services will immediately cease. If you wish to terminate your account, you may simply discontinue using the Services.

2.9. Governing Law

These Terms shall be governed and construed in accordance with the laws of [Your State/Country], without regard to its conflict of law provisions. You agree to submit to the exclusive jurisdiction of the courts located within [Your State/Country] to resolve any dispute arising from these Terms or the Services.

2.10. Changes to Terms

We reserve the right, at our sole discretion, to modify or replace these Terms at any time. If a revision is material, we will provide at least [e.g., 30] days' notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion. By continuing to access or use our Services after those revisions become effective, you agree to be bound by the revised terms.

2.11. Contact Us

If you have any questions about these Terms, please contact us:

  • By Email: [Your Contact Email Address]
  • By Mail: [Your Company Address]
  • By Phone: [Your Company Phone Number (Optional)]

3. Cookie Policy

Effective Date: [Date of Policy Implementation]

This Cookie Policy explains how [Your Company Name] ("we," "us," or "our") uses cookies and similar technologies on our website [Your Website URL] and any related services, applications, or products (collectively, the "Services"). By using our Services, you consent to the use of cookies in accordance with this policy.

3.1. What are Cookies?

Cookies are small text files that are placed on your computer or mobile device when you visit a website. They are widely used to make websites work more efficiently, as well as to provide information to the owners of the site. Cookies can remember your preferences, track your browsing behavior, and help personalize your experience.

3.2. How We Use Cookies

We use cookies for various purposes, including:

  • Essential Functionality: To enable core features of
gemini Output

This document provides a comprehensive set of regulatory compliance policies designed to protect your business and its users, while meeting legal obligations. Each policy is drafted with professional detail and includes placeholders [like this] for your specific company information.


Compliance Policy Generator Output

Important Disclaimer

This document contains template policies for informational purposes only. It is not legal advice. The laws governing privacy, terms of service, cookies, DMCA, and accessibility are complex and vary by jurisdiction. You must consult with a qualified legal professional to adapt these templates to your specific business model, services, target audience, and applicable laws (e.g., GDPR, CCPA, CPRA, HIPAA, ADA, etc.) before publishing or implementing them. Failure to do so could result in legal liabilities.


1. Privacy Policy

Effective Date: [Effective Date]

1. Introduction

Welcome to [Your Company Name]! We are committed to protecting your privacy and handling your data in an open and transparent manner. This Privacy Policy explains how [Your Company Name] ("we," "us," or "our") collects, uses, discloses, and protects your personal information when you visit our website [Your Company Website], use our services, or interact with us.

By accessing or using our services, you agree to the collection, use, and disclosure of your information as described in this Privacy Policy. If you do not agree with the terms of this policy, please do not access or use our services.

2. Information We Collect

We collect various types of information for different purposes to provide and improve our services to you.

2.1. Personal Information (Directly Identifiable)

This includes information that can be used to identify you directly or indirectly. We may collect:

  • Contact Information: Name, email address, postal address, phone number.
  • Account Information: Username, password (encrypted), and other details required for account creation.
  • Payment Information: Billing address, credit/debit card details (processed securely by third-party payment processors; we do not store sensitive payment card information directly).
  • Demographic Information: Age, gender, preferences (if voluntarily provided).
  • Communications: Records of your correspondence with us, including customer support inquiries.
  • User-Generated Content: Any content you submit to our services, such as comments, reviews, or forum posts.

2.2. Usage Data (Automatically Collected)

When you access our services, we may automatically collect certain information about your device, browsing actions, and patterns. This Usage Data may include:

  • IP Address: Your device's Internet Protocol address.
  • Device Information: Type of device, operating system, browser type, unique device identifiers.
  • Browsing Activity: Pages visited, time spent on pages, links clicked, referral source, date and time of access.
  • Location Data: General geographical location derived from your IP address or, with your consent, precise location from your mobile device.

2.3. Cookies and Tracking Technologies

We use cookies and similar tracking technologies (like web beacons, pixels, and local storage) to track activity on our services and hold certain information. These technologies are used to:

  • Enhance User Experience: Remember your preferences and settings.
  • Analyze Usage: Understand how you interact with our services.
  • Personalize Content: Deliver relevant content and advertisements.
  • Improve Security: Detect and prevent fraudulent activities.

For more detailed information on how we use cookies, please refer to our separate Cookie Policy.

3. How We Use Your Information

We use the collected information for various purposes, including:

  • To Provide and Maintain Our Services: Operate our website, process transactions, fulfill orders, and manage your account.
  • To Improve Our Services: Analyze usage patterns, troubleshoot issues, develop new features, and enhance user experience.
  • To Communicate With You: Send important notices, updates, promotional offers, and respond to your inquiries.
  • For Marketing and Advertising: Deliver personalized advertisements and promotional materials based on your interests and usage.
  • For Security and Fraud Prevention: Protect our services, users, and business from fraudulent activities, unauthorized access, and other security risks.
  • For Legal Compliance: Comply with applicable laws, regulations, legal processes, and governmental requests.
  • For Business Operations: Perform internal audits, data analysis, and other administrative functions.

4. How We Share Your Information

We may share your information with third parties in the following situations:

  • Service Providers: We engage third-party companies and individuals to facilitate our services (e.g., payment processors, hosting providers, analytics providers, customer support). These service providers have access to your personal information only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.
  • Business Transfers: In the event of a merger, acquisition, asset sale, or other business transaction, your personal information may be transferred as a business asset.
  • Legal Requirements: We may disclose your information if required to do so by law or in response to valid requests by public authorities (e.g., a court order or government agency).
  • To Protect Our Rights: We may disclose your information when we believe it is necessary to investigate, prevent, or take action regarding potential violations of our policies, suspected fraud, situations involving potential threats to the safety of any person, or as evidence in litigation.
  • With Your Consent: We may share your information with other third parties when you give us explicit consent to do so.
  • Aggregated or Anonymized Data: We may share aggregated or anonymized data that cannot be used to identify you personally with third parties for various purposes, including analytics, research, and marketing.

5. Your Rights and Choices

Depending on your jurisdiction, you may have the following rights regarding your personal information:

  • Right to Access: Request a copy of the personal information we hold about you.
  • Right to Rectification: Request correction of inaccurate or incomplete personal information.
  • Right to Erasure ("Right to Be Forgotten"): Request deletion of your personal information under certain circumstances.
  • Right to Restrict Processing: Request restriction of processing your personal information under certain circumstances.
  • Right to Data Portability: Request to receive your personal information in a structured, commonly used, and machine-readable format.
  • Right to Object: Object to the processing of your personal information for direct marketing purposes or on grounds relating to your particular situation.
  • Right to Withdraw Consent: Withdraw your consent at any time where we rely on consent to process your personal information.

5.1. Opt-Out of Marketing Communications

You can opt-out of receiving promotional emails from us by following the unsubscribe link provided in those emails or by contacting us directly. Please note that even if you opt-out of marketing communications, we may still send you non-promotional messages related to your account or our ongoing business relations.

5.2. Cookie Preferences

You can manage your cookie preferences through your browser settings. For more information, please refer to our Cookie Policy.

6. Data Security

We implement reasonable technical and organizational measures to protect your personal information from unauthorized access, disclosure, alteration, and destruction. However, no method of transmission over the Internet or electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your personal information, we cannot guarantee its absolute security.

7. Data Retention

We will retain your personal information only for as long as is necessary for the purposes set out in this Privacy Policy, including for satisfying any legal, accounting, or reporting requirements. When your personal information is no longer needed, we will securely delete or anonymize it.

8. Children's Privacy

Our services are not intended for individuals under the age of [e.g., 13 or 16, depending on applicable laws like COPPA or GDPR]. We do not knowingly collect personally identifiable information from children without parental consent. If you are a parent or guardian and believe that your child has provided us with personal information, please contact us, and we will take steps to remove that information from our servers.

9. International Data Transfers

Your information, including personal information, may be transferred to — and maintained on — computers located outside of your state, province, country, or other governmental jurisdiction where the data protection laws may differ from those of your jurisdiction.

If you are located outside [Your Country], please note that we transfer the data, including Personal Data, to [Your Country] and process it there. Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.

10. Links to Other Websites

Our services may contain links to other websites that are not operated by us. If you click on a third-party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

11. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Effective Date" at the top. We may also notify you via email or through a prominent notice on our service prior to the change becoming effective.

You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

12. Contact Us

If you have any questions about this Privacy Policy, please contact us:

  • By email: [Your Email Address]
  • By visiting this page on our website: [Link to Contact Us Page]
  • By mail: [Your Company Address]

2. Terms of Service

Effective Date: [Effective Date]

1. Introduction

Welcome to [Your Company Name]! These Terms of Service ("Terms") govern your use of the website [Your Company Website] and any related services provided by [Your Company Name] ("we," "us," or "our").

By accessing or using our services, you agree to be bound by these Terms, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site.

2. Definitions

  • "Service" refers to the website, applications, and any related services provided by [Your Company Name].
  • "User," "You," "Your" refers to the individual or entity accessing or using the Service.
  • "Content" refers to any data, text, graphics, images, audio, video, software, and other material displayed on, transmitted through, or otherwise available on the Service.
  • "User Content" refers to any Content that you submit, post, or display on or through the Service.

3. User Accounts

3.1. Account Creation

To access certain features of the Service, you may be required to register for an account. You agree to:

  • Provide accurate, current, and complete information during the registration process.
  • Maintain and promptly update your account information to keep it accurate, current, and complete.

3.2. Account Security

You are solely responsible for maintaining the confidentiality of your account login credentials (username and password) and for all activities that occur under your account. You agree to:

  • Notify us immediately of any unauthorized use of your account or any other breach of security.
  • Ensure that you exit from your account at the end of each session.

We cannot and will not be liable for any loss or damage arising from your failure to comply with these security obligations.

4. Acceptable Use Policy

You agree not to use the Service for any purpose that is unlawful or prohibited by these Terms, or for any other purpose not reasonably intended by [Your Company Name]. Prohibited uses include, but are not limited to:

  • Illegal Activities: Engaging in any activity that violates any applicable local, state, national, or international law or regulation.
  • Harmful Content: Posting, transmitting, or otherwise making available any content that is unlawful, harmful, threatening, abusive, harassing, tortious, defamatory, vulgar, obscene, libelous, invasive of another's privacy, hateful, or racially, ethnically, or otherwise objectionable.
  • Impersonation: Impersonating any person or entity, or falsely stating or otherwise misrepresenting your affiliation with a person or entity.
  • Spamming: Transmitting unsolicited commercial emails ("spam") or engaging in any other form of unsolicited advertising.
  • Malware: Uploading, posting, or otherwise transmitting any material that contains software viruses or any other computer code, files, or programs designed to interrupt, destroy, or limit the functionality of any computer software or hardware or telecommunications equipment.
  • Interference: Interfering with or disrupting the Service or servers or networks connected to the Service.
  • Data Mining: Using any automated system, including without limitation "robots," "spiders," "offline readers," etc
compliance_policy_generator.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);}});}