Email or username:

Password:

Forgot your password?
3,802 posts total
dansup

Thankfully @pixelfed supports custom 503 page title and body (with HTML) so I can add the following .env variables to pixelfed.social to keep users in the loop!

PAGE_503_HEADER="Service Unavailable"
PAGE_503_BODY="We are performing some maintenance to upgrade our database server!<br /><hr/>For updates, follow our <a href='status.pixelfed.social/mainten' target='_blank'>status page incident</a>."

Pixelfed 503 error page with custom text
dansup

Edit: And we're back! It didn't take as long as expected!

pixelfed.social will be performing a database upgrade in 25 minutes, it's expected to last for up to 80 minutes.

Updates will be posted here status.pixelfed.social/mainten

Matjö

@dansup looks like the IG import function was broken before the database update. Will it work now? I sent a support email about it a week ago.

dansup

I wonder if puck is still around testing AP implementations, those were "fun" times

Григорий Клюшников

I consider Smithereen to be still in the testing phase

dansup

Want less nudity in the network feed? Say less fam...

PHP Nudity Detection Service, copyright pixelfed 2023
Show previous comments
Cameron

@dansup to save you some time when writing the porn detection, Fred Colon, of Ankh Morpork City Watch fame, has you covered* with the classification rules.

"Nude women are only Art if there’s an urn in it,” said Fred Colon. This sounded a bit weak even to him, so he added: “Or a plinth. Both is best, o’course. It’s a secret sign, see, that they put in to say that it’s Art and okay to look at." -Thud, Terry Pratchett's #Discworld

*no pun etc...

Steve-o

@dansup What about the opposite, a checkbox to say "I'm cool with that" and remove all the blurred warnings from your feed so you don't have to click through each individual image?

Show previous comments
Brother Holmes

@dansup Is there a way to change my username or free it up so that I can use “login with mastodon”? When I try and use that option, it tells me my username is taken (by me on my pixelfed.social account) & prompts me to choose another.

Semmelstulle

@dansup oh, I thought this was for browsing with Mastodon in a different UI. One Pixelfed account is enough for me haha

MostlyTato

@dansup
Nice one! It didn't work for me at first but now I'm on. Such cross functionality is excellent.

dansup

Pixelfed will soon be shipping with a default blocklist that is enabled by default, admins can customize it as they please.

#pixelfed #safety

dansup

Glad to finally ship #SignInWithMastodon

It was only 12 days ago that I first announced this! I didn't think it would take long but it's quite complex.

Frontend: 1.5K LoC
Backend: 1.0K LoC

Next up: New mobile app build with Stories, Boosts/Following Hashtags in feeds and more, in a few days 😅

18 unique routes are used for the Sign-in with Mastodon feature
Michael

@dansup Quick question, Daniel, but as a new user, how long should I expect it to take for my first post to be checked and listed?

Skoop (Stefan Koopmanschap)

@dansup thank you for all the work you do on Pixelfed!

dansup

Next.js really butchered the image quality in that blog post, need to look into that

Show previous comments
WXFanatic

@dansup @pixelfed I tried to use my current Mastodon instance m.ai6yr.org to login and it gives an error that says the server is incompatible. Is the ability to sign in with a different Mastodon server than the ones listed a work in progress still?

dansup

You gotta watch this and see how easy Sign-in with Mastodon really is!

This will be huge for @pixelfed onboarding, thanks to @Mastodon ❤️

github.com/pixelfed/pixelfed/p

Show previous comments
Johnbelitsky

@dansup @pixelfed @Mastodon is there a fediverse oauth already that can be used for sign in?

Hasenpaar

@dansup That's pretty neat. Now I just need to be able to either link an existing account to Mastodon or at least scan my followings so I finally get some content into my Home Feed.

Adam

@dansup @pixelfed @Mastodon if you're having to add your email and create a password, are you really signing in with Mastodon?

dansup

One of my @NGIZero milestones for @pixelfed is resilient media storage and processing

If your S3 provider goes down, it will switch to a backup provider seamlessly and sync data once primary is back online

Transcoding media on remote servers will also be possible, and you'll be able to define parameters like mime type - allowing you to have a separate video transcoding server

😎 #pixelfed

Show previous comments
Brad Romance

@dansup Hey, what’s the story with video from iPhones? 🤔 I’ve seen stuff online about modifying the .env file to enable it and it works, so why not enable it by default?

dansup

There is an increasing number of microservices that power various parts of the @pixelfed ecosystem, and it's pretty neat.

