Transform Your Marketing from Hours to Minutes with AI-Powered Automation
π Quick Start β’ π Features β’ π οΈ Setup β’ ποΈ Architecture
Tinkerbell is a complete AI-powered marketing automation platform that revolutionizes marketing for small businesses. With a modern, professional interface inspired by Planable and Sintra.ai, it transforms complex marketing tasks into a simple 3-step process:
Step 1: Tell us about your business
Step 2: AI creates detailed customer personas
Step 3: Get ready-to-launch campaigns with social media posts
Built as a fully functional MVP in 4 hours, demonstrating rapid development capabilities for investors and users alike.
| Feature | Description | Status |
|---|---|---|
| π€ AI Persona Generation | Creates detailed customer profiles using GPT-4 | β Ready |
| π Content Creation | Generates posts, captions, hashtags automatically | β Ready |
| πΌοΈ Image Analysis | AI-powered product image analysis and generation | β Ready |
| π Planable Integration | Seamless workflow publishing to marketing teams | β Ready |
| π± Facebook Integration | Direct social media posting capabilities | β Ready |
| π¨ Modern UI/UX | Professional, clean Planable-inspired interface | β Ready |
| π Landing Page | Beautiful marketing site with animations | β Ready |
- Node.js 18+ installed
- OpenAI API key
- Facebook Page access token (optional)
- Planable account (optional)
git clone https://github.com/Nicu106/26-Team.git
cd 26-Team
cd tinkerbell-backend && npm install
cd ../tinkerbell-frontend# In tinkerbell-backend directory
copy .env.example .env
# Edit .env with your API keys# Terminal 1: Backend (port 3000)
cd tinkerbell-backend
npm start
# Terminal 2: Frontend (port 8081)
cd tinkerbell-frontend
node server.js- Landing Page: http://localhost:8081
- Main App: http://localhost:8081/index.html?app=true
git clone https://github.com/Nicu106/26-Team.git
cd 26-Teamcd tinkerbell-backend
# Install dependencies
npm install
# Create environment file
copy .env.example .env # Windows
# cp .env.example .env # macOS/Linux
# Edit .env with your API keys
notepad .env # Windows
# nano .env # macOS/LinuxRequired Environment Variables:
OPENAI_API_KEY=sk-your-openai-key-here
PORT=3000
# Optional for enhanced features
PLANABLE_API_KEY=your_planable_key
FACEBOOK_ACCESS_TOKEN=your_fb_token
FACEBOOK_PAGE_ID=your_page_idcd ../tinkerbell-frontend
# The frontend uses a custom Node.js server
# No additional installation requiredBackend (Terminal 1):
cd tinkerbell-backend
npm startFrontend (Terminal 2):
cd tinkerbell-frontend
node server.js- Backend Health Check: http://localhost:3000/api/health
- Frontend Landing: http://localhost:8081
- Main Application: http://localhost:8081/index.html?app=true
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Frontend β β Backend β β External APIs β
β (Port 8081) βββββΊβ (Port 3000) βββββΊβ β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β β
β β’ Landing Page β β’ AI Processing β β’ OpenAI GPT-4 β
β β’ 3-Step Onboarding β β’ Image Analysis β β’ Facebook API β
β β’ Modern UI/UX β β’ Campaign Logic β β’ Planable API β
β β’ Session Management β β’ API Endpoints β β’ Image Services β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Frontend:
- Framework: Vanilla JavaScript + Modern CSS
- UI: Planable-inspired design system
- Server: Custom Node.js static file server
- Fonts: Inter (Google Fonts)
Backend:
- Runtime: Node.js 18+
- Framework: Express.js
- AI: OpenAI GPT-4
- Integrations: Planable API, Facebook Graph API
- File Handling: Multer for image uploads
External Services:
- AI Processing: OpenAI GPT-4 & DALL-E
- Publishing: Planable Workspace API
- Social Media: Facebook Graph API
Tinkerbell/
βββ π tinkerbell-frontend/ # Frontend application
β βββ π landing.html # Marketing landing page
β βββ π― index.html # Main application
β βββ π¨ style.css # Application styles
β βββ βοΈ script.js # Application logic
β βββ π server.js # Frontend server
βββ π tinkerbell-backend/ # Backend API server
β βββ π§ server.js # Main server file
β βββ π€ aiClient.js # OpenAI integration
β βββ π planableClient.js # Planable API client
β βββ π± facebookService.js # Facebook integration
β βββ πΌοΈ imageService.js # Image processing
β βββ π¦ package.json # Dependencies
βββ π docs/ # Documentation
βββ π testing/ # Test files
βββ π README.md # This file
# Backend health check
curl http://localhost:3000/api/health
# Test AI functionality
curl -X POST http://localhost:3000/api/personas \
-H "Content-Type: application/json" \
-d '{"businessName":"Test Business","businessDescription":"Test"}'The project includes comprehensive test files:
test-ai.js- AI integration testingtest-facebook.js- Facebook API testingtest-planable.js- Planable integration testingtest-endpoints.js- Full API testing
cd tinkerbell-backend
node test-ai.js # Test AI functionality
node test-endpoints.js # Test all endpoints| Endpoint | Method | Description |
|---|---|---|
/api/health |
GET | Health check |
/api/personas |
POST | Generate AI personas |
/api/campaigns |
POST | Create marketing campaigns |
/api/upload-images |
POST | Upload and analyze images |
/api/publish-to-planable |
POST | Publish to Planable |
Generate Customer Personas:
curl -X POST http://localhost:3000/api/personas \
-H "Content-Type: application/json" \
-d '{
"businessName": "Martha'\''s Flower Shop",
"businessDescription": "Local florist specializing in wedding arrangements",
"targetCustomers": "Brides-to-be, event planners",
"businessGoals": "Increase wedding bookings"
}'| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY |
β Yes | OpenAI API key for AI features |
PORT |
β No | Backend port (default: 3000) |
PLANABLE_API_KEY |
β No | For Planable integration |
FACEBOOK_ACCESS_TOKEN |
β No | For Facebook posting |
FACEBOOK_PAGE_ID |
β No | Target Facebook page |
For production deployment:
NODE_ENV=production
OPENAI_API_KEY=your_production_key
PORT=3000The frontend is a static site that can be deployed to:
- Netlify (recommended)
- Vercel
- GitHub Pages
- Any static hosting service
The backend can be deployed to:
- Railway (recommended)
- Heroku
- DigitalOcean
- AWS/Azure/GCP
Port already in use:
# Kill processes on ports
npx kill-port 3000 8081Missing API key:
# Check environment variables
echo $OPENAI_API_KEY # macOS/Linux
echo %OPENAI_API_KEY% # WindowsNavigation issues:
- Clear browser cache and session storage
- Ensure both servers are running
- Check browser console for errors
- Check the Issues page
- Review the troubleshooting documentation
- Create a new issue with detailed information
We welcome contributions! Please see our contributing guidelines:
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing GPT-4 API
- Planable for inspiration and integration
- Inter Font by Rasmus Andersson
- The amazing open-source community
Made with β€οΈ by the Tinkerbell Team
β Star this repo β’ π Report Bug β’ π‘ Request Feature
π From concept to investor-ready MVP in 4 hours!