git-commit-script.shโข3.56 kB
#!/bin/bash
echo "๐ Committing Godot Sentinel MCP to GitHub"
echo "========================================"
# Check if we're in the right directory
if [ ! -f "package.json" ]; then
echo "โ Please run this from the Godot Sentinel MCP directory"
exit 1
fi
echo "1. Initializing git repository..."
git init
echo "2. Adding remote origin..."
git remote add origin https://github.com/Snack-JPG/Godot-Sentinel-MCP.git
echo "3. Creating .gitignore if it doesn't exist..."
if [ ! -f ".gitignore" ]; then
echo "Creating .gitignore..."
# .gitignore already exists, so this won't run
fi
echo "4. Adding all files to git..."
git add .
echo "5. Creating initial commit..."
git commit -m "feat: initial release of Godot Sentinel MCP ๐
๐ค AI-powered terminal companion for Godot development via MCP
โจ Features:
- MCP server with HTTP/WebSocket support for AI integration
- CLI tools: test, fix, run, watch, ctx commands
- Godot 4 error parser with structured output
- Safe git-based patching system with auto-branching
- Optional Godot emitter plugin for real-time events
- Comprehensive test suite and documentation
- Docker support and CI/CD pipelines
๐ก๏ธ Security & Safety:
- File access restricted to project directory
- Secret redaction from logs sent to AI
- Safe git branching for all patches
- Easy rollback with standard git commands
๐ฏ Target Audience:
- Godot developers wanting AI-powered debugging
- Terminal enthusiasts preferring CLI workflows
- Game studios needing automated error detection
- Developers using Claude Code, ChatGPT, or other MCP clients
๐ Complete Package:
- Professional README optimized for GitHub discovery
- Contributing guidelines and issue templates
- Launch strategy targeting 10K stars
- Demo materials and marketing templates
- MIT license for maximum adoption
This represents months of development to create the first comprehensive
AI integration specifically designed for Godot game development.
Ready to revolutionize game development workflows! ๐ฎโจ"
echo "6. Setting main branch..."
git branch -M main
echo "7. Pushing to GitHub..."
echo ""
echo "๐ You'll need to authenticate with GitHub."
echo "If you haven't set up authentication, you'll be prompted for:"
echo " โข Username: Snack-JPG"
echo " โข Password: Your GitHub personal access token (not your account password)"
echo ""
echo "Creating personal access token: https://github.com/settings/tokens"
echo "Required scopes: repo, workflow"
echo ""
read -p "Press Enter to continue with the push..."
git push -u origin main
if [ $? -eq 0 ]; then
echo ""
echo "๐ SUCCESS! Repository pushed to GitHub!"
echo ""
echo "๐ Next steps:"
echo "1. Visit: https://github.com/Snack-JPG/Godot-Sentinel-MCP"
echo "2. Add repository topics: godot, mcp, ai, gamedev, terminal, debugging, typescript"
echo "3. Set description: '๐ค AI-powered terminal companion for Godot development via MCP'"
echo "4. Enable GitHub Discussions"
echo "5. Create first release (v1.0.0) to trigger NPM publish"
echo ""
echo "๐ Ready for launch strategy execution!"
echo "See LAUNCH_STRATEGY.md for detailed launch plan."
else
echo ""
echo "โ Push failed. Common issues:"
echo "1. Authentication - make sure you're using a personal access token"
echo "2. Repository doesn't exist - create it on GitHub first"
echo "3. Network issues - check your internet connection"
echo ""
echo "Authentication help: https://docs.github.com/en/authentication"
fi