Skip to content

ZuraGuerra/instagram_recipe_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Recipe Generator

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.

Prerequisites

  • Java 17
  • Maven
  • PostgreSQL 16
  • Plomb account
  • Plomb configured providers:
    • Slack
    • Instagram Business
    • AI Horde

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/instagram-recipe-generator.git
cd instagram-recipe-generator
  1. 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
  1. Create PostgreSQL database:
CREATE DATABASE instagram_recipes_generator_db;

Plomb.ai Setup

  1. Sign up at Plomb.ai
  2. Create a new workflow with these requirements:

Required Inputs:

  • dish (string): The dish name to generate
  • slack_text (string): Notification text

Required Outputs:

  • instagram_permalink (string): The posted Instagram content URL

Running the Application

  1. Build the project:
mvn clean install
  1. Run the application:
mvn spring-boot:run
  1. Access the application at http://localhost:8080

Database Migrations

The project uses Flyway for database migrations. To run migrations:

mvn flyway:migrate

Important Notes

  • This is a demo project for educational purposes
  • You must have a compatible Plomb workflow before running the application

Support

For questions about this demo, please open an issue.

About

EBAC Webinar Java + AI Automation Demo 2025

Topics

Resources

Stars

Watchers

Forks