Skip to content

sofyan-solutions/pasopati-lab

Repository files navigation

PASOPATI (The Precision Weapon)

Strategic Business Diagnostic Tool & Growth Platform.

🚀 Overview

PASOPATI is a web application designed to help business owners diagnose "Technical Debt" and operational inefficiencies. It features an interactive diagnostic checklist, automated scoring, PDF report generation, and a blog for educational content.

✨ Features

  • Interactive Diagnostic UI: 7-point checklist with "engineer's insight" tooltips.
  • Automated Scoring: Real-time risk assessment.
  • Lead Capture: Integrated form with WhatsApp validation.
  • Security: Cloudflare Turnstile integration for spam protection.
  • PDF Generation: Dynamic PDF report generation with digital signatures.
  • Blog: Markdown-based blog system (Git CMS).
  • Admin Dashboard: (Local/Self-hosted only) Interface for managing posts.

🛠️ Tech Stack

  • Framework: SvelteKit
  • UI Library: shadcn-svelte / Tailwind CSS
  • Styling: Vanilla CSS + Tailwind
  • Database: Google Sheets (via API) for lead storage.
  • Content: Markdown (mdsvex)
  • Deployment: Vercel (Serverless)

⚡ Development

# Install dependencies
npm install

# Start development server
npm run dev

# Run check
npm run check

🌍 Deployment

Vercel (Recommended)

This project is optimized for Vercel.

  1. Push code to GitHub.
  2. Import project in Vercel.
  3. Set Environment Variables (see below).
  4. Deploy.

🔑 Environment Variables

Required variables for .env:

# Google Service Account (for Sheets)
GOOGLE_SERVICE_ACCOUNT_EMAIL=...
GOOGLE_PRIVATE_KEY=...
GOOGLE_SHEET_ID=...

# Security (Cloudflare Turnstile)
PUBLIC_TURNSTILE_SITE_KEY=...
TURNSTILE_SECRET_KEY=...

# PDF Generation
PDF_SECRET=...

# Notifications
TELEGRAM_API_KEY=...
TELEGRAM_CHAT_ID=...

# Admin (Local Only)
ADMIN_PASSWORD=...

📝 Blog Workflow (Production)

Since Vercel uses ephemeral file systems, the Admin Dashboard (/admin) is for local development only.

To publish a post in Production:

  1. Create a new .md file in src/posts/.
  2. Add frontmatter (title, date, category).
  3. Commit and push to GitHub.
  4. Vercel will auto-build and publish the new post.

📄 License

Private Property of Problem Funnel Solutions.

About

Strategic Business Diagnostic Tool & Growth Platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors