This is a React application designed to help users generate detailed prompts for an AI chatbot to simulate a post-game press conference. Users can input various game details, team and opponent statistics, and coach's notes, which are then compiled into a comprehensive prompt for an AI to role-play as a group of sports journalists.
- Comprehensive Game Data Input: Enter details such as team names, ranks, records, opponent information, game outcome, and final score.
- Detailed Statistical Input: Provide in-depth statistics for both your team and the opponent, including total yards, passing yards, rushing yards, completions, attempts, third-down conversions, turnovers, and more.
- Coach's Notes: Add specific notes or themes for the AI journalists to focus on during the press conference.
- Configurable Questions: Choose the desired number of questions for the AI to ask during the simulated press conference.
- AI Journalist Personas: The generated prompt instructs the AI to adopt various journalist personas (Beat Reporter, Local Broadcast Reporter, National Correspondent, etc.) for a dynamic and realistic interaction.
- Copy to Clipboard: Easily copy the generated prompt to your clipboard for use with your preferred AI chatbot.
- React: A JavaScript library for building user interfaces.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
- gh-pages: A tool to publish content to GitHub Pages.
To get a local copy up and running, follow these simple steps:
- Clone the repository:
git clone https://github.com/deerwhisper2310/post-game-press-conference.git
- Navigate to the project directory:
cd post-game-press-conference - Install dependencies:
npm install
-
Start the development server:
npm start
This will open the application in your browser (usually at
http://localhost:3000). -
Fill in the form: Enter all the relevant game details, statistics, and coach's notes into the provided fields.
-
Generate Prompt: Click the "Generate Press Conference Prompt" button. The generated prompt will appear in a text area.
-
Copy and Use: Copy the prompt to your clipboard and paste it into your AI chatbot of choice to begin your simulated post-game press conference.
This project is configured for deployment to GitHub Pages using gh-pages.
To deploy your changes:
-
Ensure your
homepagefield inpackage.jsonis correct:"homepage": "https://YOUR_GITHUB_USERNAME.github.io/YOUR_REPO_NAME/",
(It should already be set to
https://deerwhisper2310.github.io/post-game-press-conference/based on recent updates.) -
Run the deploy script:
npm run deploy
This command will build the application and push it to the
gh-pagesbranch of your repository.
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.
Distributed under the MIT License. See LICENSE for more information.
You can access the live application here: https://deerwhisper2310.github.io/post-game-press-conference/