Skip to content

Repository files navigation

PostPilot

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.

Features

  • 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

Tech Stack

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS v4
  • AI: OpenAI API
  • Payments: Stripe
  • PDF Generation: jsPDF
  • Validation: Zod

Getting Started

Prerequisites

  • Node.js 18+
  • npm (comes with Node.js)

Installation

  1. Clone the repository:
git clone <repository-url>
cd postpilot
  1. Install dependencies:
npm install
  1. Set up environment variables: Create a .env.local file 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
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser.

Available Commands

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run ESLint

Project Structure

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

License

This project is private and proprietary.

About

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.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages