a mastodon client that triggers buttplug.io devices based on fediverse activity
Find a file
Nova 1b69fa5aba
Parse device instructions from toots (#15)
* Discard matching previous toots

We want to only take into account toot that are newly coming in while
the program is running. Previously it would also get the most recent matching
toot from before running the program.

Co-authored-by: Mæve Rey <42996147+m-rey@users.noreply.github.com>

* Add feature to execute device commands from toot

if a toot is written in a certain format containing instructions for the
buttplug.io device, they will be extracted and passed to the device.

Co-authored-by: Mæve Rey <42996147+m-rey@users.noreply.github.com>

---------

Co-authored-by: Mæve Rey <42996147+m-rey@users.noreply.github.com>
2023-03-02 00:43:28 +01:00
fediplug Parse device instructions from toots (#15) 2023-03-02 00:43:28 +01:00
.env Rename project, fix playback issue 2023-02-22 14:14:25 +01:00
.gitignore Add buttplugio device integration; Remove queue; Update dependencies 2023-02-25 19:26:12 +01:00
LICENSE.md add license and requirements 2017-12-26 16:42:26 -05:00
Pipfile use keyring instead of .secret files 2018-07-22 20:13:10 -04:00
Pipfile.lock update dependencies; fixes #25 via youtube-dl 2018-10-22 19:46:35 -04:00
README.md Rewrite readme (#13) 2023-02-27 21:58:16 +01:00
setup.py Add buttplugio device integration; Remove queue; Update dependencies 2023-02-25 19:26:12 +01:00
test_fediplug.py Rename project, fix playback issue 2023-02-22 14:14:25 +01:00

fediplug

A Mastodon client that automatically vibrates your buttplug.io devices as people on your timeline toot instructions.

getting started

Use pipenv install from Pipenv to install the Python dependencies and set up the fediplug script inside the virtual environment.

You can use the fediplug script with either pipenv run fediplug or by entering the Pipenv shell with pipenv shell and just running fediplug.

registering and logging in

To register fediplug to your instance, use fediplug register example.com.

To log in to your instance, use fediplug login example.com.

streaming

Use fediplug stream example.com to start the stream. You'll need to log in the first time.

Toots that include the hashtag #fediplug will trigger the buttplug.io device.

If new #fediplug toots come in while instructions are being executed, they will be queued and executed later.

If there's a recent #fediplug toot in your timeline, it'll be pulled up and executed before the stream starts.

filtering

You can also filter instructions by user, so only their instructions are executed. Just add them to the command line after the server name, e.g. fediplug stream example.com @user @otheruser@example.net.