Skip to content

lyfmail-official/lyfmail-docs

Repository files navigation

LYF Mail Docs β€” Official Documentation Hub for the LYF Mail Ecosystem

Complete developer documentation, setup guides, API references, PWA tutorials, and brand integration instructions for the LYF Mail privacy-first digital wellness platform and all open-source tools.

Live Docs GitHub Pages License Open Source Maintained by LYF Mail

"Knowledge is not just information β€” it's the spark that lights the path to growth."
The official knowledge hub for LYF Mail β€” India's privacy-first digital wellness platform.


πŸ“˜ What Is LYF Mail Docs?

LYF Mail Docs is the official documentation repository for the entire LYF Mail ecosystem β€” a comprehensive knowledge hub covering installation guides, Progressive Web App (PWA) setup, technical references, developer tutorials, brand integration instructions, and SEO best practices for LYF Mail and all its open-source subprojects.

This repository serves as the central source of truth for:

  • πŸ—οΈ Developers building with or contributing to LYF Mail tools.
  • 🎨 Designers integrating LYF Mail brand assets into their projects.
  • πŸ“° Content creators using LYF Mail newsletters and guides.
  • πŸ› οΈ System administrators deploying LYF Mail PWAs on VPS, shared hosting, or edge networks.
  • πŸ” SEO professionals optimizing sites within the LYF Mail subdomain architecture.

Built by LYF Mail, a privacy-first digital wellness platform serving 50,000+ subscribers across India since 2020, LYF Mail Docs extends our mission of "Every Choice Shapes Tomorrow" into open knowledge sharing, developer empowerment, and technical transparency.


🌍 Live Documentation

πŸ‘‰ Access the live documentation hub: docs.lyfmail.com

The live site covers five core knowledge pillars:

Category Topics Covered Live URL
Health & Wellness Fitness, nutrition, mental health, holistic living, preventive care. https://docs.lyfmail.com/health-wellness
Business & Investment / Finance Entrepreneurship, financial literacy, investing, digital business. https://docs.lyfmail.com/financing
Employment & Career Resume writing, interviews, upskilling, workplace productivity. https://docs.lyfmail.com/career
Arts & Creativity / Entertainment Visual arts, creative writing, design thinking, media trends. https://docs.lyfmail.com/unlocking-creativity-expression-and-culture
Self-Help / Intuition Mindfulness, confidence building, relationships, positive mindset. https://docs.lyfmail.com/self-help-intuition

πŸ“š Documentation Structure

This repository contains comprehensive documentation organized into the following sections:

πŸš€ Getting Started

  • Overview β€” What is LYF Mail and the ecosystem architecture?
  • System Requirements β€” Browser support, server requirements, minimum specs.
  • Quick Start β€” Deploy your first LYF Mail PWA in under 10 minutes.
  • Architecture Overview β€” Understanding the subdomain model, CDN strategy, and edge deployment.

πŸ“± PWA Setup & Development

  • File Structure β€” Standard LYF Mail PWA directory layout.
  • Manifest Configuration β€” manifest.json best practices for installability.
  • Service Worker β€” Cache strategies, offline fallbacks, background sync.
  • Offline Mode β€” Designing resilient experiences for low-connectivity environments.
  • Performance Optimization β€” Core Web Vitals, lazy loading, image optimization.

πŸ› οΈ Installation & Deployment Guides

  • CyberPanel Deployment β€” Step-by-step LYF Mail PWA deployment on CyberPanel.
  • OpenLiteSpeed Setup β€” Configuration for high-performance static hosting.
  • Cloudflare Pages β€” Edge deployment with automatic CI/CD.
  • GitHub Pages β€” Free static hosting for open-source project documentation.
  • VPS Deployment β€” Self-hosted deployment on Ubuntu/Debian with Nginx.
  • Shared Hosting β€” cPanel and DirectAdmin deployment guides.

πŸ”Œ Technical References

  • API Documentation β€” Future API endpoints and integration patterns.
  • Caching Strategies β€” Service worker caching, CDN configuration, cache invalidation.
  • Security Headers β€” HSTS, CSP, X-Frame-Options, and other security best practices.
  • Web Performance β€” Lighthouse optimization, bundle analysis, resource hints.
  • Accessibility (a11y) β€” WCAG 2.1 AA compliance guidelines for all LYF Mail projects.

πŸŽ“ Developer Tutorials

  • Integrating LYF Mail Components β€” How to embed newsletters, signup forms, and tools.
  • Building Privacy-First PWAs β€” Patterns from the LYF Mail open-source toolkit.
  • Subdomain SEO Strategy β€” How LYF Mail uses subdomains for targeted content discovery.
  • Zero-Backend Architecture β€” Building apps with localStorage, IndexedDB, and Web Crypto API.
  • Homomorphic Encryption Basics β€” Introduction to privacy-preserving computation (as used in Ebb).

