Yes, this is my store
MY STORE: https://wa.me/c/16717872345
Yes, this is my store
MY STORE: https://wa.me/c/16717872345
Last login: Fri Jun 6 09:01:27 on ttys000
cliffordhackett@Cliffords-iMac ~ % sudo find / -name “set_commands.py” 2>/dev/null
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
cliffordhackett@Cliffords-iMac ~ %
cliffordhackett@Cliffords-iMac ~ % nano ~/set_commands.py
UW PICO 5.09 File: /Users/cliffordhackett/set_commands.py Modified
updater.idle()
context.bot.send_message(chat_id=update.effective_chat.id, text=”Bot is running$
from telegram.ext import Updater, CommandHandler
chmod +x ~/set_commands.py
python3 -u ~/set_commands.py
^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text^T To Spell
Ray, given your strong technical background in Python scripting and automation, you could build an end-to-end workflow for automated video creation and YouTube posting. Here’s a structured approach to get you started:
### **1. Content Generation**
– **Script Writing**: Use AI (such as GPT) to generate scripts based on predefined topics.
– **Text-to-Speech**: Convert scripts into voiceovers using tools like Google Cloud Text-to-Speech or ElevenLabs.
– **Visuals & Clips**: Gather images and footage from free sources (e.g., Pexels, Pixabay) or generate dynamic slides using OpenCV and FFmpeg.
### **2. Video Assembly**
– **Editing Automation**: Utilize FFmpeg for stitching video clips, adding overlays, and incorporating background music.
– **Subtitles & Annotations**: Leverage Whisper AI or AutoSub for generating captions.
– **Dynamic Effects**: Implement automatic transitions, zoom-ins, or text animations using Python libraries like MoviePy.
### **3. Uploading to YouTube**
– **YouTube API Integration**: Automate video uploads with YouTube’s Data API (OAuth2 authentication required).
– **Title, Tags & Descriptions**: Generate optimized metadata with AI (ensure keyword-rich descriptions for better SEO).
– **Thumbnail Creation**: Auto-generate thumbnails using Pillow or OpenCV with branding elements.
### **4. Monetization & Workflow Enhancements**
– **Scheduling**: Use cron jobs or task schedulers to automate video posting.
– **Analytics Tracking**: Fetch video performance data via the YouTube API to optimize future content.
– **Shortcuts Integration**: If using an iMac or iPhone, consider Apple Shortcuts for streamlined automation.
Would you like me to refine any part based on your specific needs, such as real-time previews or QR code enhancements? Sent from my iPhone
Last login: Thu Jun 5 13:42:59 on ttys000
cliffordhackett@Cliffords-iMac ~ % python3 –version
Python 3.9.6
cliffordhackett@Cliffords-iMac ~ % find /Users/cliffordhackett -name “set_commands.py” 2>/dev/null
cliffordhackett@Cliffords-iMac ~ % sudo find ~/.Trash -name “set_commands.py”
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: 3 incorrect password attempts
cliffordhackett@Cliffords-iMac ~ %
cliffordhackett@Cliffords-iMac ~ % python3 -u /Users/cliffordhackett/set_commands.py
/Library/Developer/CommandLineTools/usr/bin/python3: can’t open file ‘/Users/cliffordhackett/set_commands.py’: [Errno 2] No such file or directory
cliffordhackett@Cliffords-iMac ~ % echo $PATH
/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/cliffordhackett/Library/Python/3.9/bin
cliffordhackett@Cliffords-iMac ~ % history | grep “mv ”
history | grep “rm ”
134 history | grep “mv “\n
135 history | grep “rm “\n
cliffordhackett@Cliffords-iMac ~ % nano ~/set_commands.py
UW PICO 5.09 File: /Users/cliffordhackett/set_commands.py Modified
ls -l ~/set_commands.py
cat ~/set_commands.py
python3 -u ~/set_commands.py
chmod +x ~/set_commands.py
pip3 list | grep telegram
pip3 install python-telegram-bot
^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text^T To Spell
You can connect IFTTT to any Telegram channels, where you are an administrator. If you do this, you will be able to import data to that channel via IFTTT or use posts in the channel as triggers for outside events.
To connect a channel:
– Add this bot to the channel as an administrator.
– Then send me the channel username (e.g. t.me/telegram or @telegram) in case the channel is public or simply forward any message from the target channel to this chat.
#!/bin/zsh
echo “Starting full system setup… 🚀”
# — 1. Ensure Python 3 is Installed —
if ! command -v python3 &> /dev/null; then
echo “Python3 not found. Installing with Homebrew…”
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” brew install python
fi
# — 2. Create Necessary Directories —
TARGET_DIR=”$HOME/Documents/bots”
if [ ! -d “$TARGET_DIR” ]; then
echo “Creating missing directory: $TARGET_DIR”
mkdir -p “$TARGET_DIR”
fi
# — 3. Rename .save Files —
for file in *.py.save; do
[ -e “$file” ] || continue
newname=”${file%.save}”
mv “$file” “$newname”
echo “Renamed $file to $newname”
done
# — 4. Run All Python Scripts in the Folder —
for script in *.py; do
[ -e “$script” ] || continue
echo “Running $script…”
python3 “$script”
done
# — 5. Set Up Scheduled Tasks (Runs Scripts at 9 AM Daily) — (crontab -l; echo “0 9 * * * python3 $TARGET_DIR/main_script.py”) | crontab –
# — 6. Set Up GitHub Sync (Pull latest changes) —
if [ -d “$TARGET_DIR/.git” ]; then
cd “$TARGET_DIR”
git pull origin main
echo “Updated from GitHub!”
else
echo “GitHub repo not found. Skipping sync.”
fi
# — 7. Simple Telegram Bot Command (Triggers Script Remotely) — echo “Setting up Telegram bot trigger…”
cat < “$TARGET_DIR/bot_handler.py”
import os
import telegram
from telegram.ext import Application, CommandHandler
import subprocess
TOKEN = “YOUR_BOT_TOKEN”
TARGET_DIR = os.path.expanduser(“$TARGET_DIR”) # Ensures correct path handling
async def run_script(update, context):
process = subprocess.run([“python3″, f”{TARGET_DIR}/main_script.py”], capture_output=True, text=True) await update.message.reply_text(f”Script executed!\n{process.stdout}”)
app = Application.builder().token(TOKEN).build()
app.add_handler(CommandHandler(“run_script”, run_script))
app.run_polling()
EOF
echo “Setup complete! ✅”
212408
240830
241029
ray259525
telegram-bots save_all_bots.py
save_bots.py
Screenshot 2025-06-02 at 10.36.15 AM.png
Screenshot 2025-06-02 at 10.39.11 AM.png
Screenshot 2025-06-02 at 10.39.35 AM.png
=
Security-Integrations-Archi.textClipping telegram_to_email.py.rtf telegram_to_email.py.save
Date Modified
Jul 30, 2024 at 1:49 PM
Aug 13, 2024 at 10:25 AM
Oct 30, 2024 at 10:17 AM
May 23, 2025 at 9:56 AM
Jun 3, 2025 at 11:24 AM
Jun 3, 2025 at 11:31 AM
Jun 3, 2025 at 11:31 AM
Jun 2, 2025 at 10:36 AM
Jun 2, 2025 at 10:39 AM
Jun 2, 2025 at 10:39 AM
Jun 2, 2025 at 10:47 AM
May 20, 2025 at 1:43 PM
May 20, 2025 at 10:11 AM
X
く
Size
Kind|
Learn what it does besides install
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh