Twema is a Twitter to e-mail gateway. It has the following features:
- Sends tweets from a home timeline
- Sends messages from a Twitter thread as a single message
- Shows pictures inline
Twitter now restricts access to the home_timeline.json API endpoint and requires one to pay $100/month for it.
Instead head over to a nearby Nitter instance and grab feeds for all Twitter accounts you'd like to read.
- Install the tool (e.g.
pip install twema) - Configure local mail server to accept mail via
/usr/sbin/sendmail - Copy example config to
$HOME/.config/twema/config.toml - Fill in
mail.fromandmail.tovalues - Register an app
- Fill in
app.consumer_keyandapp.consumer_secretvalues - Make a sacrifice to Musk by upgrading to a tier that allows you to consume
home_timeline.jsonAPI endpoint. - Run
twema fetchand follow instructions to authenticate to Twitter
Fetch tweets:
$ twema fetch
Send e-mails:
$ twema send