No description
Find a file
2025-11-19 22:43:09 -05:00
sheets Implemented dependent dropdowns, updated AI prompt for strict hierarchy and clarification logic, and added security rules 2025-11-19 22:21:20 -05:00
.gitignore Initial commit 2025-11-19 23:16:58 +00:00
.htaccess Added help page, README documentation, and secured README in .htaccess 2025-11-19 22:43:09 -05:00
activation_calendar_export (2).csv Initial backup 2025-11-19 18:19:40 -05:00
api.php Implemented dependent dropdowns, updated AI prompt for strict hierarchy and clarification logic, and added security rules 2025-11-19 22:21:20 -05:00
config.php feat: Implement multi-sheet management, enhance AI command parsing with detailed hierarchy and format extraction rules, and add activity logging. 2025-11-19 21:59:18 -05:00
data.json feat: Implement multi-sheet management, enhance AI command parsing with detailed hierarchy and format extraction rules, and add activity logging. 2025-11-19 21:59:18 -05:00
help.php Added help page, README documentation, and secured README in .htaccess 2025-11-19 22:43:09 -05:00
index.php Added help page, README documentation, and secured README in .htaccess 2025-11-19 22:43:09 -05:00
Project_2102729_mediaBookings (3).csv Initial backup 2025-11-19 18:19:40 -05:00
README.md Added help page, README documentation, and secured README in .htaccess 2025-11-19 22:43:09 -05:00
script.js Updated 'Clear Sheet' to also clear AI activity log and history 2025-11-19 22:31:14 -05:00
sheet_helpers.php Set file permissions to 0666 for new/updated sheets to fix server access issues 2025-11-19 22:34:38 -05:00
sheets_metadata.json Implemented dependent dropdowns, updated AI prompt for strict hierarchy and clarification logic, and added security rules 2025-11-19 22:21:20 -05:00
style.css feat: Implement multi-sheet management, enhance AI command parsing with detailed hierarchy and format extraction rules, and add activity logging. 2025-11-19 21:59:18 -05:00

Activation Calendar Helper

A web-based tool for managing marketing deliverables with AI-powered automation.

Features

  • AI Command Interface: Create and update deliverables using natural language (powered by Gemini).
  • Smart Spreadsheet: Interactive grid with sorting, filtering, and dependent dropdowns.
  • Multi-Sheet Support: Create, rename, duplicate, and delete multiple sheets.
  • Strict Data Hierarchy: Enforced 3-level dependency (Category -> Media -> Sub-media).
  • Export: Export data to CSV.
  • Secure: Server-side protection for sensitive files.

Installation

  1. Clone the repository:
    git clone git@bitbucket.org:zlalani/ac-helper.git
    
  2. Configure:
    • Ensure config.php is present with your $GEMINI_API_KEY.
    • Ensure the sheets/ directory is writable by the web server.
  3. Run:
    • Serve the application using a PHP server (e.g., Apache, Nginx, or php -S localhost:8000).

File Structure

  • index.php: Main application entry point.
  • api.php: Backend API handling commands and data operations.
  • script.js: Frontend logic (UI, API calls, Jspreadsheet integration).
  • style.css: Application styling.
  • sheet_helpers.php: Helper functions for file-based sheet management.
  • sheets/: Directory storing individual sheet JSON files.
  • sheets_metadata.json: Registry of all sheets.
  • config.php: Configuration and secrets (Excluded from git).
  • .htaccess: Security rules.

Security

  • .htaccess prevents direct access to:
    • config.php
    • sheet_helpers.php
    • *.json (Data files)
    • *.log (Log files)
    • README.md (Documentation)
    • Hidden files (starting with .)

Usage

See help.php (accessible via the "Help" button in the app) for user guide.