| Crates.io | banger |
| lib.rs | banger |
| version | 0.1.0 |
| created_at | 2026-01-23 07:01:41.23789+00 |
| updated_at | 2026-01-23 07:01:41.23789+00 |
| description | Is this tweet a banger? Predict engagement using X's Phoenix algorithm patterns 🔥 |
| homepage | |
| repository | https://github.com/subhdotsol/banger |
| max_upload_size | |
| id | 2063676 |
| size | 408,194 |
A Rust CLI tool that predicts tweet engagement using patterns from X's Phoenix recommendation algorithm.
Learning Project: This CLI uses heuristic-based predictions inspired by the Phoenix model's 19 engagement action types. It's designed to help you understand how modern recommendation systems think about engagement.
Takes your tweet draft and predicts how likely users are to:
It also detects negative signals (things that might make users block/mute/report).
cargo install banger
## For contributing
```bash
cd banger
cargo build --release
# Basic usage
cargo run -- "Your tweet draft here"
# Example: Analyze a question tweet
cargo run -- "What's your favorite programming language and why?"
# Example: Check a promotional tweet
cargo run -- "🚀 Just launched my new project! Check it out!"

This tool mirrors the architecture of X's Phoenix recommendation model:
Feature Extraction (analyzer.rs)
Multi-Action Prediction (scorer.rs)
Weighted Scoring
This tool predicts all 19 engagement types from X's actual algorithm:
| Positive Actions | Neutral Actions | Negative Actions |
|---|---|---|
| Favorite | Photo Expand | Not Interested |
| Reply | Click | Block Author |
| Repost | Profile Click | Mute Author |
| Share | Dwell | Report |
| Quote | Video View | |
| Follow Author |
Apache 2.0 - Same as the parent repository.