Skip to content

Migrate SMS from AWS SNS to TextBelt API#10

Merged
smarks merged 5 commits intomainfrom
fix-regex-validation
Aug 28, 2025
Merged

Migrate SMS from AWS SNS to TextBelt API#10
smarks merged 5 commits intomainfrom
fix-regex-validation

Conversation

@smarks
Copy link
Copy Markdown
Owner

@smarks smarks commented Aug 28, 2025

Summary

  • Complete migration from AWS SNS to TextBelt.com API for SMS notifications
  • Removed all AWS dependencies (boto3, CloudFormation, etc.)
  • Updated documentation for TextBelt integration
  • Cleaned git history to remove committed secrets

Key Changes

  • SMS Provider: AWS SNS → TextBelt API
  • Configuration: Now uses SMS_PHONE_NUMBER and TEXTBELT_API_KEY environment variables
  • Dependencies: Removed boto3 and AWS-specific code
  • Documentation: Completely rewritten for TextBelt integration
  • Security: All secrets moved to .env file (gitignored)

Files Changed

  • sms_notifier.py - Rewritten for TextBelt API
  • docs/API.md - Updated documentation
  • docs/DEPLOYMENT.md - New deployment guide
  • Removed: CloudFormation templates, AWS debug scripts

Testing

  • ✅ All existing tests pass (48/48)
  • ✅ TextBelt integration tested and working
  • ✅ SMS notifications successfully sent

Migration Notes

This replaces the AWS SNS implementation with TextBelt API. Users will need to:

  1. Get a TextBelt API key
  2. Update environment variables from AWS → TextBelt format
  3. Remove AWS credentials

Merge Conflicts

This PR may have conflicts with the recent Twilio integration on main. The TextBelt approach is simpler and doesn't require additional dependencies.

🤖 Generated with Claude Code

Spencer and others added 4 commits August 28, 2025 17:54
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Removed CloudFormation templates and debug scripts
- Updated API documentation for TextBelt integration
- Rewrote deployment guide to focus on TextBelt
- Removed all AWS/SNS references and dependencies

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@smarks smarks changed the title Fix regex validation Migrate SMS from AWS SNS to TextBelt API Aug 28, 2025
@smarks smarks merged commit 28dee66 into main Aug 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant