PostPilot is an AI-powered social media post generator for businesses. It helps small and medium enterprises create professional, engaging social media content tailored to their specific business type, industry, and goals.
- AI-Powered Content Generation: Creates personalized social media posts using OpenAI
- Multi-Step Wizard: Guided workflow for collecting business information
- Multiple Package Tiers: Basic (169 PLN), Standard (249 PLN), and Premium (499 PLN)
- Multi-Language Support: Polish and English interfaces
- PDF Export: Download generated posts as PDF documents
- Payment Integration: Stripe integration for processing payments
- Responsive Design: Works on desktop and mobile devices
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS v4
- AI: OpenAI API
- Payments: Stripe
- PDF Generation: jsPDF
- Validation: Zod
- Node.js 18+
- npm (comes with Node.js)
- Clone the repository:
git clone <repository-url>
cd postpilot- Install dependencies:
npm install- Set up environment variables:
Create a
.env.localfile in the root directory with the following variables:
OPENAI_API_KEY=your_openai_api_key
STRIPE_SECRET_KEY=your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
src/
├── app/
│ ├── wizard/ # Post generation wizard pages
│ ├── propositions/ # Propositions page
│ ├── terms/ # Terms of service
│ ├── privacy/ # Privacy policy
│ ├── contact/ # Contact page
│ ├── layout.tsx # Root layout
│ └── page.tsx # Landing page
├── components/
│ └── ui/ # Reusable UI components
└── lib/
├── types.ts # TypeScript type definitions
├── utils.ts # Utility functions
└── i18n.ts # Internationalization
This project is private and proprietary.