Skip to content

myraid/pubinsights

Repository files navigation

pubinsights

Publisher Insights for Indie Publishers

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, install dependencies:

npm install
# or
yarn install
# or
pnpm install

Environment Variables

Create a .env.local file in the root directory with the following variables:

# Firebase Configuration
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_firebase_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_firebase_app_id

# Firebase Admin (Server-side)
FIREBASE_PROJECT_ID=your_firebase_project_id
FIREBASE_CLIENT_EMAIL=your_firebase_client_email
FIREBASE_PRIVATE_KEY=your_firebase_private_key

# API Keys
SCRAPPER_AUTHORIZATION_KEY=your_scraper_api_key

# Webhook URLs
SOCIAL_MEDIA_WEBHOOK_URL=https://hook.us2.make.com/your_webhook_id
INSIGHTS_WEBHOOK_URL=https://hook.us2.make.com/your_webhook_id

# Bannerbear (Optional - for social media ad generation)
BANNERBEAR_API_KEY=your_bannerbear_api_key

Running the Development Server

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Features

  • Book Research: Analyze market trends and competing books
  • Book Outline Generation: AI-powered book outline creation
  • Social Media Integration: Generate and schedule social media posts for book promotion
  • Project Management: Organize your book projects with research, outlines, and social media content

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Code Review

See CODE_REVIEW.md for a comprehensive code review and improvement suggestions.

About

Publisher Insights for Indie Publishers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published