Twitch    Youtube    Twitter    Merch    MechaPip   


How To Make A Simple X (formerly Twitter) Bot For Free.

Creating a bot for X (formerly Twitter) using Make.com can be an exciting project that automates tasks and engages with users in innovative ways. Here’s a comprehensive guide to help you build your own X bot.

Step 1: Set Up Your X Developer Account

Before you start, you need an X Developer account. Go to the X Developer website and sign up for a free account. Describe your use cases for Make.com and submit your application.

Step 2: Create a Custom Application

Once you have your developer account, create a custom application to obtain your client credentials. You’ll need these for Make.com to interact with X.

Step 3: Establish Connection with Make

Log in to Make and add an X module to your scenario. Use the client credentials from your X app to establish a connection.

Full tutorial on connecting twitter from Make.com. 

Step 4: Design Your Bot’s Workflow

Decide what your bot will do. Will it post content, respond to users, or perform analytics? Use Make’s visual editor to design your workflow, selecting triggers, actions, and searches, hundreds of available apps means there's unlimited ways to customize your bot my solution is rather simple but more templates and ideas can be found on Make.com

An example of my X (formerly Twitter) bots workflow (see picture below).

Module 1: Watches a folder in Google Drive for updates. (I have a different bot saving my tweets in a txt file in Google Drive.)

Module 2: Downloads the txt file containing my tweet.

Module 3: Sends the tweet.


Step 5: Program Your Bot

You can program your bot to perform various tasks such as creating posts, managing direct messages, or analyzing data. Make.com provides a no-code interface, but you can also use code for complex logic.

Step 6: Test and Deploy

Test your bot to ensure it behaves as expected.

Step 7: Monitor and Update

Keep an eye on your bot’s performance and user interactions. Use feedback to make improvements and update your bot’s workflow as needed.

Remember, while bots can be powerful tools, they should be used responsibly, adhering to X’s guidelines and respecting user privacy.

This article provides a starting point for creating your X bot. With creativity and careful planning, your bot can become a valuable asset on the X platform.

C:\USERS\JERKYJESSE_

How to Prompt AI

Prompting an AI effectively is crucial for obtaining the best results. Whether you’re using AI for creative writing, data analysis, or problem-solving, the way you communicate with it can significantly impact its performance. Here are some tips on how to prompt AI properly:

  1. Be Specific: Clearly define what you need from the AI. If you’re too vague, the AI might not understand the context or the specific outcome you’re expecting.

  2. Provide Context: Give the AI enough information about the task at hand. If the AI has a background on the subject, it can generate more accurate and relevant responses.

  3. Use Simple Language: While AI can understand complex sentences, keeping your prompts simple and straightforward can prevent misunderstandings.

  4. Sequence Your Questions: If you have multiple questions, ask them in a logical order. This helps the AI follow your train of thought and provide coherent responses.

  5. Be Patient: AI might need a moment to process your request, especially if it’s complex or requires creative thinking. Don’t rush it.

  6. Provide Examples: If you’re looking for a specific style or format, provide examples. This will guide the AI in generating content that meets your expectations.

  7. Use Closed-Ended Questions for Specifics: If you need a precise answer, ask a closed-ended question. This prompts the AI to give you a direct response rather than a broad explanation.

  8. Open-Ended Questions for Exploration: When you want the AI to explore a topic or generate ideas, use open-ended questions. This gives the AI the freedom to be more creative and expansive in its responses.

  9. Feedback is Key: Provide feedback on the AI’s responses. This helps the AI learn and improve for future prompts.

  10. Understand the AI’s Limitations: Recognize that AI has limitations and might not always provide the perfect answer. It’s a tool to assist you, not a replacement for human judgment.

By following these guidelines, you can enhance your interactions with AI and leverage its capabilities to the fullest. Remember, the quality of the input often determines the quality of the output, so taking the time to craft your prompts carefully can lead to better results and a more efficient workflow.

C:\USERS\JERKYJESSE_

FFMPEG Commands List

Loop Commands

  1. for %i in (*.*) do ffmpeg -n -threads 1 -i "%i" -vcodec libx265 -acodec copy "%~ni_2.mp4" This command loops over all files in the current directory and uses ffmpeg to convert each file to an MP4 file with the H.265 (libx265) video codec, while keeping the original audio codec. The output files have the same name as the input files with _2.mp4 appended.
  2. for %i in (*.*) do ffmpeg -n -threads 1 -i "%i" -vf crop='iw-mod(iw,2)':'ih-mod(ih,2)' -vcodec libx265 -acodec copy "%~ni_2.mp4" This command is similar to the previous one, but it also crops the input video to make its width and height divisible by 2. This is useful for codecs that require even dimensions.
  3. for %i in (*.*) do ffmpeg -n -i "%i" -vcodec hevc_nvenc -preset slow -acodec copy "%~ni_2.mp4" This command converts each file in the current directory to an MP4 file using the HEVC (hevc_nvenc) codec with a slow preset, which provides a better compression rate but takes more time.
  4. for /r %a in (*.mp4) do ffmpeg -n -i "%~a" -vcodec hevc_nvenc -preset slow -acodec copy "%~dpna_2.mp4" This command is similar to the previous one, but it operates recursively on all MP4 files in the current directory and its subdirectories.

