Era Shop
📈 Analytical overview of Telegram channel Era Shop
Channel Era Shop (@nullbinarychannel) in the Farsi language segment is an active participant. Currently, the community unites 12 982 subscribers, ranking 11 160 in the Economy & Finance category and 25 496 in the Iran region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 12 982 subscribers.
According to the latest data from 05 January, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -861 over the last 30 days and by 0 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 0%. Within the first 24 hours after publication, content typically collects N/A% reactions from the total number of subscribers.
- Post reach: On average, each post receives 0 views. Within the first day, a publication typically gains 0 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 0.
- Thematic interests: Content is focused on key topics such as سیگنال, input, xauusd, sell, double.
📝 Description and content policy
Channel description not provided.
Thanks to the high frequency of updates (latest data received on 11 November, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Economy & Finance category.
use rdkafka::consumer::{Consumer, StreamConsumer};
use rdkafka::Message;
use reqwest::multipart;
use serde_json::Value;
use std::sync::Arc;
#[tokio::main]
async fn main() {
let consumer: Arc<StreamConsumer> = Arc::new(
ClientConfig::new()
.set("group.id", "telegram_group")
.set("bootstrap.servers", "localhost:9092")
.create()
.unwrap(),
);
consumer.subscribe(&["image_queue"]).unwrap();
while let Ok(message) = consumer.recv().await {
if let Some(payload) = message.payload() {
let image_message: Value = serde_json::from_slice(payload).unwrap();
let user = image_message["user"].as_str().unwrap();
let image_data = image_message["image"].as_str().unwrap().as_bytes();
let form = multipart::Form::new()
.text("chat_id", "YOUR_TELEGRAM_CHAT_ID")
.part("document", multipart::Part::bytes(image_data.to_vec()).file_name("image.jpg"));
let client = reqwest::Client::new();
let res = client
.post(&format!("https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendDocument"))
.multipart(form)
.send()
.await;
match res {
Ok(response) => println!("Image sent to Telegram for user {}", user),
Err(e) => println!("Failed to send image: {}", e),
}
}
}
}`toml
Copy
[dependencies]
actix-web = "4.0"
tokio = { version = "1.0", features = ["full"] }
rdkafka = { version = "0.28", features = ["ssl"] }
jsonwebtoken = "8.0"
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
aes = "0.7"
Auth Service
این سرویس مسئول احراز هویت و تولید توکن JWT است.
use actix_web::{web, App, HttpServer, HttpResponse, HttpRequest};
use jsonwebtoken::{encode, Header, EncodingKey};
use serde::{Deserialize, Serialize};
use std::time::{SystemTime, UNIX_EPOCH};
#[derive(Serialize, Deserialize)]
struct Claims {
sub: String,
exp: usize,
}
#[derive(Deserialize)]
struct LoginRequest {
username: String,
password: String,
}
async fn login(info: web::Json<LoginRequest>) -> HttpResponse {
if info.username == "admin" && info.password == "admin" {
let expiration = SystemTime::now()
.duration_since(UNIX_EPOCH)
.unwrap()
.as_secs() + 3600;
let claims = Claims {
sub: info.username.clone(),
exp: expiration as usize,
};
let token = encode(
&Header::default(),
&claims,
&EncodingKey::from_secret("your-secret-key".as_ref()),
).unwrap();
HttpResponse::Ok().json(serde_json::json!({ "token": token }))
} else {
HttpResponse::Unauthorized().json(serde_json::json!({ "error": "Invalid credentials" }))
}
}
#[actix_web::main]
async fn main() -> std::io::Result<()> {
HttpServer::new(|| {
App::new()
.route("/login", web::post().to(login))
})
.bind("127.0.0.1:5000")?
.run()
.await
}
Gallery Service
این سرویس مسئول دریافت عکسها و ارسال آنها به Kafka است.
use actix_web::{web, App, HttpServer, HttpResponse, HttpRequest};
use rdkafka::producer::{FutureProducer, FutureRecord};
use rdkafka::ClientConfig;
use serde::{Deserialize, Serialize};
use std::sync::Arc;
#[derive(Serialize, Deserialize)]
struct ImageMessage {
user: String,
image: Vec<u8>,
}
async fn upload(req: HttpRequest, body: web::Bytes) -> HttpResponse {
let token = req.headers().get("Authorization")
.and_then(|t| t.to_str().ok())
.unwrap_or("");
// Verify token (mock verification)
if token.is_empty() {
return HttpResponse::Unauthorized().json(serde_json::json!({ "error": "Token is missing" }));
}
let producer: Arc<FutureProducer> = Arc::new(
ClientConfig::new()
.set("bootstrap.servers", "localhost:9092")
.create()
.unwrap(),
);
let image_message = ImageMessage {
user: "admin".to_string(),
image: body.to_vec(),
};
let payload = serde_json::to_string(&image_message).unwrap();
let record = FutureRecord::to("image_queue")
.payload(&payload)
.key("upload");
match producer.send(record, 0).await {
Ok(_) => HttpResponse::Ok().json(serde_json::json!({ "message": "Image uploaded successfully" })),
Err(e) => HttpResponse::InternalServerError().json(serde_json::json!({ "error": e.to_string() })),
}
}
#[actix_web::main]
async fn main() -> std::io::Result<()> {
HttpServer::new(|| {
App::new()
.route("/upload", web::post().to(upload))
})
.bind("127.0.0.1:5001")?
.run()
.await
}
Telegram Service
این سرویس مسئول دریافت پیامها از Kafka و ارسال آنها به تلگرام است.
`
use rdkafka::consumer::{Consumer, StreamConsumer};
use rdkafka::Message;
use reqwest::multipart;
use serde_json::Value;
use std::sync::Arc;