Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LegalGen

Free Privacy Policy, Terms of Service & Legal Page Generators. 15+ tools that generate professional legal documents, invoices, and compliance reports — entirely client-side. No data ever leaves your browser.

🚀 Quick Deploy

# Install GitHub CLI
brew install gh
gh auth login

# Deploy to GitHub Pages
bash deploy.sh

Your site will be live at https://YOUR_USERNAME.github.io/legalgen/ in 2 minutes.

🛠️ Tools

Legal Page Generators

  • Privacy Policy Generator — GDPR & CCPA compliant, PDF export
  • Terms of Service Generator — For websites, SaaS, mobile apps, e-commerce
  • Cookie Policy Generator — Discloses cookie usage and tracking
  • Refund Policy Generator — Sets customer expectations
  • Disclaimer Generator — Limits your liability
  • Terms & Conditions Generator — Comprehensive terms for any service
  • Legal Page Bundle — Generate all 6 as PDFs in a ZIP download

Business Tools

  • Invoice Generator — 5 templates, line items, tax/discount, PDF export
  • Receipt Generator — Print-ready monospace format, PDF export

Compliance Tools

  • GDPR Compliance Quiz — 10-question personalized assessment
  • Legal Compliance Checklist — 28-item interactive checklist
  • Website Compliance Score — 8-question quiz with scoring and actionable fixes
  • Cookie Consent Banner — Generate embeddable cookie banners
  • Do Not Sell Page — CCPA compliance
  • Accessibility Statement — ADA/WCAG compliance

✨ Features

  • 🔒 100% Client-Side — No data is sent to any server
  • Instant Generation — Legal pages in seconds
  • 📄 PDF Export — Professional styled PDFs on all tools
  • 📦 Legal Page Bundle — All 6 documents as PDFs in a ZIP
  • 🎨 5 Invoice Templates — Classic, Modern, Minimal, Bold, Creative
  • 🌍 GDPR & CCPA Ready — Covers major privacy regulations
  • 📱 Responsive — Works on desktop, tablet, and mobile
  • 🔌 Embeddable — Add tools to your site with one line of code
  • 📊 Self-Hosted Analytics — No Google dependency
  • 🆓 Free Forever — No signup, no limits, no catch

📁 Project Structure

public/
  index.html          — Landing page with tool grid
  pricing.html        — Free vs Pro comparison
  demo.html           — Live tool demos (for Product Hunt)
  embed.html          — Embed widget configurator
  compare.html        — vs competitors comparison
  404.html            — Custom 404 page
  sitemap.xml         — 35 URLs for Google
  robots.txt          — Crawler directives
  css/style.css       — Shared design system
  js/
    legalgen.js       — Shared generator engine
    legalgen-pdf.js   — PDF export module (jsPDF)
    embed.js          — Embeddable widget script
    analytics.js      — Self-hosted analytics
  tools/              — 15 generator tools
  blog/               — 9 SEO articles
  admin/              — Analytics dashboard
  wordpress-plugin/   — WordPress embed plugin

🚀 Deploy

GitHub Pages (recommended)

bash deploy.sh

Netlify / Vercel

Drag and drop the public/ directory — zero config needed.

Any Static Host

The public/ directory is a complete static site. Upload it anywhere.

💰 Monetization

  • ☕ Buy Me a Coffee donations (on all pages)
  • Google AdSense placeholders (ready to activate)
  • Pro tier: $9/mo — custom branding, multi-language, API access
  • Gumroad template packs: $5-15 each
  • WordPress plugin: $29 one-time
  • Affiliate program: 30% commission

📊 SEO

  • JSON-LD structured data on all tool pages
  • Open Graph meta tags for social sharing
  • 9 blog posts targeting high-volume keywords
  • 2 SEO landing pages (privacy policy generator, invoice generator)
  • Complete sitemap with 35 URLs
  • Canonical URLs on every page

License

MIT — do whatever you want with it.

About

Free Privacy Policy, Terms of Service & Legal Page Generators — 15+ tools, PDF export, 100% client-side

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages