Yes exactly - living on the edge!
One way to learn the new API is - explore the code of (similar) extensions and browser scripts, to see how they build and send their calls.
Yes exactly - living on the edge!
One way to learn the new API is - explore the code of (similar) extensions and browser scripts, to see how they build and send their calls.
Is there a specific API call you’d like to make?
Maybe someone can reveal that method and endpoint.
This User Script called Fediverse Redirector auto-redirects all Community, Post, and User pages to your home instance. It works well.
Just click install on that page - it will be added to TamperMonkey (or similar).
Then click settings (under the script) and enter your home lemmy instance.
And to directly answer your question: the raw code is visible in that repo, so you could explore how the post
redirect query was constructed.
Yes, this issue has been fixed and merged into 18.1 (the next lemmy version).
You can see the lemmy-UI github issue here.
You can see the fix/merge here.
And as a temporary fix (until 18.1 releases) - if you click the “create post” button, then click the “back” button, the subscribe button should magically appear.
That’s true - Lemmy displays new comments above “top” comments, allowing them to be seen by everyone.
To find new communities - go to https://lemmyverse.net/communities, click the top right “Home” icon and input your home instance (ex: lemmy.world)… now you can open/subscribe to every community you like.
Get a good mobile app - they are listed here (with a ton of other great new-user tips): https://lemmy.ml/post/1470777
Change your default “Sort Type” to “Subscribed + New” (in settings) - now you have a fresh feed of your exact interests, every time you open Lemmy.
Communicate in a genuine, open-minded way - to me, Lemmy is a good place to really connect with people, and have honest discussions (versus the often more ‘performative’ tone of greeddit).
“OP made it opt-in”
1 - It’s not opt-in “By User” though. It’s opt-in “By Community”…
So if one person turns it on, 1000’s of other people see it.
OP keeps saying “you can just toggle it off”… but I really can’t… when anyone can toggle it back on.
2 - Future options for toggling are not much better (bottom of the repo, To-Do section):
“if a moderator adds the haiku-bot, non-mod users cannot remove it”
“only allow moderators to subscribe/unsubscribe”
…so the toggle option wouldn’t apply to 99% of people anyway.
“a few users were waiting for this (-OP)”
Who was waiting for it? The top level replies in this thread are:
I think your bot rules are pretty solid though.
Overall, I just feel like… Lemmy is a fresh space…
a chance to make a new culture…
maybe it’s best to leave that old bloated carcass behind.
1 - Yes - some bots are helpful, some (most) are annoying:
a Haiku bot falls into your “triggered by accident” category (any post that is 17 syllables).
a Haiku bot also does not add any new contextual information (it just duplicates a comment).
That’s why I’m saying the haiku bot is junk.
2 - In this very post, when Otome said “I never liked the Haiku Bot”… OP responded “I’ve never liked them much either”…
so I’m asking OP: “why create a bot to spam lemmy with low-value duplicate content, if you don’t even like that bot yourself?”
I’m asking you - what value do YOU think this Haiku bot adds?
You did not answer the question… I asked you:
How is a haiku bot not invasive spam?
It’s basically the same as the “all numbers in your post add up to 69” bot.
Okay - What value does a haiku bot add?
It only tells you that a post was 17 syllables…
If you agree that most bots are spam, then why are you making and promoting bots?
Here’s a human haiku:
bots are part of what
made reddit such a wasteland.
most bots are just spam.
i wish lemmy would
remain a place for humans.
why can’t we just talk?
Yeah, I understand what you mean (after a year of exploring the Web Socket).
That lemmy
auth
value is pulled from a JWT cookie in the browser - which you can access in JS bydocument.cookie
. It allows user-specific API calls (retrieving saved posts, subscribed communities, etc).