π This is a template repository - Click "Use this template" to create your own guild analysis
A web application for analyzing guild raid data from Star Wars: Galaxy of Heroes using Wookiebot.
π Live Demo: https://dennisbecker.github.io/swgoh-raid-analysis/ (Example with sample guild data)
- π Interactive charts for visualizing raid performance
- π Performance points tracking over time
- π Detailed player statistics
- π Filterable and sortable tables
- π₯ Data export as CSV
- π Star Wars-inspired dark design
- Go to https://github.com/bataillon-swgoh/swgoh-raid-analysis
- Click the "Fork" button in the top right to create your own copy of the repository
- Give your repository a name (e.g.,
my-guild-raids,guild-name-analysis) - Make sure it's set to Public (required for GitHub Pages)
- Click "Create fork"
To get new features and bugfixes, you should regularly update your fork from the original repository:
Recommended:
-
Go to your forked repository on GitHub
-
Click the "Sync fork" button (usually above the file list or in the "Contribute" dropdown)
-
In the dialog, click the "Update branch" button to sync your fork with the latest changes from the original repository.
Warning: Never click "Discard Commits" when syncing your fork! This will permanently delete your own raid results and data. Always use the "Update branch" option to keep your changes.
- Go to your new repository on GitHub
- Navigate to Settings β Pages (in the left sidebar)
- Under Source, select "GitHub Actions"
- Important: After forking, GitHub Actions workflows are disabled by default. Go to the Actions tab and click "I understand my workflows, go ahead and enable them" to activate the workflows for your fork.
- The workflow will be automatically detected
- In Star Wars: Galaxy of Heroes, use the Wookiebot command:
Add your desired parameters (effort level, etc.)
/raid guild - Download the generated CSV file from Wookiebot
- In your GitHub repository, navigate to the
/datafolder - Click "Add file" β "Upload files"
- Upload your downloaded CSV file(s)
- Commit the changes with a message like "Add raid data"
- GitHub Actions will automatically build and deploy your site
- Your analysis will be available at:
https://YOUR_USERNAME.github.io/YOUR_REPOSITORY_NAME/ - The build process takes 2-3 minutes
- Repeat steps 3-4 whenever you want to add new raid data
- The site automatically updates with each new CSV file upload
You can personalize your guild's site with custom branding:
- Copy
data/guild-config.example.jsontodata/guild-config.json - Edit the configuration with your guild information
- Important: Remove any optional fields you don't want to use
{
"guildName": "Your Guild Name"
}{
"guildName": "Your Guild Name",
"title": "Your Guild - Raid Analysis",
"description": "Your guild motto or description",
"logo": "your-logo.png"
}Note: All fields except guildName are optional. Delete any lines you don't need from your configuration.
- Upload your logo image (PNG, JPG, or SVG) to the
/datafolder - Reference the filename in your
guild-config.json - Recommended size: 150x150 pixels (square aspect ratio)
/data/
βββ guild-config.json
βββ your-guild-logo.png
βββ raid_data_1.csv
βββ raid_data_2.csv
Your customizations will be applied automatically during the next build.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewCSV files from Wookiebot should follow this format:
name,allycode,estimatedScore,lastActualScore,diff,diffPercent
"Player Name",123456789,1500000,1450000,-50000,-3.33
/raid guild
/raid guild effort:high
Parameters:
effort: Analysis effort level -low,medium(default),high
- Check that GitHub Pages is enabled in your repository settings
- Verify that GitHub Actions completed successfully (check the "Actions" tab)
- Wait 2-3 minutes after upload for the build to complete
- Ensure CSV files are uploaded to the
/datafolder (not the root) - Check that CSV files follow the Wookiebot format
- Verify that the CSV files contain actual data (not empty)
- Check the "Actions" tab in your GitHub repository for error details
- Ensure CSV files are valid and not corrupted
- Try re-uploading the CSV files
- Astro.js 5.12.2 - Static Site Generator
- Chart.js 4.4.0 - Data visualization
- TypeScript - Type safety
- GitHub Actions - Automatic deployment
- GitHub Pages - Hosting
This project is licensed under the MIT License. You are free to use, modify, and redistribute this project, including for commercial and private purposes. See the LICENSE file for details.