alleycatboy's profile picture

Published by

published
updated

Category: SpaceHey

want to sub to all ur friends blogs in one-click? sub2frenz does it

i wanted this feature and i'm impatient, so i made this shit.


WHAT IS IT?

sub2frenz provides 2 things:
  • a button to sub to all your friends blogs.
  • a button to unsub to blogs* you are NOT friends with.

sub2fren appears on your spacehey homepage on the left profile bar, right under "My Mail"

click the 'sub' button to start the subbing process:

and the same for unsubbing:

note: this is intentionally a bit slow to prevent you from unintentionally participating in a DDOS of spacehey or from you getting rate-limited. spacehey is a bit slow, so respect the turtle and wait a second.

you can stop the process at any point, but there is no "undo" button

unsubbing from non-friend blogs can take a few minutes (if not more) due to the speed at which spacehey propagates changes to subscription feeds. this is unavoidable. the unsub process may run multiple passes until your feed is clean of non-friends

*notice i did not say ALL blogs. if a non-friend subbed blog has never posted a blog post, there is no way to find the subscription. this is a limitation of spacehey not having an API


HOW CAN I INSTALL IT?

1. you will have to install tampermonkey (chrome / firefox)

2. then you have to install the script itself

3. reload your homepage and the buttons should be on the left side of the profile

and you got sub2frenz. cool

note: this will get updates to address bugs if they come up



DISCLAIMERS:

  • this is free software: you are free to change and redistribute it under GPLv3
  • there is NO WARRANTY, to the extent permitted by law
if this kills you somehow or ruins your life, that's on you


you're welcome



PS:

  • if you need help or something, check the comments first
  • no one with your problem? then ask in the comments
  • do not DM me for help because it will not contribute to troubleshooting history


6 Kudos

Comments

Displaying 3 of 3 comments ( View all | Add Comment )

Celeste

Celeste's profile picture

yesss this is amazing!!


Report Comment

ashton

ashton's profile picture

underrated blog holy moly


Report Comment

maciel

maciel's profile picture

OH MY GOD DUDE YOU'RE THE GOAT

swear to god, i was working on a script like this too... and i faced THE SAME problems, the weird form behaviour upon fetching, the rate-limiting, and you wrote everything in such a sweet sweet way. incredible work !!!!!! <33


Report Comment



the lack of actual subscription endpoint had me buggin.

i'm not sure why i kept trying with the unsub function, but something didn't feel right about still being subbed to someone after unfriending them

but thanks for looking at the code, dude! if you didn't make your script i wouldn't have been moved to write mine

by alleycatboy; ; Report

the biggest challenge on spacehey userscripts is the fact that there is no api,,, you handled this so well, this is the coolest thing :DDD

by maciel; ; Report

maybe there needs to be a userscript community on this site, there's a lot of missing features or QoL that could be added

by alleycatboy; ; Report