π Donation Setup Guide
π Donation Setup Guide
This guide explains how to set up the βBuy Me a Coffeeβ donation features for your Luno MCP Server project.
π Quick Setup
1. Run the Setup Script
python setup_donations.py
This interactive script will ask for:
- PayPal Hosted Button ID or donation URL
- Buy Me a Coffee username
- GitHub username and repository name
- Bitcoin and Ethereum addresses (optional)
- Your name for attribution
2. Get Your PayPal Donation Button
- Go to PayPal Donate Button
- Sign in to your PayPal account
- Create a new donation button
- Copy the Hosted Button ID from the generated code
- Use this ID in the setup script
3. Set Up Buy Me a Coffee
- Create an account at Buy Me a Coffee
- Choose your username
- Customize your page
- Use your username in the setup script
π Files Created/Modified
The setup process updates these files:
README.md
- Adds sponsorship section with donation linksdocs/donate.html
- Beautiful donation page with PayPal/crypto optionsdocs/_config.yml
- GitHub Pages configurationsrc/luno_mcp_server/server.py
- Addsget_support_info()
MCP tool.github/workflows/deploy-pages.yml
- Auto-deploys donation page
π GitHub Pages Setup
Enable GitHub Pages
- Go to your repository on GitHub
- Navigate to Settings β Pages
- Under Source, select GitHub Actions
- The workflow will automatically deploy your donation page
Access Your Donation Page
Once deployed, your donation page will be available at:
https://yourusername.github.io/your-repo-name/donate.html
π οΈ MCP Tool Usage
After setup, users can ask Claude:
- βHow can I support this project?β
- βShow me donation optionsβ
- βHow do I contribute to this project?β
The get_support_info()
tool will provide comprehensive donation information.
π³ PayPal Integration
Option 1: Hosted Button (Recommended)
- Create a donation button at PayPal
- Use the Hosted Button ID in setup
- Automatic currency conversion
- Professional appearance
Option 2: Direct PayPal Link
Use a direct PayPal.me link:
https://paypal.me/yourusername
πͺ Cryptocurrency Donations
Supported Coins
- Bitcoin (BTC) - Most popular option
- Ethereum (ETH) - Second most common
- Any Luno-supported coin - Relevant to your project
Security Tips
- Use dedicated donation addresses
- Consider using a hardware wallet
- Never share private keys
- Monitor donations regularly
π¨ Customization
Donation Page Styling
Edit docs/donate.html
to customize:
- Colors and branding
- Additional payment methods
- Project-specific messaging
- Social media links
README Badges
Add more donation badges:
[](your-paypal-link)
[](your-coffee-link)
π Analytics and Tracking
Track Donations
- PayPal provides transaction history
- Buy Me a Coffee has built-in analytics
- GitHub Stars/Forks indicate project popularity
- Monitor crypto addresses with blockchain explorers
Success Metrics
- Monthly donation amount
- Number of supporters
- GitHub repository engagement
- User feedback and testimonials
π§ Troubleshooting
Common Issues
Donation page not loading:
- Check GitHub Pages is enabled
- Verify workflow completed successfully
- Ensure
docs/
folder contains all files
PayPal button not working:
- Verify Hosted Button ID is correct
- Check PayPal account is verified
- Ensure donation buttons are enabled
MCP tool not working:
- Restart Claude Desktop after changes
- Check server.py syntax is correct
- Verify tool is properly registered
Getting Help
- Check GitHub Actions logs for deployment issues
- Test donation links manually
- Validate HTML/CSS in donation page
- Review PayPal/Buy Me a Coffee documentation
π Success Tips
Maximize Donations
- Clear Value Proposition: Explain how donations help
- Multiple Options: Offer various payment methods
- Recognition: Thank supporters publicly (with permission)
- Updates: Share development progress with supporters
- Transparency: Show how funds are used
Community Building
- Engage with supporters on social media
- Create a Discord/Slack for contributors
- Offer early access to new features
- Provide supporter-only documentation
Thank you for supporting open source development! π