Non-loop Commands

  1. ffmpeg -r 24 -f image2 -s 1920x1080 -i pic%d.png -vcodec libx264 test.mp4 This command generates a 24 fps MP4 video from a sequence of PNG images named pic0.png, pic1.png, etc. The video resolution is 1920x1080 and the video codec is H.264 (libx264).
  2. ffmpeg -i input.mp3 -i input.mp4 output.mp4 This command adds an MP3 audio track to an MP4 video. The output is an MP4 file with the original video and the added audio.
  3. ffmpeg -i input.mp4 output.avi This command converts an MP4 video to an AVI video. The codecs of the output video will be chosen based on the AVI format.
  4. ffmpeg -r 24 -i pic%d.png output.gif This command generates a 24 fps GIF from a sequence of PNG images.
  5. ffmpeg -i output.mp4 image.gif This command converts an MP4 video to a GIF.
  6. ffmpeg -ss 00:00:0.0 -i input.mp4 -c copy -t 00:01:29.0 output.mp4 This command extracts a segment from an MP4 video without re-encoding. The segment starts at the beginning of the video and lasts for 1 minute and 29 seconds.
  7. ffmpeg -i output.mp4 audio.mp3 This command extracts the audio track from an MP4 video and saves it as an MP3 file.
  8. ffmpeg -loop 1 -f image2 -i flower.jpg -i input.mp3 -vf crop=in_w:in_w*9/16,scale=1920:1080,fps=30 -pix_fmt yuv420p -vcodec libx264 -shortest output.mp4 This command creates a video with a single image and an audio track. The image is looped to match the duration of the audio. The video has a resolution of 1920x1080 and a frame rate of 30 fps. The video codec is H.264 (libx264).
  9. ffmpeg -i input.mp4 -c copy output.mkv This command converts an MP4 video to an MKV video without re-encoding.
  10. ffmpeg -stream_loop 5 -i input.mkv -c copy output.mp4 This command loops an MKV video 5 times and outputs an MP4 video.
  11. ffmpeg -i inputs.mp4 -ss 00:00:00 -t 00:32:18 -async 1 cut.mp4 This command extracts a 32-minute and 18-second segment from the beginning of an MP4 video.
  12. ffmpeg -r 60 -f image2 -s 1920x1080 -start_number 1 -i %d.png -vframes 1440 -vcodec libx264 -crf 25 -pix_fmt yuv420p output.mp4 This command generates a 60 fps MP4 video from 1440 PNG images. The video resolution is 1920x1080 and the video codec is H.264 (libx264).
  13. ffmpeg -ss 00:00:00 -i input.mkv -c copy -t 13:32:00 output.mkv This command extracts a 13-hour and 32-minute segment from the beginning of an MKV video without re-encoding.
  14. ffmpeg -y -r 16 -f image2 -s 1080x1920 -i %d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p "output.mp4" This command generates a 16 fps MP4 video from a sequence of PNG images. The video resolution is 1080x1920 and the video codec is H.264 (libx264).
  15. ffmpeg -r 60 -i %d.png output.gif This command generates a 60 fps GIF from a sequence of PNG images.

Video Speed Commands

  1. ffmpeg -i input.mkv -filter_complex "[0:v]setpts=<1/x>*PTS[v];[0:a]atempo=<x>[a]" -map "[v]" -map "[a]" output.mkv This command changes the speed of an MKV video. The <1/x> and <x> should be replaced with the desired speed factor. For example, to double the speed, use 0.5 and 2.0 respectively.

Rename or Change Extension Commands

  1. ren *.mp4 *.avi This command renames all MP4 files in the current directory to AVI files. It only changes the file extensions, not the file formats.
  2. $i = 0; Get-ChildItem "*.png" | foreach-object {Rename-Item $_ "$($i.ToString('D4')).png"; $i++} This PowerShell command renames all PNG files in the current directory to 0000.png, 0001.png, etc.
C:\USERS\JERKYJESSE_
cbd
Jerky Jesse Logo © Copyright, Jesse A Phipps