Skip to content

A bot to text song lyrics to your friends (each word is a new text) - trend from TikTok

Notifications You must be signed in to change notification settings

mattupham/iMessage_lyric_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iMessage Lyric Bot

This repo goes along with this YouTube video. Copy and paste song lyrics, movie scripts, etc into the lyrics file. Add your friend's phone number to the num file, run, and watch as it sends texts one by one, for every word!

Features / Specifications

  • works with the iMessage client on Mac (feel free to substitute an SMS API)
  • add any text to lyrics.txt

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Instructions

  1. Watch this Youtube Video first!
  2. Complete the Prerequisites and Installing sections below
  3. Add a phone number (as a string) to num.py
  4. Run the send.py file with Python
  5. Improve this repo, and DM me on Discord, TikTok, or Instagram, and I'll feature you in a future video!

Prerequisites

Install Python3

Install Pip and virtualenv

Install Pipenv

Give terminal "full disk access" on Mac for py-imessage to work:
System Preferences -> Security & Privacy -> Privacy -> Full Disk Access -> + -> Click Terminal
You'll receive this error once you run the final script if you don't:
sqlite3.OperationalError: unable to open database file


Installing

In the project directory:

Create virtual environment:

On macOS and Linux:

python3 -m venv env

On Windows:

py -m venv env

Activate virtual environment:

On macOS and Linux:

source env/bin/activate

On Windows:

.\env\Scripts\activate

Install packages via Pipfile

pipenv install

Built With

  • Python3 - A programming language that lets you work more quickly and integrate your systems more effectively.
  • py-iMessage - A library to send iMessages from your Mac computer (it does not work on Windows/Linux)

Author

Matt Upham

About

A bot to text song lyrics to your friends (each word is a new text) - trend from TikTok

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages