Skip to content

Instantly share code, notes, and snippets.

@lstarnes1024
Last active August 20, 2018 03:41
Show Gist options
  • Save lstarnes1024/be941193ae15e99ecb2693c062a1fbde to your computer and use it in GitHub Desktop.
Save lstarnes1024/be941193ae15e99ecb2693c062a1fbde to your computer and use it in GitHub Desktop.

83bot

It generates lewd 8.3 format filenames. Not much else to it.

Disclaimer

This project is not connected to the Interlinked Foundation in any way.

Setup

  1. Register an account on a Mastodon instance. Other instances that support the Mastodon client API will work too, like Pleroma.
  2. Register the app. In Mastodon, go to Preferences > Development. Leave the redrect URI as urn:ietf:wg:oauth:2.0:oob. Make sure it has the read and write scopes. Make note of the client_id, client_secret, and access_token.
  3. Copy config.ini.example to config.ini then change the fields as follows:
    • instance is your instance's base URL
    • user is the email address you registered the bot with.
    • password is the account's password.
    • client_id, client_secret, and access_token are what you got in step 2.
  4. Create a venv and install the required dependencies
$ python3 -m venv ./venv
$ ./venv/bin/pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment