Took a break from IG import to work on a new site.
Both IG import and the new blog will be released this weekend โจ
Took a break from IG import to work on a new site. Both IG import and the new blog will be released this weekend โจ When researching this feature, I discovered a few sites that offer converting your IG export archives to excel format, so you can browse the data in spreadsheets. I wonder if those people realize what they are sharing with those sites ๐คฆโโ๏ธ IG account exports include a lot of data, and that worried me with my initial implementation as it involved uploading the entire zip to the server first. That is no longer the case, and users will have peace of mind knowing that the import feature will only upload data they specifically choose. Should I add support to allow users to Import from Instagram to @pixelfed more than once? On subsequent imports, existing imported files would be skipped. Anonymous poll
Poll
Yes (will take a few more days)
375
73.7%
No (ship ASAP, only allow one import)
63
12.4%
Undecided (show results)
509 people voted. 71
13.9%
Voting ended 9 Jun 2023 at 8:16. @dansup @pixelfed Ship now, and allow for multiple imports later. I would make it abundantly clear though, that they should back up their existing data first, in case it goes wrong. When I played with instagram archive import I used a clean wordpress account, before taking the risk of ruining my existing blog. I also noticed that IG mangled hashtags in some captions, like there are no spaces between them. Yay ๐ Unfortunately, I'll need another day or two to finish Import from Instagram to @pixelfed I originally was testing against my own export, which is pretty small. I was able to get my partners export and it's over 1GB! Rather than imposing export size limits, I'm refactoring to support any size without requiring admins to increase file upload limits. It's pretty complicated, but the UX is really nice, so I appreciate your patience while I wrap this up! I promise it will be worth the wait ๐
Show previous comments
IG import presents an interesting problem with regards to assigning post ids. The goal is to backdate ids of imported posts in a way that doesnโt break things. We canโt backdate posts using snowflake ids because of the epoch, so instead we are using the id key space between auto incremented ids (which is less than 50k on pf.soc) and first snowflake ids. This will allow for 1m users to import up to 10k posts without affecting existing ids or having to check if they are used. ๐
Show previous comments
More @pixelfed ActivityPub documentation coming tonight! https://beta-preview.pixelfed.io/guides/activitypub-federation Added a userland Antivirus implementation to detect malicious zips before handling them, for Instagram Import. No deps required ๐ Based on ClamAV and other signatures, using phpMussel! @dansup fwiw i regularly ask people to consider something like the #virusTotal API. while you're in there can users shred exif upon upload? asking for a friend ๐ I will be documenting @pixelfed ActivityPub federation and updating the new docs tonight! https://beta-preview.pixelfed.io/guides/activitypub-federation #pixelfed #docs A diff view for edited posts would be really nice, itโs kinda hard to tell sometimes what has changed
Show previous comments
Can't believe @pixelfed actually supports post edits, and they work ๐ They weren't that difficult to implement because I copied Mastodon's implementation down to the models, controllers and services ๐ https://github.com/pixelfed/pixelfed/blob/dev/app/Models/StatusEdit.php https://github.com/pixelfed/pixelfed/blob/dev/app/Http/Controllers/StatusEditController.php https://github.com/pixelfed/pixelfed/blob/dev/app/Services/Status/UpdateStatusService.php Thanks :mastodon: @dansup if I'm reading correctly this code will refuse to update the media on the post if it only has one media attachment? https://github.com/pixelfed/pixelfed/blob/dev/app/Services/Status/UpdateStatusService.php#L30 Though in the controller there doesn't seem to be any validation on that (that you can't change the media if there's only one attachment) I feel uneasy when I announce something and people mention Gargron in the replies asking him to implement something similar Pixelfed and Mastodon are vastly different beasts, they move a bit slower than we do when it comes to feature dev but that's only because they have so many more users and instances, as well as a more stable release process I ask that if you do request Mastodon implement a Pixelfed feature, that you do so respectfully
Show previous comments
Dear Gargron. I would respectfully like to request that you please implement more pet photos, like @dansup on Pixelfed. I feel that this will set Mastodon apart and cause it to quickly take over social media usage from the incumbent tech oligarchies. Issue report to be filed, shortly. Thank you. Fediverse app/client developers: How can I improve our new API docs? https://beta-preview.pixelfed.io Feedback + boosts greatly appreciated!
Show previous comments
@dansup looks great! maybe add some informations about cross origin / cloudflare, looks like api access are not allowed for web apps, not sure if there is any official way around Edit: well, there's a chance it's just a pixelfed.social related point, so maybe the project documentation is not the best place for this. But for devs the original server is the first option to test api. For the longest time, up until about a year ago, I was too comfortable with Vue.js and Bootstrap that I wouldn't dare step out of that comfort zone I'm glad I did, I learned React + React Native and began working on the @pixelfed mobile app And just tonight I shipped my first Tailwind/Next.js website, I'm so proud haha For someone who doesn't like change, I gotta say, sometimes you need to embrace it I massively prefer Vue, but one has to have some idea of and experience in both or you're a one trick pony with no real idea which is best. So well done :) |
@dansup ooh, seamless account migration! nice!
@dansup
I appreciate the "follow us on..." bits with Twitter and IG icons linking to Mastodon and Pixelfed.
@dansup Thanks so much, Daniel