Our mobile app reaches out to a microservice api to get a list of pixelfed instances that are open and meet reqs, it's basically just a cached response of another microservice running on fedidb.

Another example is beagle.pixelfed.net, our new discovery and auth service, will be sharing more in a future blog post ✨

Sean

@dansup @pixelfed Keep up the great work! Pixelfed is a wonderful platform.

dansup

One of the main reasons it took longer than expected to ship #signInWithMastodon is due to the max limit setting.

By default, a masto user will only be able to sign-in to 3 different Pixelfed instances.

This works by a centralized api that I run, to enforce the max limits across instances with ease.

Admins will be able to set their own max limit and opt-out of it entirely, choice is good 😉

[DATA EXPUNGED]
dansup

Btw, the oauth scope we use for this is only "read", we cannot post on your behalf or other things, and the source will prove the limited data we use from your Mastodon account (bio, username, avatar, following)

dansup

pixelfed.social's statuses table is 30G

I really need to ship a command to purge remote posts older than X without any interactions (they can be re-fetched via search)

I'm going to drop the `entities` column since we don't use it and it takes up a lot of space

Also considering dropping the `rendered` column, storing two copies of the same post caption (one with html markup) isn't efficient, we can autolink on demand.

😅

Pixelfed.social database table sizes
dansup

Regarding the `entities`, we transform posts based on a defined schema, then cache it (and remove/add attributes depending on if client is mastodon compatible) and finally hydrate state (liked,bookmarked,shared).

By moving the autolinking (converting plain text to html with hashtag/mention links) to the cache step we can eliminate storing it in the database, and also better handle autolink changes (mentioned user deletes account)

Isa

@dansup What tool is this to show the size of the tables?

dansup

Sign-in with Mastodon will be quite configurable!

One challenge is to prevent abuse like a single Mastodon account using this on dozens or hundreds of Pixelfed instances.

I got that handled though, using a centralized list of masto webfingers that are incremented upon sign-in, we can enforce a max limit of uses!

Let me know your thoughts, boosts appreciated 😁 #pixelfed #signInWithMastodon

Pixelfed Sign-in with Mastodon config
jonny (good kind)

@dansup
really into this idea, it does raise questions with identity as you say. why not make it more explicit than a repository at a different level than instance identity? eg. a link between accounts across instances in the same way the rel="me" links work in account metadata. identities indicate which pixelfed identities are theirs in some publicly indexable way, so if someone is trying to use it for abuse by eg. signing in across hundreds of pixelfed instances it would be very visible and moderatable.

or, I guess as a question, why as a centralized repository rather than as account-level metadata?

@dansup
really into this idea, it does raise questions with identity as you say. why not make it more explicit than a repository at a different level than instance identity? eg. a link between accounts across instances in the same way the rel="me" links work in account metadata. identities indicate which pixelfed identities are theirs in some publicly indexable way, so if someone is trying to use it for abuse by eg. signing in across hundreds of pixelfed instances it would be very visible and moderatable.

dansup

Pixelfed ships with a list of blocked email providers, mostly consisting of anonymous providers.

This works pretty good, though I need to update the list and allow admins to define their own, as well as disable it altogether.

Pixelfed does things a bit different, pushing boundaries and setting trends when it comes to dealing with spam, it feels pretty cool 😎

github.com/pixelfed/pixelfed/b

ASTRELION

@dansup *cries in SimpleLogin* 🙁

Are these outright bans, or can the accounts be manually approved? I use email aliases for virtually everything, it's always frustrating when they get blocked entirely

dansup

I have ADHD and have a tendency to start new things (features, refactors, new projects) when I haven’t finished others

I’ve been trying to work on this and focus on shipping instead of working on the exciting new thing

As a result, many of my new endeavours that I’ve been working on (some for 2 years now) are reaching maturity and will finally be released soon (Groups, Stories, Push Notifications, Mobile app in app stores)

What an exciting era for @pixelfed 🚀

Show previous comments
Carl Heath

@dansup @pixelfed It is so impressive to see you do all this work. 💫

Severák

@dansup @pixelfed Pixelfed now will have Groups? Nice, I need to test it again.

dansup

Just putting the final touches on Sign-in with Mastodon! Gunna break the release date curse and just say soon™️

James J Malcolm

@dansup ship ship ship!
🚢 🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢🚢

SunnJax 🏳️‍🌈

@dansup I’m very much looking forward to this, but take the time needed to make it awesome. 🙂

Go Up