3 028
مشترکین
-224 ساعت
-147 روز
-8530 روز
آرشیو پست ها
3 023
استضافة بوتات تلكرام فول رخيصة وخوش استضافة تشغل اي بوت
رابط الاستضافة
https://darksidehost.com/
@LL_php
3 023
bot('setMessageReaction', [
'chat_id' => chat_id,
'message_id' => message_id,
'reaction' => [
'type' => "emoji",
'emoji' => "👍"
]
]);
كود اضافة رد فعل لايك تكدر تغير الايموجي
@LL_php3 023
<?php
class HttpClient
{
private $baseUrl;
private $apiKey;
public function __construct($baseUrl, $apiKey)
{
$this->baseUrl = $baseUrl;
$this->apiKey = $apiKey;
}
public function sendRequest($url, $method, $data = [])
{
$ch = curl_init($this->baseUrl . $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ' . $this->apiKey,
]);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}
}
class SttApi
{
private $httpClient;
public function __construct(HttpClient $httpClient)
{
$this->httpClient = $httpClient;
}
public function transcribeAudio($filePath)
{
$data = [
'file' => new \CurlFile($filePath),
];
return $this->httpClient->sendRequest('/api/v1/stt', 'POST', $data);
}
}
$apiKey = '[API_KEY]';
$baseUrl = 'https://mohir.ai';
$filePath = 'audio.mp3';
$http = new HttpClient($baseUrl, $apiKey);
$sttApi = new SttApi($http);
$response = $sttApi->transcribeAudio($filePath);
echo $response;
?>
تحويل الصوت الئ نص خلي مفتاحك من موقع https://mohir.ai
@LL_php3 023
اذا تريد استضافه بوتات تلي سريعة ورخيصه ب 3$ مدري ب 2$ استخدم هاي نسخه المدفوعه pantheonsite المجانيه مو سريعه فقط المدفوعه صاروخ.
3 023
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$url = "https://www.blackbox.ai/api/chat";
$headers = [
"Content-Type: application/json",
"alt-svc: h3=\":443\"; ma=86400",
"cf-cache-status: DYNAMIC",
"cf-ray: 83b147d30ae724a8-KTM",
"content-encoding: br",
"content-type: text/plain; charset=utf-8",
"date: Mon, 25 Dec 2023 13:02:49 GMT",
"rndr-id: 5dcfc605-427b-4e43",
"server: cloudflare",
"vary: Accept-Encoding",
"x-experimental-stream-data: false",
"x-render-origin-server: Render"
];
if (!isset($_GET['question'])) {
echo "No 'question' parameter provided.";
die();
}
$question = $_GET['question'];
$data = [
"messages" => [
[
"id" => "CxG2ZAW",
"content" => $question,
"role" => "user"
]
],
"id" => "CxG2ZAW",
"previewToken" => null,
"userId" => "2796af59-2e11-47e7-95f2-d93a3c71021c",
"codeModelMode" => true,
"agentMode" => []
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($status_code == 200) {
$output = [
"answer" => $response,
"join" => "@LL_php"
];
echo json_encode($output);
} else {
echo "Request failed with status code: $status_code";
}
curl_close($ch);
?>
ايبي ذكاء اصطناعي مربوط بموقع www.blackbox.ai
طريقه الاستخدام
https://LL_php/api.php?question=hi
@LL_php3 023
import os
import requests
import telebot
from bs4 import BeautifulSoup
bot = telebot.TeleBot("BOTOTKEN")
@bot.message_handler(commands=['start'])
def send_welcome(message):
bot.reply_to(message, "مرحبًا! أرسل لي رابط MediaFire لتحميل الملف.")
def get_mediafire_download_link(url):
try:
page = requests.get(url)
soup = BeautifulSoup(page.content, 'html.parser')
download_link = soup.find('a', {'id': 'downloadButton'})['href']
return download_link
except Exception as e:
print(f"حدث خطأ أثناء جلب رابط التحميل: {e}")
return None
@bot.message_handler(func=lambda message: True)
def download_mediafire(message):
text = message.text
if text.startswith('http://www.mediafire.com/') or text.startswith('https://www.mediafire.com/'):
bot.reply_to(message, "جارٍ رفع الملف. يرجى الانتظار...")
file_url = text
direct_download_link = get_mediafire_download_link(file_url)
if direct_download_link:
file_response = requests.get(direct_download_link, stream=True, timeout=60)
file_name = direct_download_link.split('/')[-1]
file_size = int(file_response.headers['Content-Length'])
if file_size <= 50 * 1024 * 1024:
bot.send_chat_action(message.chat.id, 'upload_document')
with open(file_name, 'wb') as file:
file.write(file_response.content)
with open(file_name, 'rb') as file:
bot.send_document(message.chat.id, file, caption=f"إليك ملفك: {file_name}")
os.remove(file_name)
else:
bot.reply_to(message, "حجم الملف يتجاوز الحد الأقصى المسموح به من 50 ميجابايت.")
else:
bot.reply_to(message, "تعذر جلب رابط التحميل من MediaFire.")
else:
bot.reply_to(message, "يرجى تقديم رابط صحيح من MediaFire.")
bot.polling()
@LL_php3 023
هذا الكود احسن من ChatGPT يسويلك اكواد برمجية اي شي بس ChatGPT يكلك ماسوي هيج كود هذا غير قانوني وهذا يسوي اي كود
3 023
import requests
import json
while True:
user_text = input("أدخل النص (أو اضغط Enter للخروج): ")
if not user_text:
break
data = {'messages': [{'id': 'UpATjUb', 'content': user_text, 'role': 'user'}]}
data_json = json.dumps(data).encode()
headers = {
'authority': 'www.blackbox.ai',
'accept': '*/*',
'accept-language': 'ar-AE,ar;q=0.9,eu-ES;q=0.8,eu;q=0.7,et-EE;q=0.6,et;q=0.5,en-US;q=0.4,en;q=0.3',
'content-type': 'text/plain;charset=UTF-8',
'origin': 'https://www.blackbox.ai',
'referer': 'https://www.blackbox.ai/',
}
response = requests.post('https://www.blackbox.ai/api/chat', headers=headers, data=data_json)
print(response.text)
كود ذكاء اصطناعي يتذكر المحادثة
@LL_php3 023
import requests
link = input("ادخل رابط المنشور")
for i in range(1, 8001):
url = f"https://ava-tar.online/api/kro?jack={link}/{i}"
response = requests.get(url)
if response.status_code == 200:
print(f"تم إرسال المشاهدات بنجاح للرابط {link}")
else:
print(f"فشل في إرسال المشاهدات للرابط {link}")
اداة بايثون رشق مشاهدات تلي اسبام الكل يرشق قبل لاتتوقف3 023
import requests
link = input("ادخل رابط المنشور")
for i in range(1, 8001):
url = f"https://dev-n00000.pantheonsite.io/BOT/bdkfjf/bot.php?hms={link}/{i}"
response = requests.get(url)
if response.status_code == 200:
print(f"تم إرسال المشاهدات بنجاح للرابط {link}")
else:
print(f"فشل في إرسال المشاهدات للرابط {link}")
هذا ايبي الطلي رشق مشاهدات بدون توقف اسبام تفليش الايبي وها هاي اداة بايثون شغلها ع تطبيق بايثون 😉🔥3 023
يعني تفضل هذا واحد يتوسل اسويله اكواد اخر شي يجي يكلي ليش مسوي اسبام ع الايبي ابن الطلي بحالك اني بحال الايبي مالتك والله بطران ناشر الايبي بقناة زربات برمجية 🤣.
3 023
تفاعلات ع المنشورات حتئ انشر ايبي ذكاء اصطناعي صاروخ بس تكتب النص ثواني يرد عليك اسرع api بتلي 🙈🔥
3 023
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
function file_get_contents_no_ssl_verify($url) {
$options = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
return file_get_contents($url, false, stream_context_create($options));
}
$quotable_api_url = 'https://api.quotable.io/random';
$response = file_get_contents_no_ssl_verify($quotable_api_url);
if ($response !== false) {
$quote_data = json_decode($response);
if ($quote_data !== null) {
$quote = $quote_data->content;
$author = $quote_data->author;
$response_data = array(
'quote' => $quote,
'author' => $author,
'join Tg' => 'yourchannelname',
);
header('Content-Type: application/json');
echo json_encode($response_data);
} else {
http_response_code(500);
echo json_encode(array('error' => 'Internal Server Error'));
}
} else {
http_response_code(500);
echo json_encode(array('error' => 'Internal Server Error'));
}
?>
Api ينطيك اقتباسات بالنكليزي
@LL_php3 023
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$baseUrl = 'https://picsum.photos';
$width = 800;
$height = 600;
$imageUrl = "$baseUrl/$width/$height";
$response = [
'image_url' => $imageUrl,
'join' => '@LL_php'
];
header('Content-Type: application/json');
echo json_encode($response);
?>
Api ينطيك صور عشوائي
@LL_php3 023
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$api_url = 'https://api.thecatapi.com/v1/images/search';
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
if ($response === false) {
die('Error: Unable to fetch data from theCatAPI');
}
$data = json_decode($response, true);
if ($data === null) {
die('Error: Unable to parse JSON response');
}
$data['join'] = '@LL_php';
$json_output = json_encode($data);
echo $json_output;
?>
ايبي ينطيك صور بزازين
@LL_php