Yeetabl is a serverless system built on Cloudflare that acts as a Segment destination, processes incoming events, and monitors for user-defined thresholds. It allows users to set complex criteria for monitoring their customer data and receive notifications when these criteria are met.
- Real-time event processing from Segment
- User-defined threshold configuration
- Complex criteria setting for data monitoring
- Webhook notifications for threshold breaches
- Flexible and self-service solution
- Cloudflare Workers for serverless computing
- Cloudflare Workers Analytics Engine for data storage and querying
- Cloudflare Workers KV for storing user-defined thresholds
- Next.js for the frontend user interface
-
Segment Destination (Cloudflare Worker)
- Receives events from Segment
- Processes and stores events in Workers Analytics Engine
- Creates composite indexes for efficient querying
-
Threshold Management (Cloudflare Worker)
- Allows users to create, read, update, and delete threshold configurations
- Stores configurations in Workers KV
-
Threshold Checking (Scheduled Cloudflare Worker)
- Runs periodically to check if any thresholds have been crossed
- Queries Workers Analytics Engine based on user-defined thresholds
- Sends webhook notifications when thresholds are crossed
-
User Interface (Next.js)
- Provides a dashboard for users to manage their threshold configurations
- Allows viewing, creating, and editing of thresholds
-
Clone the repository:
git clone https://github.com/yourusername/yeetabl.git
-
Install dependencies:
npm install
-
Set up Cloudflare Workers:
- Follow the Cloudflare Workers documentation to set up your workers
- Configure the necessary bindings and KV namespaces
-
Set up the Next.js frontend:
- Navigate to the frontend directory
- Install dependencies:
npm install
- Start the development server:
npm run dev
-
Configure Segment:
- Set up Yeetabl as a custom destination in your Segment account
- Access the Yeetabl dashboard
- Create and configure thresholds based on your Segment events
- Monitor the real-time event log
- Receive notifications when thresholds are crossed
We welcome contributions to Yeetabl! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please open an issue in the GitHub repository or contact the maintainers directly.