Skip to content

Instantly share code, notes, and snippets.

View TooManyBees's full-sized avatar

Jess Bees TooManyBees

  • 271ft above sea level
View GitHub Profile
@TooManyBees
TooManyBees / mastodon_search.rb
Last active January 25, 2023 16:34
Search script for my own mastodon posts
#!/usr/bin/env ruby
# My instance doesn't support full text searching of posts, but I always
# want to know whether or not I've already published the post I'm about
# to make, and have to scroll through my own timeline just to double
# check. Well no more!
# You must use the --url argument to select the instance and user to search.
# You must also use the --access-token argument if that server only accepts
# authenticated requests. (Get an access token from the server's Development