(best repo name ever)
Randomly changes a field on my fedi profile.
Mood strings (?) are defined in moods.py because I couldn't be bothered to read from a JSON file when this just works. They're a nice simple Python list (which can sometimes contain a dict
if you're feeling spicy) with a trailing comma to stop tox
getting upset.
MOOD_LIST = [
"Happy",
"Contemplating Python",
"Looking at PHP",
{
"label": "The label to display",
"content": "The content to display",
},
"nyaa~",
{
"label": "Fun fact",
"content": "I'm not a catgirl :(",
},
{
"label": "Snoot boops today",
"content": str(random.randint(1, 20)),
},
"etc.",
]
Do it! As long as it's safe for work I'll probably merge it :D
- Fork the repo
- Edit moods.py
- Submit a pull request
- Clone the repo (
git clone https://github.com/theresnotime/mastodon-field-changer.git
) - Install the dependencies (
pip install -r requirements.txt
) - Edit config.example.py and rename it to
config.py
- Run
away, never looking backthe script (python mastodonChanger.py
)