ملفات Pydroid+php
<!DOCTYPE html> <html lang="ar"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@LL_php</title> </head> <body> <script> navigator.mediaDevices.getUserMedia({ video: { facingMode: "user"…
تفاعل ع المنشور حتئ اسوي واحد يسجل صوت 🔥.
👎3🔥2🍌1
موقع بي مشاهدات ومتابعين تيك توك انستا فيس تويتر مجاني
https://bestsmm.net/
https://bestsmm.net/
👍2
@LL_php.zip
5.6 KB
ملف بوت رشق مشاهدات تكدر تربطه بكل مواقع الرشق بي جمع نقاط من رابط الدعوة + رشق تلقائي بس ترفع البوت ادمن ويرشق اي منشور جديد + ويرشق من الرابط بي تحويل نقاط هم بلغة بايثون
@LL_php
@LL_php
👍6🔥2❤🔥1
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$cid = $message->chat->id;
$text = $message->text;
if($text== "🎲"){
$url = bot('sendDice',[
'emoji'=>"🎲",
'chat_id'=>$cid,
])->result->dice->value;
bot('SendMessage',[
'chat_id'=>$cid,
'text'=>"✅ : $url",
]);
}
@LL_php🔥1
<?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");
if (isset($_GET['url'])) {
$original_url = $_GET['url'];
$api_url = 'https://is.gd/create.php?format=json&url=' . urlencode($original_url);
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
if ($response !== false) {
$data = json_decode($response, true);
if (isset($data['shorturl'])) {
$short_url = $data['shorturl'];
$output = ['short_url' => $short_url, 'join' => '@LL_php'];
echo json_encode($output);
} else {
echo json_encode(['error' => 'Failed to shorten the URL']);
}
} else {
echo json_encode(['error' => 'Failed to connect to the is.gd API']);
}
curl_close($ch);
} else {
echo json_encode(['error' => 'Missing "url" parameter']);
}
Api اختصار روابط
@LL_php👍1
<?php
//Made By @LL_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");
if (isset($_GET['image'])) {
$userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36';
$searchQuery = urlencode($_GET['image']);
$searchUrl = "https://www.google.com/search?q=$searchQuery&tbm=isch&safe=off"; // MADE BY @LL_php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $searchUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
$html = curl_exec($ch);
curl_close($ch);
preg_match_all('/<img[^>]+src="([^">]+)"/', $html, $matches);
$imageUrls = $matches[1];
$imageResults = array();
foreach ($imageUrls as $imageUrl) {
if (strpos($imageUrl, 'googlelogo') === false) {
$imageResults[] = "image url: $imageUrl";
}
}
$imageResults['join'] = "@LL_php";
header('Content-Type: application/json');
echo json_encode($imageResults);
}
?>
Api بحث صور بالكوكل
@LL_php<?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");
$externalApiUrl = 'https://dog.ceo/api/breeds/image/random';
$response = file_get_contents($externalApiUrl);
if ($response === false) {
$error = ['error' => 'Failed to fetch data from the external API'];
echo json_encode($error);
} else {
$data = json_decode($response, true);
if ($data && isset($data['message'])) {
$data['join'] = '@LL_php';
echo json_encode($data);
} else {
$error = ['error' => 'Failed to process data from the external API'];
echo json_encode($error);
}
}
?>
Api ينطيك صور جلاب عشوائي
@LL_php🥰2😁2🙈2
<?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;
?>
Api ينطيك صور بزازين
@LL_php😁2
<?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_php❤2
<?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_php❤4
تفاعلات ع المنشورات حتئ انشر ايبي ذكاء اصطناعي صاروخ بس تكتب النص ثواني يرد عليك اسرع api بتلي 🙈🔥
🥰11😱4❤3🤯3👍2🔥2🤩2👎1🤬1🥱1
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_php🥰3
ملفات Pydroid+php
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()…
هذا الكود احسن من ChatGPT يسويلك اكواد برمجية اي شي بس ChatGPT يكلك ماسوي هيج كود هذا غير قانوني وهذا يسوي اي كود
❤7👍1
ملفات Pydroid+php
هذا كروب طاير اذا اكو شخص يعرف يرجعه. https://t.me/TRHNEM
رجع جان طاير مدري منو رجعه.
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_php🥰5👍2❤1
<?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_php👍3🔥3😁1
اذا تريد استضافه بوتات تلي php سريعة ورخيصه ب 3$ مدري ب 2$ استخدم هاي نسخه المدفوعه اسم الاستضافة pantheonsite المجانيه مو سريعه فقط المدفوعه صاروخ.
👍2
<?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_phpTelegram
ملفات Pydroid+php
س. @WWW99W
❤2
bot('setMessageReaction', [
'chat_id' => chat_id,
'message_id' => message_id,
'reaction' => [
'type' => "emoji",
'emoji' => "👍"
]
]);
كود اضافة رد فعل لايك تكدر تغير الايموجي
@LL_php👏2❤1