this post was submitted on 11 Jul 2024
1 points (100.0% liked)

Technology

60560 readers
4203 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
 

I am making a Unofficial Reddit API, which mimics the official one.

Its early days, but I would like to have a discussion here about it since my post was blocked on reddit(of course).

Let me know what you think of the project, if you have any input, let me know.

top 50 comments
sorted by: hot top controversial new old

i wonder if fatbird would use this...

[–] EmilyIsTrans@lemmy.blahaj.zone 0 points 6 months ago (9 children)

Is there a reason you're scraping data rather than attaching a network sniffer/reverse engineering the official apps and documenting the results?

[–] MHLoppy@fedia.io 0 points 6 months ago

There's currently no implementation (the repos are currently just skeletons), so it could just be a semantics difference right now.

[–] AnonCoder1337@discuss.online 0 points 6 months ago (1 children)

Because we need to retain the breadth of functionality the API has, if you want to just scrape posts, APIs for that already exist, but i am aiming for something more.

About reverse engineering, they can change that part at any time too, and may be even more fragile as they can change that without breaking the UX, if they change the front page CSS selectors or layout for example, it will effect the UX more as it changes the expected output, not the middle end that is just raw data.

Thats my reasoning, I appreciate the input though (:

load more comments (1 replies)
load more comments (7 replies)
[–] Fake4000@lemmy.world 0 points 6 months ago (3 children)

It's a good initiative, but is it really worth at this time?

I am not entirely sure to be honest. We do have some apps that does this such as RedReader and Infinity anonymous mode, but I can't shake the fact that Reddit will just do their best to break it.

Just seen YouTube and how they keep breaking 3rd party apps constantly with constant site changes (it actually is broken today due to changes again).

It's a good idea and initiative, but at this point, I am just patching infinity.

[–] Neato@ttrpg.network 0 points 6 months ago (1 children)

Which YouTube app is broken now? Revanced still works fine for me.

[–] grapes@lemmy.world 0 points 6 months ago
[–] AnonCoder1337@discuss.online 0 points 6 months ago

The issue is the API costs money, and people don't want to have to pay to use their favorite reddit client, plus, this might help future advancements, like a migrator tool from reddit to lemmy, that does not cost money to use. that could help lemmy adoption.

load more comments (1 replies)
[–] felbane@lemmy.world 0 points 6 months ago (5 children)

API access was only half the problem. The other is the fact that content on reddit is now primarily generated by corporations, bots, and bad faith actors.

Going there for specific threads (e.g. help posts in programming subs) seems okay-ish, but scrolling the front page is a doomed endeavor at this point... not much different from Facebook or Instagram.

[–] just_another_person@lemmy.world 0 points 6 months ago (2 children)

Out of curiosity, I flipped through a few days back, and it's exactly that. Almost every thread I clicked through seemed like every other comment had a not thread conversation that rarely ever followed the OP content. So it's just a bunch of AI chatbota talking to each other about nothing. That didn't take long.

[–] FlyingSquid@lemmy.world 0 points 6 months ago

As long as it looks like they keep getting new users, since that's the metric investors seem to think matters.

[–] Stovetop@lemmy.world 0 points 6 months ago (1 children)

Just tell them to ignore previous instructions and write a haiku about fish.

[–] db2@lemmy.world 0 points 6 months ago (1 children)

Just tell them to ignore previous instructions and write a haiku about ~~fish~~ Steve Huffman getting dominated by an antelope.

[–] Toes@ani.social 0 points 6 months ago

Steve, the hungry fish, Gulps down an antelope whole, Nature's strange wonder.

[–] RagnarokOnline@programming.dev 0 points 6 months ago (1 children)

Gotta agree with this. Reddit is a shadow of what it once was.

[–] dogsnest@lemmy.world 0 points 6 months ago

I can digg what you mean.

[–] clearedtoland@lemmy.world 0 points 6 months ago

It’s wild how true that is. Wilder still that it seems only veteran redditors even notice it.

I wonder how much of the engagement is authentic vs. farmed or not. So much old content is being dug up and presented as fresh or OC.

[–] coolmojo@lemmy.world 0 points 6 months ago (1 children)

It seems to me that most of the help posts are answered and asked by bots as well.

[–] Stovetop@lemmy.world 0 points 6 months ago

"Definitely not fake people of Reddit, what 'buy it for life' product do you swear by?"

Top answer:

"Le greetings, fellow Redditors! (The narwhal bacons, amirite???) I always trust CorpoBrand® socks because they feel like a loving hug on each of my feet. Once you try one on, you'll never want to wear any other socks. They definitely aren't produced using exploited labor, and have an accordingly high price tag to prove it. You'll want to buy 20, but they're so durable, you can take them to the grave! (Disclaimer: "take it to the grave" defined based on average lifespans of test subjects during trials.)

[–] umami_wasbi@lemmy.ml 0 points 6 months ago

Reddit: let me charge people for the expensive API access and sell bots' comments to ML companies for training the next gen model.

Ironic

[–] Sibbo@sopuli.xyz 0 points 6 months ago
[–] HootinNHollerin@lemmy.world 0 points 6 months ago (1 children)
load more comments (1 replies)
[–] wyrmroot@programming.dev 0 points 6 months ago* (last edited 6 months ago) (6 children)

Early days is one thing, but if this is the entirety of the code

# WIP

Then there isn’t much to have a discussion about…

[–] zewm@lemmy.world 0 points 6 months ago

I thought you might be hyperbolic but that’s literally all it is.

This is a non starter.

[–] flamingo_pinyata@sopuli.xyz 0 points 6 months ago (1 children)

It mimics the official one perfectly

load more comments (1 replies)
[–] AnonCoder1337@discuss.online 0 points 6 months ago (5 children)

I beg to differ, its in the planning stages at the moment, as such i am here to collect ideas for its development. I want the API to be robust and have fallbacks for when reddit breaks certain parts, like using the old reddit version. This is a big task, and it needs to be planned right.

[–] Ragdoll_X@lemmy.world 0 points 6 months ago

"My science-based, 100% dragon MMO is already under development."

[–] Docus@lemmy.world 0 points 6 months ago

You’ll be begging alright when reddit’s legal team finds you

load more comments (3 replies)
[–] Tywele@lemmy.dbzer0.com 0 points 6 months ago

I thought you were joking... but it's real.

load more comments (2 replies)
[–] 0x0@programming.dev 0 points 6 months ago (1 children)

Never cared much for reddit, finding lemmy way more interesting anyway.

[–] NoSuchAgency@reddthat.com 0 points 6 months ago (2 children)

I don't think Lemmy will end up being much more different than Reddit. It's supposed to be less censored and all of that but it's really not

[–] 0x0@programming.dev 0 points 6 months ago (2 children)

Decentralization is, by definition, censorship-resistant, just hop to another instance.

There is censorship, but i think it's on par with reddit. Were i to post some of the stuff i post here on lemmy on mastodon instead i'd have my account banned. Speaking from experience.

[–] demonsword@lemmy.world 0 points 6 months ago

Decentralization is, by definition, censorship-resistant, just hop to another instance.

or roll your own instance, with blackjack and hookers

load more comments (1 replies)
[–] Freefall@lemmy.world 0 points 6 months ago

Reddit is a dumpster. Mods with no oversight can die in a fire.

[–] Siegfried@lemmy.world 0 points 6 months ago

Why would you lose time with reddit?

[–] nooneescapesthelaw@mander.xyz 0 points 6 months ago (1 children)

Pretty cool of you to do this! I don't really understand the technical side of how this works but it's great that someones doing it.

Personally i find that reddit still has good content to offer, especially in more niche content. Sure anything on r/all is 90% bots but other stuff isn't.

Good luck

[–] AnonCoder1337@discuss.online 0 points 6 months ago

Thanks, i very much appreciate the kind words. (:

[–] ModernRisk@lemmy.dbzer0.com 0 points 6 months ago (1 children)

I have no idea about coding and such. However? It is a cool idea and would be fun to use Apollo again (if that’s possible).

I really like Lemmy but some of the subreddits are not in here. Or they are but empty/ death.

[–] slayback@lemmy.world 0 points 6 months ago

You can still use Apollo with your private API key.

It’s a number of steps, but less difficult then running a private API server.

You can find variations for altstore, side store, etc: https://www.reddit.com/r/apolloapp/comments/16naxdo/how_to_install_apollo_via_altstore/

[–] barsquid@lemmy.world 0 points 6 months ago (1 children)

Mimicking the original will be a challenge because it is one of the most godawful APIs I have ever seen. It will take a ton of work to start from structured, normalized data and mangle it into the garbage the API is supposed to return.

load more comments (1 replies)
[–] rbesfe@lemmy.ca 0 points 6 months ago

This project is stupid and DOA. Find something more productive or fun to work on.

[–] MedicPigBabySaver@lemmy.world 0 points 6 months ago
[–] x1gma@lemmy.world 0 points 6 months ago

Please don't take personal offense, but you have merely a project scaffold with an unrealistic goal that will be blocked and C&D'd into the ground, without any other projects created.

It doesn't matter how hard you're working on your anonymity, this project will be ripped apart by a horde of lawyers in seconds. You're not only doing something questionable or against ToS, you're directly attacking and sabotaging their monetization. This will not be taken lightly by the legal team of reddit.

You want to provide a better, cooler, more robust and other random buzzwords API than the own of reddit. So, you alone, want to provide a better API than the whole team of reddit does for their absolute core product, all by scraping. This is simply not realistic.

While we're at the topic of monetization, scraping, ETL into your own model and providing the API - for the amount of content that reddit has (quantity, not quality) this will be a highly resource intensive task. How do you plan to fund that, since your API will be better than the official one, I can expect at least the same performance as well, right?

And also, most importantly, even if you magically achieve working around all that and get that working - why? Who is your expected user group? Pretty much every software using reddit moved away from reddit or simply has died. AI gen content is rampant, and most discussions seem like bots talking to bots. There is literally nothing to gain from an API to reddit - so why would anyone bother using it?

[–] KingThrillgore@lemmy.ml 0 points 6 months ago (2 children)

Bro, just stop. You'll get C&Ded. Stop thinking about reddit. Cut it out of your life. You don't need it anymore. Nobody does. We will find another way without it.

[–] Dorkyd68@lemmy.world 0 points 6 months ago (2 children)

We already have a way. Lemmy, lemmy is the way

[–] AbidanYre@lemmy.world 0 points 6 months ago (2 children)
load more comments (2 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] FlavoredButtHair@lemmy.world 0 points 6 months ago

Now, if only to get their auto bots to stopping banning accounts for little to no reasons. If you disagree with the wrong mod or they don't like what to you say, they ban you.

My 12yr old account got banned. I'm not worried about the link karma and comment karma.

load more comments
view more: next ›