Email or username:

Password:

Forgot your password?
3,364 posts total
dansup

Took a break from IG import to work on a new site.

Both IG import and the new blog will be released this weekend โœจ

Show previous comments
scott f

@dansup ooh, seamless account migration! nice!

Kerfuffle

@dansup
I appreciate the "follow us on..." bits with Twitter and IG icons linking to Mastodon and Pixelfed.

dansup

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 ๐Ÿคฆโ€โ™‚๏ธ

dansup

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.

dansup

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)
71
13.9%
509 people voted.
Voting ended 9 Jun 2023 at 8:16.
m_berberich

@dansup @pixelfed how about ship asap and add multiple imports later?

Richard Azia

@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.
Adding subsequent updates can be rolled out at a later date.

dansup

On the bright side, my new Import from Instagram implementation does not require the antivirus scanner, or additional hardening against zip uploads.

Can't wait to finish the new @pixelfed engineering blog so I can explain this in more detail

dansup

I also noticed that IG mangled hashtags in some captions, like there are no spaces between them.

Yay ๐Ÿ˜…

dansup

I understand the anticipation of Import from Instagram to @pixelfed, but I need to get this right the first time.

The last thing I want is for users to have to delete (potentially hundreds) of posts and re-import because of an edge case.

dansup

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
El Perro Negro

@dansup @pixelfed looking forward to implementing this. Thanks for your efforts.

rugk

@dansup @pixelfed ah great do you do partial uploads?

Richard Azia

@dansup @pixelfed If you would like I could create a secondary account and play with my archive. It's around 3 gigabytes, so a good stress tesst. I would need to request my archive first.

dansup

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. ๐Ÿ˜Ž

tsadilas

@dansup Insta has an API that allows such a thing? ๐Ÿ˜ฎ

SpaceLifeForm

@dansup

And it was always said that no two snowflakes are the same.

dansup

Import from Instagram to @pixelfed is almost ready to ship!

Show previous comments
baarkerlounger

@dansup @pixelfed will it still support the old Instagram export format and will it support importing collections as collections?

dansup

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!

Emory L.

@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 ๐Ÿ™„

dansup

A diff view for edited posts would be really nice, itโ€™s kinda hard to tell sometimes what has changed

dansup

Speaking of copying Mastodon's implementation, I have a funny story.

Have you heard of socialhub.activitypub.rocks ? It's a hub for AP devs, I started it in 2019 using a domain I recycled from my first ActivityPub project attempt.

Before I created @pixelfed, I made a GNU/social successor from scratch, it was almost ready until I realized I made a huge mistake, I didn't account for remote profiles.

I almost gave up, and later started Pixelfed by copying Mastodon's database schema

Never give up ๐Ÿ˜‰

Speaking of copying Mastodon's implementation, I have a funny story.

Have you heard of socialhub.activitypub.rocks ? It's a hub for AP devs, I started it in 2019 using a domain I recycled from my first ActivityPub project attempt.

Before I created @pixelfed, I made a GNU/social successor from scratch, it was almost ready until I realized I made a huge mistake, I didn't account for remote profiles.

Show previous comments
Deuchnord

@dansup the real problem here is that if you want your API to really be compatible with the whole Fediverse, you must copy Mastodonโ€™s implementation, which does not follow the ActivityPub perfectly.

Komodozer ๐ŸŽฎ

@dansup , wait, it looks exactly like old Twitter!
@pixelfed

dansup

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 ๐Ÿ˜…

github.com/pixelfed/pixelfed/b

github.com/pixelfed/pixelfed/b

github.com/pixelfed/pixelfed/b

Thanks :mastodon:

Emelia ๐Ÿ‘ธ๐Ÿป

@dansup if I'm reading correctly this code will refuse to update the media on the post if it only has one media attachment? github.com/pixelfed/pixelfed/b

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)

dansup

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
Evan Prodromou

@dansup we're all in this together. Thanks for your great work!

Blortโ„ข ๐Ÿ€โ“‹๐Ÿฅ‹โ˜ฃ๏ธ

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.

dansup

Fediverse app/client developers:

How can I improve our new API docs?

beta-preview.pixelfed.io

Feedback + boosts greatly appreciated!

Show previous comments
Dragna

@dansup @pixelfed only positive feedback so far. This looks great on mobile screen.

TฮžX

@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.

sfunk1x

@dansup Adding an OpenAPI contract would be great.

dansup

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

Adam Dalliance

@dansup @pixelfed

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 :)

DELETED

@dansup
You're way too young to resist change for its own sake. You're going to see more change in your life than you can imagine. You'll feel better about it if you stay curious, look for learning opportunities, and try to envision how change can work for you--as you just did.

dansup

The new API docs are the first step towards my goal of segmenting ecosystem websites and services.

I have a few @pixelfed domains that I can put to good use ๐Ÿ˜‰ #pixelfed

Go Up