🎨 Brand Integration

  • Logo Usage β€” Correct and incorrect logo applications, minimum sizes, clear space.
  • Color Palette β€” Primary, secondary, and accent colors with hex/RGB values.
  • Typography β€” Font families, weights, and hierarchy for LYF Mail branded content.
  • UI Guidelines β€” Button styles, form elements, card components, spacing systems.
  • Brand Voice β€” Tone, terminology, and messaging guidelines for LYF Mail communications.

πŸ” SEO & Content Structure

  • Indexing Strategy β€” How LYF Mail structures content for maximum search visibility.
  • Sitemap Configuration β€” XML sitemaps for multi-subdomain ecosystems.
  • Internal Linking β€” Cross-linking strategy between lyfmail.com and subdomains.
  • Schema.org Markup β€” Structured data for articles, FAQs, organizations, and apps.
  • Subdomain SEO β€” Best practices for health.signup.lyfmail.com, signals.lyfmail.com, etc.

πŸ› Troubleshooting

  • Common Errors β€” Deployment issues, service worker failures, caching problems.
  • Performance Fixes β€” Slow load times, large bundle sizes, render-blocking resources.
  • SEO Issues β€” Indexing problems, duplicate content, canonical tag configuration.
  • Security Fixes β€” CSP violations, mixed content warnings, certificate issues.

πŸ—οΈ LYF Mail Ecosystem Architecture

The LYF Mail platform uses a strategic subdomain architecture for targeted SEO, content organization, and developer accessibility:

Subdomain Purpose Live URL
lyfmail.com Main website β€” newsletters, guides, brand hub. lyfmail.com
app.lyfmail.com Official Progressive Web App. app.lyfmail.com
docs.lyfmail.com Documentation hub (this repository). docs.lyfmail.com
health.signup.lyfmail.com Health newsletter signup landing. health.signup.lyfmail.com
financing.signup.lyfmail.com Finance newsletter signup landing. financing.signup.lyfmail.com
career.signup.lyfmail.com Career newsletter signup landing. career.signup.lyfmail.com
creativity.signup.lyfmail.com Creativity newsletter signup landing. creativity.signup.lyfmail.com
intuition.signup.lyfmail.com Personal development signup landing. intuition.signup.lyfmail.com
trustlens.lyfmail.com Misinformation detection tool. trustlens.lyfmail.com
signals.lyfmail.com Privacy-first analytics. signals.lyfmail.com
ebb.lyfmail.com Encrypted period tracker. ebb.lyfmail.com
lyfsos.lyfmail.com Offline emergency app. lyfsos.lyfmail.com
pdpr.lyfmail.com Dark pattern registry. pdpr.lyfmail.com
together.lyfmail.com Therapeutic silence app. together.lyfmail.com
support.lyfmail.com Help center & support. support.lyfmail.com

πŸš€ Quick Start for Developers

1. Clone the Repository

git clone https://github.com/lyfmail-official/lyfmail-docs.git
cd lyfmail-docs

2. Explore the Documentation

All documentation files are simple Markdown (.md) files for easy editing:

# Browse getting started guides
cat getting-started/README.md

# Review PWA setup instructions
cat pwa-setup/README.md

# Check deployment guides
cat deployment/cyberpanel.md

3. Serve Locally (Optional)

# Using Python
python3 -m http.server 8080

# Using Node.js
npx serve .

# Open http://localhost:8080

4. Contribute

See CONTRIBUTING.md for contribution guidelines.


πŸ“ Repository Structure

lyfmail-docs/
β”œβ”€β”€ getting-started/
β”‚   β”œβ”€β”€ README.md
β”‚   
β”œβ”€β”€ pwa-setup/
β”‚   β”œβ”€β”€ README.md
β”œβ”€β”€ deployment/
β”‚   β”œβ”€β”€ README.md
β”‚ 
β”œβ”€β”€ developer-tutorials/
β”‚   β”œβ”€β”€ README.md
β”‚   
β”œβ”€β”€ seo-content-structure/
β”‚   β”œβ”€β”€ README.md
β”œβ”€β”€ .github/
β”‚   └── workflows/
β”‚       └── deploy.yml    # GitHub Actions deployment to docs.lyfmail.com
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ CODE_OF_CONDUCT.md
└── SECURITY.md

🎯 Purpose & Goals

This repository serves as:

  • βœ… A public documentation base β€” openly accessible knowledge for all users and developers.
  • βœ… A developer-friendly resource β€” clear, practical guides with copy-paste code examples.
  • βœ… A brand authority booster β€” comprehensive documentation that establishes LYF Mail as a trusted digital wellness authority.
  • βœ… An SEO-indexable knowledge hub β€” structured content that drives organic traffic to lyfmail.com and all subdomains.
  • βœ… A contribution gateway β€” welcoming developers, writers, and educators to improve the ecosystem.

πŸ—οΈ The LYF Mail Ecosystem

LYF Mail Docs is part of the LYF Mail ecosystem β€” nine free, open-source privacy tools and a digital wellness platform from Varanasi, India. Explore our projects:

