"Never trust a computer you can't throw out a window."
— Steve Wozniak
This experimental app detects your iMessage texts and replies to them on your behalf. Some cool features include:
- Message sending delay (so it doesn't reply too quick)
- Text processing (to make messages more casual)
- Ability to hold extended in-depth conversations with fixed-size queue context window
- Swap out ChatGPT for a fine-tuned version on your own text messages, so it can talk even more similarly to you!
Please be responsible with usage and receive the informed consent of your friends before deploying!
- Install Jared
- Change Jared config file (located at
~/Library/Application Support/Jared/config.json
) to theconfig.json
here - Launch Jared
- Install Node.js (https://nodejs.org)
- If you don't have it, install yarn using:
sudo npm i -g yarn
- Open this directory (
cd send-texts-for-me
), then install packages by typing:
yarn
- Create a new file
.env
and fill in environment variables following the format of.env.example
. Get your OpenAI API key at platform.openai.com - Set up SQL (see below)
- Run the textbot with:
yarn dev
- Clone the repository
- Move you
chat.db
file into the repository directory - Execute the following from the command line:
cat query.sql | sqlite3 chat.db -csv -header > output.csv
- Use Google Sheets utility to convert output.csv into the correct format
- If adding synthetic data, add it in a file
synthetic.csv
in the same format asoutput.csv
, and run the following command:
tail -n+2 -q synthetic.csv >> output.csv
- under typescript version, self-message conversation exchanges don't work on certain devices (depending on how iMessage accounts are configured). If not working, try sending to an associated account not under ths ame contact