Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CM
Posts
8
Comments
129
Joined
2 yr. ago

  • This one got me too.

    lemmy.ml specifically is running requests through a user agent checker - and if it's empty, which reqwest is by default, you will get a 403.

    You can see an example here of using ClientBuilder to set a user agent string: https://github.com/CMahaff/lasim/blob/main/src/lemmy/api.rs

    So set any string (should be your project name) and then it should work.

  • Author of the tool here! If you are okay letting me know the instance, I can definitely take a look and see if I can figure out the issue. I might need to make an account though.

    There's lots of Lemmy instances, and I'm always finding new quirks with different configs. But it'll help the next person who might run into the same thing!

  • So I made an account on that instance and was able to download and upload to it without issue from my end (using LASIM 0.1.1).

    So then I can only think it was some kind of intermittent issue or it's something specific about the communities on your account specifically. And unfortunately I cannot see that list of communities on your profile.

    Let me know if the issue persists and you want to try debugging it further.

  • That's odd! It should take only a few seconds at most - downloading is only like 2 API calls.

    Do you follow any "odd" communities, like something from kbin or mastodon or something?

    And do you mind sharing the instance? I know we ran into an issue where lemmy.ml was applying some extra filtering and denying some connections, some kind of anti-bot measure - could be a similar story here.

  • Author here! I've been posting about it a good bit, and especially with the hack of .world and vlemmy's disappearance, now others have started sharing it too. Besides myself testing it with lemmy.ml, lemmy.world, and lemm.ee, I've seen at least a handful of people that say they've run it without issues. I'm assuming the real number is much higher but there isn't any tracking in the app, or even a download counter, so I really have no idea.

    Only known issue at the minute is whether it works on Mac OS X. It theoretically does, but the only person who attempted it ran into issues where OS X wanted to open it as a text file instead of running the program - and it's the only platform I can't test myself.

    Obviously if you do have any issues you can report them on GitHub.

  • Unfortunately not super easy to port to mobile because of the language I wrote it in - which in my defense, I chose because it's the same language as the Lemmy back-end and "official" API.

    You are the second person to ask though so I guess I should have thought more about that!

    We'll see how long the project lasts and maybe I'll consider it in the future, but the hope is that this is a stop-gap until Lemmy has an official method for transferring this data.

  • Yeah it's not treating it as an app, it's trying to open it as a text file haha. But I don't own a Mac, so I can't debug the steps one would need to take to make OS X treat it as an application.

    I think it's just a permissions thing, but again I'm not sure. I think a terminal call to mark it as executable or changing the extension might do it.

    I guess I'll have to find someone in my life with a Mac hahaha.

  • Yeah I can use GitHub to generate Mac OS X artifacts but I can't test them, so maybe it doesn't even work.

    I suspect it's just a permissions thing on the binary though, and running into the same issues as Ubuntu. I assume nothing happens if you just double click it? Or an error message?

  • Which platform are you using?

    I know for Ubuntu (Linux) I have to chmod the binary after unzipping it (that is, use the terminal set the binary to execute with "chmod 755 lasim").

    Mac OS X is untested - I don't have a Mac to try it out, but it might have a similar problem.

  • LASIM definitely does not - it's designed for desktop and written rust, so not easily portable to iOS/Android.

    Doesn't look like lemmy-migrate would either - it's a python script - unless there's a mobile python interpreter app or something.

  • Hey, author of LASIM here if people have any questions!

    Just so people know it does save everything to a JSON file when you click "download" so you can absolutely upload to multiple accounts or keep it as a backup.