Project Description Live App Repository
LYF Mail Privacy-first newsletters for health, wealth, career & mindfulness. lyfmail.com lyfmail
TrustLens Detect misinformation before you share. Privacy-first credibility analysis. trustlens.lyfmail.com trustlens
Signals Privacy-first analytics. Human vs. bot detection without cookies or fingerprinting. signals.lyfmail.com signals
Ebb Period tracker with homomorphic encryption. Your data stays encrypted β€” even from us. ebb.lyfmail.com ebb
LYF SOS Offline emergency safety app for Android. Built for Indian families. lyfsos.lyfmail.com lyfsos
PDPR Public Dark Pattern Registry. Document deceptive UX ethically. pdpr.lyfmail.com pdpr
Together Mental health support through therapeutic silence and shared presence. together.lyfmail.com together
Rewriter AI-powered narrative therapy and health content writing assistant. lyfmail-official.github.io/rewriter rewriter
Offload Stress relief with binaural beats and dream journal. Zero cloud storage. lyfmail-official.github.io/offload offload

πŸ“š Free Newsletters & Guides

Newsletter Signups: Health Β· Finance Β· Career Β· Creativity Β· Personal Development


πŸ“œ License

This repository is licensed under the MIT License.

You are free to use, modify, and distribute this documentation β€” including commercially β€” with attribution. See LICENSE for full terms.


🀝 Contributing

We welcome contributions from developers, technical writers, UX designers, SEO specialists, and digital wellness advocates.

How to Contribute

  1. Fork this repository.
  2. Create a feature branch (git checkout -b docs/your-topic).
  3. Write clear, practical documentation with code examples where applicable.
  4. Submit a pull request with a detailed description of your changes.

Contribution Guidelines

  • βœ… Use simple, clear Markdown formatting.
  • βœ… Include code examples for all technical instructions.
  • βœ… Follow the existing directory structure and naming conventions.
  • βœ… Ensure all links are valid and point to live resources.
  • βœ… Respect privacy-first principles in all documentation.
  • βœ… Test all deployment instructions before submitting.

Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md before submitting.


πŸ“« Connect With Us


"Every Choice Shapes Tomorrow"

Maintained by LYF Mail Β· Founded by Ajay Kumar Chaudhary Β· Varanasi, Uttar Pradesh, India Β· Since 2020


πŸ’¬ Frequently Asked Questions

Q: What is LYF Mail Docs?
A: LYF Mail Docs is the official documentation repository for the LYF Mail ecosystem β€” a comprehensive knowledge hub covering installation guides, PWA setup, technical references, developer tutorials, brand integration, and SEO best practices for LYF Mail and all its open-source tools.

Q: Is the documentation free to use?
A: Yes. All documentation in this repository is free and open-source under the MIT License. You can use, modify, and distribute it for personal or commercial purposes with attribution.

Q: Can I contribute to the documentation?
A: Yes. We welcome contributions from developers, technical writers, designers, and digital wellness advocates. Please read CONTRIBUTING.md for guidelines and submit pull requests via GitHub.

Q: What deployment platforms are covered?
A: Our deployment guides cover CyberPanel, OpenLiteSpeed, Cloudflare Pages, GitHub Pages, VPS with Nginx, and shared hosting (cPanel/DirectAdmin). More platforms are added based on community demand.

Q: Does LYF Mail Docs include API documentation?
A: API documentation is planned for future LYF Mail services. The repository structure includes placeholders for API references, and we will publish comprehensive API docs as endpoints become available.

Q: How is the documentation organized?
A: Documentation is organized into eight main sections: Getting Started, PWA Setup, Deployment, Technical References, Developer Tutorials, Brand Integration, SEO & Content Structure, and Troubleshooting. Each section contains focused Markdown files for easy navigation.

Q: Can I use LYF Mail brand assets in my own project?
A: Yes, with attribution. Our Brand Integration section includes detailed guidelines for logo usage, color palette, typography, and UI components. Please follow these guidelines to maintain brand consistency.

Q: Is there a quick start guide for beginners?
A: Yes. See getting-started/quick-start.md for a step-by-step guide to deploying your first LYF Mail PWA in under 10 minutes β€” no prior experience required.

Q: How does LYF Mail use subdomains for SEO?
A: LYF Mail uses a strategic subdomain architecture where each tool, newsletter category, and documentation area has its own subdomain (e.g., health.signup.lyfmail.com, signals.lyfmail.com, docs.lyfmail.com). This enables highly targeted SEO, clean content organization, and independent scaling. See seo-content-structure/subdomain-seo.md for detailed strategy.

Q: Where can I get help if I'm stuck?
A: Check the troubleshooting/ directory for common issues and solutions. For additional support, visit support.lyfmail.com or email contact@lyfmail.com.


This README is maintained by the LYF Mail team. For documentation improvements, technical questions, or contribution inquiries, please visit our GitHub repository.

About

Official documentation for LYF Mail- including installation guides, PWA setup, technical references, developer tutorials, and brand integration instructions for websites and applications.

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages