__ __ __ ___
_\ \\ \__ /\ \__ __ /'___\ __
/\__ _ _\ ___ ___\ \ ,_\/\_\/\ \__//\_\ __ _ __
\/_L\ \\ \L_ /' _ `\ / __`\ \ \/\/\ \ \ ,__\/\ \ /'__`\/\`'__\
/\_ _ _\/\ \/\ \/\ \L\ \ \ \_\ \ \ \ \_/\ \ \/\ __/\ \ \/
\/_/\_\\_\/\ \_\ \_\ \____/\ \__\\ \_\ \_\ \ \_\ \____\\ \_\
\/_//_/ \/_/\/_/\/___/ \/__/ \/_/\/_/ \/_/\/____/ \/_/
mastodon-tag-notifier is a bot that notifies users who have assigned a hashtag in their settings when a hashtagged toot is posted.
You wouldn't wanna miss a toot with any hashtags that you interest. Users only need to follow the bot and write interesting hashtags in their profile in order to be notified.
Screenshotting without personal information is a pain so I'll get to it later...
- Follow the bot.
- Go to
settings page > Profile > Appearance > Profile metadata
, and set "Label" and "Content".
- "Label": It must be as same as
tag-notifier
(which defined asself.search_field
). - "Content": It's the hashtags you wanna receive notifications for. You can set multiple hashtags by separating them with spaces.
example metadata:
Label | Content |
---|---|
tag-notifier | foo bar |
- Go to
settings page > Development
, and click "NEW APPLICATION". - Select the scope for read and write:statuses, and click "SUBMIT".
- Click "Deploy to Heroku".
- Set environment vars and so on.
- In "Resources" tab, execute "Free Dynos".
Python3.8.0 or more
$ git clone https://github.com/yuji96/mastodon-tag-notifier.git
$ cd mastodon-tag-notifier
$ pip install -e .
$ python tag_notifier/listener.py