This is a demo project for EBAC's webinar on AI Automation. The application generates Instagram posts with recipes using AI, demonstrating integration with Plomb workflows.
- Java 17
- Maven
- PostgreSQL 16
- Plomb account
- Plomb configured providers:
- Slack
- Instagram Business
- AI Horde
- Clone the repository:
git clone https://github.com/yourusername/instagram-recipe-generator.git
cd instagram-recipe-generator- Set up environment variables:
export EBAC_DB_URL=jdbc:postgresql://localhost:5432/instagram_recipes_generator_db
export EBAC_DB_USER=your_username
export EBAC_DB_PASS=your_password
export PLOMB_WORKFLOW_URL=your_plomb_workflow_url
export PLOMB_AUTH_TOKEN=your_plomb_token- Create PostgreSQL database:
CREATE DATABASE instagram_recipes_generator_db;- Sign up at Plomb.ai
- Create a new workflow with these requirements:
Required Inputs:
dish(string): The dish name to generateslack_text(string): Notification text
Required Outputs:
instagram_permalink(string): The posted Instagram content URL
- Build the project:
mvn clean install- Run the application:
mvn spring-boot:run- Access the application at
http://localhost:8080
The project uses Flyway for database migrations. To run migrations:
mvn flyway:migrate- This is a demo project for educational purposes
- You must have a compatible Plomb workflow before running the application
For questions about this demo, please open an issue.