NEP DEVS
Ir al canal en Telegram
NEPS DEV WHO WANT TO HELP YOU WITH FOSS PROJECT. WE COLLECT SCRIPTS THIS GROUP IS ONLY FOR EDUCATIONAL PURPOSE
Mostrar másSin datos
Suscriptores
-3724 horas
-1357 días
-23530 días
Archivo de publicaciones
GIVE REACTION ANIME LOGO GENERATOR WITH MANY FEATURE
LIKE ADJUSTING TEXT
LOCATING FEATURES
GIVE REACTION
COLOUR TEXT FEATURES
MADE BY NEP CODER😁😁😁😁😁
NEED TEXT OR LINK TO QRCODE
SOURCE WITH NEW CSS AND CODES
BY NEP CODER😁😁
IF NEED GIVE SOME REACTIONS
WEB LINK:-https://nepdevs.000webhostapp.com/
<!DOCTYPE html>
<html>
<head>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
font-family: Arial, sans-serif;
}
.logo-container {
text-align: center;
background-color: #fff;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.logo-image {
max-width: 100%;
height: 50vh; /* MADE BY NEPCODER */
object-fit: cover; /* MADE BY NEPCODER*/
margin-bottom: 20px; /* MAADE BY NEPCODER */
}
.generate-button {
background-color: #007bff;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
.generate-button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="logo-container">
<?php
$imageUrl = "";
if (isset($_POST['generate'])) {
$randomNumber = rand(1, 10000);
$imageUrl = "http://apinepdevs.great-site.net/Randompic/?get_random_photo" . $randomNumber;
}
?>
<?php
if (!empty($imageUrl)) {
echo "<img class=\"logo-image\" src=\"$imageUrl\" alt=\"Random Logo\">";
}
?>
<form method="post">
<button class="generate-button" type="submit" name="generate">Generate Random Logo</button>
</form>
</div>
</body>
</html>
WITH GENERATE BUTTONimport requests
from telegram import Update
from telegram.ext import Updater, CommandHandler, CallbackContext
# Replace with your bot's API token
API_TOKEN = ' telegram bot apitoken'
# Lorem Picsum API endpoint for random images
LOREM_PICSUM_URL = 'https://picsum.photos/200/300'
def start(update: Update, context: CallbackContext) -> None:
update.message.reply_text("Send /random to get a random image.")
def random_image(update: Update, context: CallbackContext) -> None:
response = requests.get(LOREM_PICSUM_URL)
if response.status_code == 200:
image_url = response.url
update.message.reply_photo(photo=image_url)
else:
update.message.reply_text("Failed to fetch random image. Please try again later.")
def main() -> None:
updater = Updater(API_TOKEN)
dispatcher = updater.dispatcher
dispatcher.add_handler(CommandHandler("start", start))
dispatcher.add_handler(CommandHandler("random", random_image))
updater.start_polling()
updater.idle()
if name == "main":
main()
Telegram Random Pic Generator Telegram Bot
By Nep Coder😘😘
If Want More Codes Give Some Reaction for itimport os
import requests
from telegram import Updater, CommandHandler, MessageHandler
from telegram.ext import Filters, ConversationHandler
TELEGRAM_TOKEN = 'your telegram api token'
PASTEBIN_API_KEY = 'pastebin api token'
ENTER_TEXT = 0
def start(update, context):
update.message.reply_text("Send me the text you want to paste on Pastebin.")
return ENTER_TEXT
def enter_text(update, context):
context.user_data['text'] = update.message.text
update.message.reply_text("Got it! Now send a description for the paste.")
return ENTER_TEXT + 1
def enter_description(update, context):
context.user_data['description'] = update.message.text
paste_url = create_paste(context.user_data['text'], context.user_data['description'])
update.message.reply_text(f"Your Pastebin URL: {paste_url}")
return ConversationHandler.END
def create_paste(text, description):
data = {
'api_dev_key': PASTEBIN_API_KEY,
'api_option': 'paste',
'api_paste_code': text,
'api_paste_name': description,
'api_paste_private': '1', # Set paste as public
}
response = requests.post('https://pastebin.com/api/api_post.php', data=data)
if response.text.startswith('Bad API request'):
return "Error: Could not create paste. Please check your input and API key."
paste_url = response.text.strip()
return paste_url
def main():
updater = Updater(token=TELEGRAM_TOKEN, use_context=True)
dp = updater.dispatcher
conv_handler = ConversationHandler(
entry_points=[CommandHandler('start', start)],
states={
ENTER_TEXT: [MessageHandler(Filters.text & ~Filters.command, enter_text)],
ENTER_TEXT + 1: [MessageHandler(Filters.text & ~Filters.command, enter_description)]
},
fallbacks=[]
)
dp.add_handler(conv_handler)
updater.start_polling()
updater.idle()
if name == 'main':
main()
Pastebin Telegram Bot source
BY NEP CODER😘😘😘
JISKO PYTHON ATA USKELIYENEED PASTEBIN TELEGRAM BOT
SOURCE CODE😁😁😁😁❤️
GIVE 10+ REACTION
FOR IT I WILL GIVE IT TO
YOU PASTEBIN BOT SOURCE
AND HOW TO HOST PROCESS ALSO
