1b69fa5aba
* 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> |
||
---|---|---|
fediplug | ||
.env | ||
.gitignore | ||
LICENSE.md | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
setup.py | ||
test_fediplug.py |
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
.