Skip to content

michi883/story-deck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoryDeck

StoryDeck is a Chrome extension for Google Slides that helps you:

  • generate deck drafts from an idea
  • improve slide text in place
  • generate a supporting visual for the current slide
  • critique a slide or full deck from different personas (Investor, Peer, Coach)

Public Repo Safety

This repository is safe to share publicly:

  • no Airia API keys are committed
  • no pipeline secrets are committed
  • OAuth client ID is a placeholder in extension/manifest.json
  • local secret config is ignored via .gitignore

Repository Layout

story-deck/
  extension/
    background.js            Chrome service worker (OAuth + Slides API)
    config.example.js        Copy to config.local.js and add Airia credentials
    manifest.json            Extension manifest (OAuth client ID placeholder)
    popup.html               Popup UI
    popup.js                 Popup behavior + Airia request logic
    README.txt               Extension-specific setup notes
  airia/
    condition.txt            Conditional router logic
    build_instructions.txt   Prompt for deck generation and text improvement
    visual_instructions.txt  Prompt for visual generation
    critique_instructions.txt Prompt for persona critique
    build_output.json        JSON schema for critique output
    story_deck_agent.png     Airia pipeline screenshot

Setup

1. Configure Google Cloud OAuth

  1. Open https://console.cloud.google.com
  2. Enable Google Slides API
  3. Create OAuth client credentials for a Chrome Extension
  4. Load the extension once in chrome://extensions to get the Extension ID
  5. Put your client ID into extension/manifest.json:
"oauth2": {
  "client_id": "YOUR_CLIENT_ID.apps.googleusercontent.com"
}

2. Configure Airia Locally (Not Committed)

  1. Copy extension/config.example.js to extension/config.local.js
  2. Set your values:
window.STORY_DECK_CONFIG = {
  apiUrl: "https://api.airia.ai/v2/PipelineExecution/YOUR_PIPELINE_ID",
  apiKey: "YOUR_AIRIA_API_KEY"
};

extension/config.local.js is in .gitignore so secrets stay local.

3. Load Extension

  1. Open chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select the extension/ directory

Usage

  1. Open a Google Slides presentation in Chrome
  2. Open the StoryDeck extension popup
  3. Connect to Google Slides when prompted
  4. Use Build for create/edit/visual workflows
  5. Use Test for persona critique workflows

License

MIT. See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors