What it does
An IFTTT applet logs your tweets to a Google Sheet, and a sync script writes them to monthly markdown files in your repo. This feeds into your identity profile, letting Patina understand your public interests, opinions, and how you communicate.
Used by
Setup
Create an IFTTT applet
Since X's API is restrictive, Patina uses IFTTT as a bridge. Create a free IFTTT account if you don't have one.
- Go to ifttt.com/create
- For the trigger ("If This"), choose X / Twitter and select "New tweet by you"
- For the action ("Then That"), choose Google Sheets and select "Add row to spreadsheet"
- Name the spreadsheet something like "My Tweets"
- Turn on the applet
IFTTT will now log every tweet you post to a Google Sheet automatically.
Publish the sheet as CSV
- Open your Google Sheet (IFTTT creates it in your Google Drive)
- Go to File → Share → Publish to web
- Select the sheet tab and choose CSV format
- Click Publish and copy the URL
Add the URL to your environment
Run your first sync
This fetches the CSV, groups tweets by month, and creates files in twitter/YYYY-MM.md.
How it works
The sync script downloads your published Google Sheet as CSV, parses each row (date, handle, text, link), groups them by month, and writes markdown files to the twitter/ directory. Each sync is incremental — existing tweets aren't duplicated. The /sync-all skill includes Twitter sync automatically.
