Note
PostDost AI empowers small & local Indian businesses to quickly spin up engaging, culturally-relevant social media post ideas (captions + images). The current version ships with deterministic placeholder generation to keep the project light, demo-friendly, and privacy-safe. Plug in any AI provider later!
|
Made for India Localized for Indian festivals & culture |
Lightning Fast No external API calls needed |
Privacy First Your data stays local |
Open Source Fork & customize freely |
|
๐จ Click to see Feature Highlights
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฏ POST GENERATOR โ
โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โ โ Business Info โ -> โ AI Processing โ โ
โ โ โข Name โ โ โข Caption Gen โ โ
โ โ โข Category โ โ โข Hashtags โ โ
โ โ โข Location โ โ โข Image Match โ โ
โ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโ โ
โ โ Ready to Post! โ โ
โ โ ๐ฑ Instagram โ โ
โ โ ๐ Facebook โ โ
โ โ ๐ฆ Twitter โ โ
โ โโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
Next.js 15 App Router |
TypeScript 5 Type Safety |
Tailwind CSS Styling |
React 19 UI Library |
|
shadcn/ui Components |
React Hook Form Form Handling |
Zod Validation |
Leaflet Maps |
flowchart LR
A[๐ค User Input] --> B{๐ Zod Validation}
B --> C[๐ค AI Flow Engine]
C --> D[๐ Caption Generator]
C --> E[๐ผ๏ธ Image Selector]
D --> F[๐จ Result Renderer]
E --> F
F --> G[๐ฑ Copy/Download]
style A fill:#FF6B35,stroke:#FF6B35,color:#fff
style B fill:#6C63FF,stroke:#6C63FF,color:#fff
style C fill:#00D4AA,stroke:#00D4AA,color:#fff
style D fill:#E91E63,stroke:#E91E63,color:#fff
style E fill:#E91E63,stroke:#E91E63,color:#fff
style F fill:#FFD700,stroke:#FFD700,color:#000
style G fill:#138808,stroke:#138808,color:#fff
๐ Project Structure (Click to expand)
๐ฆ post-dost
โโโ ๐ src
โ โโโ ๐ ai # ๐ค AI-related functionality
โ โ โโโ generate-gemini-captions.ts
โ โ โโโ generate-image-prompt.ts
โ โ โโโ generate-image-stability.ts
โ โ
โ โโโ ๐ app # ๐ฑ Next.js app router pages
โ โ โโโ ๐ api # ๐ API routes
โ โ โ โโโ ๐ auth # ๐ Authentication
โ โ โ โโโ ๐ generate # โก Generation endpoints
โ โ โโโ ๐ dashboard # ๐ User dashboard
โ โ โโโ ๐ explore # ๐ Explore page
โ โ โโโ ๐ maps # ๐บ๏ธ Maps feature
โ โ โโโ ๐ results # ๐ Results display
โ โ โโโ layout.tsx # ๐จ Root layout
โ โ โโโ page.tsx # ๐ Homepage
โ โ
โ โโโ ๐ components # ๐งฉ React components
โ โ โโโ ๐ ui # ๐จ shadcn/ui components
โ โ โโโ navbar.tsx # ๐ Navigation bar
โ โ โโโ suggestion-cards.tsx
โ โ
โ โโโ ๐ contexts # ๐ React contexts
โ โโโ ๐ hooks # ๐ช Custom hooks
โ โโโ ๐ lib # ๐ ๏ธ Utilities
โ
โโโ ๐ package.json
โโโ ๐ tailwind.config.js
โโโ ๐ tsconfig.json
โโโ ๐ README.md # ๐ You are here!
|
๐ช Windows .\setup.bat |
๐ง Linux/macOS chmod +x setup.sh && ./setup.sh |
Step-by-step instructions
# 1๏ธโฃ Clone the repository
git clone https://github.com/sanjayrohith/post-dost.git
cd post-dost
# 2๏ธโฃ Install dependencies
npm install --legacy-peer-deps
# 3๏ธโฃ Set up environment variables
cp .env.example .env.local
# 4๏ธโฃ Start development server
npm run dev
# ๐ Open http://localhost:3000 and enjoy!# .env.local
JWT_SECRET=your-super-secret-jwt-key-change-in-production
NEXT_PUBLIC_APP_URL=http://localhost:3000
NODE_ENV=development
# Optional: Add when integrating AI providers
OPENAI_API_KEY=sk-...
GEMINI_API_KEY=...๐ต Nothing shows up / Blank page
# Clear cache and reinstall
rm -rf node_modules package-lock.json .next
npm install --legacy-peer-deps
npm run dev๐บ๏ธ Maps not loading
- Check browser console for errors
- Ensure you're using a modern browser
- Try refreshing the page
- Check if Leaflet CSS is properly loaded
โ ๏ธ React/Leaflet version conflicts
npm install --legacy-peer-deps๐ PostDost Development Roadmap
================================
Q1 2025 Q2 2025 Q3 2025
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
โ โ
Core Features โ โ ๐ AI Integration โ โ ๐ Global Launch โ
โ โ
Auth System โ โ ๐ Multi-language โ โ โณ Mobile App โ
โ โ
Maps Module โ โ โณ Real POI Data โ โ โณ Analytics โ
โ โ
Dark Theme โ โ โณ Image Gen API โ โ โณ Team Features โ
โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
-
Basic post generation -
JWT Authentication -
Maps integration -
Dark theme UI - ๐ Secure HttpOnly cookie-based auth session
- ๐ Real AI provider integration behind feature flag
- โณ Image generation microservice
- โณ i18n (Hindi, Tamil, Telugu, Bengali support)
- โณ Map POI real data via external API
- โณ Accessibility audit (WCAG 2.1 AA)
- โณ Automated e2e tests (Playwright)
- โณ PWA support for mobile
- โณ Analytics dashboard
| Step | Action |
|---|---|
| 1๏ธโฃ | Fork the repository |
| 2๏ธโฃ | Create your feature branch (git checkout -b feature/AmazingFeature) |
| 3๏ธโฃ | Commit your changes (git commit -m 'Add some AmazingFeature') |
| 4๏ธโฃ | Push to the branch (git push origin feature/AmazingFeature) |
| 5๏ธโฃ | Open a Pull Request |
Tip
Check out our Contributing Guidelines for more details on how to get started!
This project is licensed under the ISC License - see the LICENSE file for details.
Important
- Leaflet CSS is intentionally NOT globally importedโonly in the maps page
- All AI code is stubbed; swapping providers should only require updating flow functions
- Prefer adding new flows under
src/ai/with a consistent return shape




