npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

twilio-sms-tracker

v1.1.0

Published

SMS feedback system for post-transaction customer reviews

Readme

📱 Twilio SMS Tracker

Open-Source SMS Communication Management System

Deploy with Vercel License: MIT Node.js Version PRs Welcome

Track SMS delivery • Monitor performance • Manage customer communications

Live DemoDocumentationQuick Start


🎥 Demo Video

Watch Demo

Watch our comprehensive walkthrough demonstrating all features and setup process. Click the button above to play the video.

Note: To see the video embedded directly in this README, you can edit this file on GitHub and drag-drop the demo-video.mp4 file where you want it to appear. GitHub will automatically create an embedded player.

📸 Screenshots

Dashboard - Real-time SMS Metrics

Dashboard Screenshot

Monitor delivery rates, track failed messages, and manage SMS campaigns from a centralized dashboard

Message Configuration

Messages Configuration

Customize SMS templates with dynamic variables and preview messages before sending

Analytics Dashboard

Analytics Dashboard

Track performance metrics, daily trends, and top-performing dealerships

Webhook Settings

Settings Page

Professional webhook documentation with live testing capabilities

Mobile Responsive Design

Mobile Dashboard

Fully responsive interface optimized for mobile devices

✨ Key Features

📊 Real-time Dashboard

  • Live SMS delivery metrics
  • Status tracking (delivered, failed, pending)
  • Quick actions toolbar
  • Export to CSV functionality
  • Multiple view modes (Table/Card/List)

📝 Message Configuration

  • Customizable SMS templates
  • Dynamic variable support
  • Real-time preview
  • Review platform integration
  • Character count validation

📈 Analytics & Reporting

  • Performance metrics
  • Daily activity charts
  • Success/failure rates
  • Top dealerships ranking
  • Hourly distribution analysis

🔌 Webhook Integration

  • RESTful API endpoints
  • Secure authentication
  • Request/response logging
  • Live testing tools
  • Professional documentation

🚀 Quick Start

Get up and running in under 5 minutes!

Option 1: One-Click Deploy (Recommended)

Deploy with Vercel

Option 2: Manual Setup

# Clone the repository
git clone https://github.com/rashidazarang/twilio-sms-tracker.git
cd twilio-sms-tracker

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Edit .env with your credentials

# Run database migrations
npm run db:migrate

# Start development server
npm run dev

# Visit http://localhost:3000

🔧 Configuration

Environment Variables

Create a .env file with the following variables:

# Database (PostgreSQL) - Required
DATABASE_URL=postgresql://user:password@host:5432/dbname?sslmode=require

# Twilio - Optional (Required for SMS)
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWILIO_AUTH_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWILIO_PHONE_NUMBER=+1234567890

# Security - Required
WEBHOOK_API_KEY=your-secure-api-key-here

# Application - Required
FEEDBACK_BASE_URL=https://your-domain.vercel.app
NODE_ENV=production

Database Setup

Using Neon (Recommended - Free Tier Available)

  1. Sign up at neon.tech
  2. Create a new project
  3. Copy connection string
  4. Run migrations in SQL editor

Using PostgreSQL

-- Run the migration script
psql -d your_database -f database/migrations/001_initial_schema.sql

📚 Documentation

API Reference

Webhook Endpoint

POST /webhook/transaction-complete
Content-Type: application/json
x-api-key: your-api-key

{
  "transactionId": "TXN-123456",
  "customerPhone": "+14155551234",
  "customerName": "John Doe",
  "dealershipName": "ABC Motors",
  "amount": 299.99
}

Dashboard API

GET /api/dashboard?page=1&limit=20

Retry Failed Messages

POST /api/retry/bulk
x-api-key: your-api-key

Project Structure

twilio-sms-tracker/
├── 📁 api/              # API endpoints & serverless functions
├── 📁 public/           # Frontend HTML files
│   ├── index.html       # Dashboard
│   ├── messages.html    # Message configuration
│   ├── analytics.html   # Analytics dashboard
│   └── settings.html    # Webhook settings
├── 📁 database/         # Database migrations
├── 📁 src/              # Source code
│   ├── services/        # Business logic
│   └── utils/           # Utilities
├── 📄 .env.example      # Environment template
├── 📄 vercel.json       # Deployment config
└── 📄 package.json      # Dependencies

🛠️ Technology Stack

| Frontend | Backend | Database | Deployment | |----------|---------|----------|------------| | HTML5 | Node.js | PostgreSQL | Vercel | | CSS3 | Express.js | Neon | GitHub | | JavaScript | TypeScript | | | | Alpine.js | Twilio | | |

🤝 Contributing

We love contributions! Please see our Contributing Guide for details.

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Setup

# Install dependencies
npm install

# Run tests
npm test

# Run linter
npm run lint

# Build for production
npm run build

📈 Roadmap

  • [x] Core dashboard functionality
  • [x] Webhook integration
  • [x] Message templates
  • [x] Analytics dashboard
  • [ ] Multi-user support
  • [ ] Scheduled messaging
  • [ ] A/B testing for templates
  • [ ] Advanced reporting
  • [ ] Email notifications
  • [ ] Slack integration

💡 Use Cases

  • 🚗 Automotive Dealerships - Track service follow-ups and customer satisfaction
  • 🏥 Healthcare Providers - Appointment reminders and patient feedback
  • 🏢 Service Businesses - Customer communication and review collection
  • 🛍️ E-commerce - Order updates and delivery notifications
  • 🏫 Educational Institutions - Student notifications and parent communications

🔒 Security

  • API key authentication
  • Environment variable protection
  • SQL injection prevention
  • XSS protection
  • Rate limiting support
  • Audit logging

📊 Performance

  • Response Time: < 500ms API responses
  • Throughput: 10,000+ messages/day
  • Uptime: 99.9% availability target
  • Scalability: Horizontal scaling ready

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📞 Support

| Type | Link | |------|------| | 💬 Discussions | GitHub Discussions | | 🐛 Bug Reports | GitHub Issues | | 📧 Email | [email protected] | | 📖 Docs | Documentation |


Built with ❤️ for the business community

⭐ Star us on GitHub — it helps!

WebsiteBlogTwitter