Mastodon v4.0.0 Release Candidate
github.com
github.com
What if there was a CloudFormation stack that quickly brought up Mastodon on API Gateway + Lambda + SQS + S3 + DynamoDB? Costs nothing if you don't post or follow anybody, with slowly rising costs as you use Mastodon more, and basically no ops concerns? Wouldn't that eliminate most of the technical barriers (cost, ops hassle, albeit still some setup hassle) for promoting federated social?
Sure, but on a personal level, that's still very, very cheap, almost without concern for how much you follow. CloudFront and API Gateway are pennies per million requests. SQS usage would probably fit in the free tier. DynamoDB, if implemented with a single-table design, would probably cost no more than a couple of bucks, and storage would probably fit in the free tier. You can use IAM policy on pre-signed URLs to restrict the maximum object size of an object that someone is sending you, as well as implement effective rate limiting and automatic expiration with lifecycle policies that keep costs under control.
Of course, costs could expand if the user wants to keep an infinite history, but that's their choice, by design.
256 persistent (prefix) IPs is supposed to be the bare minimum for residential customers !
https://www.ripe.net/publications/docs/ripe-690#4-2-2---48-f...
Ops is good q, based on my observation, most of these implementations has a Dockerfile at best, CloudFormation/K8s is very rarely considered. And probably bc where this community was originated from, Amazon is pretty much suggested against.
it is able to run properly on a pi so the performance is not a problem
(The number of "X doesn't work with GSL" issues is mildly worrying, and migrating from Pleroma to GSL is going to make me insane. But hope, nonetheless.)
if your use case is individuals/family then telegram/whatsapp/imessage groups are more than enough.
If you host email and a family name DNS/domain - that's still "internet scale" with 3 users?
Does a single user server exist? I don't want to host for others, but would like to interact with a few people that have migrated from Twitter.
Are there any resource light servers that can be deployed as a container with a single config or env file that doesn't require many manual commands against a container instance?
That said, I’ve tried supporting both DynamoDB and an RDBMS with the same software and it was a pain, and this was for something with a less complicated schema then Mastadon. I think what’s missing here is really a scale-to-zero, serverless RDBMS (maybe Supabase or Neon fit the bill?)
You can get a year worth of 2/3/4 GB ram servers for quite cheaper than heroku or linode.
I have a bunch of servers running and they are not bad.
Like the other commenter said, pleroma is a good lighter alternative and it can be run on raspberry pi if you want
$6 will get you 4 cores, 8GB of RAM and 200GB of storage. If you need more storage, find a cheap S3 host and use that with Mastodon for file storage.
I don't quite see the point of going Amazon specific with an open API like this but I'm sure you can implement ActivityPub using whatever Amazon offers. You'll probably start racking up a bill quite quickly though. I don't see how using AWS is possibly a lower technical barrier when there's a docker-compose file ready to use already.
Pretty reasonable, from who though? Also do they support IaC so that you can tear down and rebuild automatically?
Wow, where do you get that?
- https://contabo.com/en/vps/ (they used to have a reputation for overprovisioning, but stable service)
- https://www.hetzner.com/cloud (they asked me for my ID photos for verification, but otherwise one of the better options)
- https://www.time4vps.com/?affid=5294 (affiliate link, I use them currently for all of my long term hosting)
Another commenter suggested lowendbox, which is a good option for scoping out offers, but sometimes companies just take the money and run off (as happened to me once personally), generally look at whether the company that you want to become a client of has been around for a while and hasn't recently changed hands.Also, you can't suggest that everyone should run 4 vCPU/8 GB RAM. Sure, 99% will never need more than that. The 1% who go viral will. If those people have 4/8 servers, because that's what was recommended, then anybody who goes viral will have their server die a fiery death. Behold, the social network's reputation will be that virality is a kiss of death. Watch as everyone leaves in droves.
Federated social needs federation AND spike resilience. Serverless handles your fifteen minutes of fame with ease at a small premium. Discount VPS providers do not.
I tried a few instances and none of the UIs clicked with me very much.
With themes, I not only mean custom colors and fonts. I mean custom templates, so I can rearrange the position of elements and leave out some elements altogether.
"there are quite a few frontend compatible with Mastodon API"?
Isn't the Mastodon API the ActivityPub API?
Of course one could write a new ActivityPub application from scratch.
But my question is: Can the Mastodon templates be easily changed?
My question is rather if the codebase has a template directory, where one could change the templates.
And if the template format will stay stable, so that custom templates won't break in the future.
Mastodon is an ActivityPub client.
If you write a new application from scratch that also uses the ActivityPub protocol, like Pinafore, it is not a frontend for Mastodon. It is another ActivityPub client, right?
You register with a given Mastodon instance which speaks ActivityPub to other servers which may or may not be Mastodon instances as well.
Now your home Mastodon instance also serves a React frontend which is technically acting as an OAuth2 client that speaks to the backend via REST APIs, compared to say: Server-side rendered HTML
Similarly, mobile apps connecting to your preferred instance are also OAuth2 clients.
In that sense, you can use a different frontend to speak directly to the REST APIs offered by your Mastodon instance of choice.
This all being one level above ActivityPub itself of course.
In a literal sense, your username and password / authentication tokens live on that server and is unknowable to other servers.
You might imagine that if there was federation of accounts than any random user could simply eat up passwords/password hashes.
That said, you can presumably use any client as long as it uses the APIs of the home instance.
You can browse other instances and do a remote follow however where that instance calls back to your home instance to initiate the follow action but it requires you telling the remote server what your full ID is (@Timja@home.instance) so it knows where to call back to
I think this is where the confusion stems from, the way I understand it:
Mastodon is a server that implements the federation part of the ActivityPub protocol to exchange objects with compatible server software. It has functionality which exceeds the ActivityPub client-to-server protocol, which it doesn't implement, and opts to instead have its own client API. [1]
So if you were to write an application using the ActivityPub C2S protocol, you could not directly communicate with a Mastodon server, but could interact with objects created by a Mastodon server through another server software implementing both the federation and C2S protocol.
So in that sense they are Mastodon frontends because they probably use the Mastodon specific API instead of the ActivityPub C2S protocol.
Here is for example a list of implementations which includes whether the client-to-server protocol is supported [2].
[1]: https://github.com/mastodon/mastodon/issues/10520 [2]: https://activitypub.rocks/implementation-report/
Maybe we could call the Mastodon server software an "ActivitPub node" to make it clearer?
So Pinafore is not an ActivityPub node, but instead it is something that talks to a Mastodon server?
No... not at all
there's been a long series of mimd of insensitive counter-community decisions gargaron has forced upon Mastadon, such as greatly concealing the local timeline. Instead of being a local community with outward ties, this has made mastadon & being a member of a particular server a far less local, community-based, explorable phenomenon.
Why don’t we all just disconnect from social media (esp Twitter) for a few years, touch grass (while the stuff still exists) and then come back for the metaverse refreshed and grounded in reality like it’s 1990 and we just invented the internet. Those were good times.
I hate and am truly tired of America’s three premier Twitter narcissists (I bet I don’t even have to name them and you’ll know), but this “cry about Twitter and leave it” meme all feels like a groupthink knee jerk at its root, and then the “let’s move to fediverse” meme feels utterly thoughtless. Trolls are the internet, people turn to sociopaths the second they touch the net. It’s hyperbolic, but it’s not unfair. Trolls are on fediverse too, they cannot be escaped without several orders of magnitude additional energy injected into the system. If management alone and a desire to silence trolls is what this is all about, I’ve found that just being disconnected is an immense sea of peace, the one place they truly cannot get you. Social media is genuinely just a gigantic psy-op at this point anyway. Why even bother to participate and take it seriously?
Is this a genuine question? Because it depends. Some people/groups run their own server. Others run free servers, kind of like people ran IRC servers. Some pool money together to run a server. Some are run by NGOs. One I saw was charging around $2 a month, but would use any profits to plant trees. I know it's not really polite to call out people for a lack of effort on HN, but all that information that I just gave to you, I got from browsing the server section of join mastodon or whatever it was called for like 5 seconds. It took you longer to wonder about this stuff, than it would've taken you to actually find out.
I don't want to come off as advertising mastodon or the fediverse. I just think the payment model is actually quite good and that there are more serious concern. Like what happens with your "twitter" handle if you've joined a server that goes rogue or shuts down. You can solve this by hosting your own mastodon server on your own domain or by joining a server run by some sort of established organisation, of which there seem to be very few. I like the concept personally, but I can also setup a self-hosted serve, or alternatively spin up a vps fairly easily, as can a lot of people here on HN. That's probably quite a barrier for most twitter users though.
It was a genuine question, because I didnt know the answer, but the effort it took to write all that out is because I’m trying to make a point. Additionally, it also didn’t require much effort to imagine theoretical models for how it, or any platform covers operating costs: Decentralized BYOServer, Ads, Subscriptions, User data markets.
I just don’t see it reaching scale without not grinding through people unnecessarily. And with the planet gently cooking itself stupid, I don’t understand how building YetAnotherSocialNetwork™ is a priority (which I know you aren’t advertising for).
I think we should all just let Elon run Twitter into the ground, and take it as the win it secretly is, and quit socializing on the internet (which I know will never happen).
Unlike a blog or something else you make on your own, it'll all be semi-connected though.
While it’s not impossible to pull off a coup against corporate owned social media, there are so many places where fediverse counts as parasitic competition that we basically need to have an open-source eternally-libertarian RISC-V shop at the scale of AMD to have a fighting chance of building a truly unbiased fediverse.
We know that content moderation cannot be done at scale. That why Facebook etc are such hellscapes; there is no algorithm in existence that a clever human won't figure out how to game.
Content moderation at human scales, however, is not as hard. I participated in many online forums which were run by one or a few moderators who policed the content with some auto filters for spam, and their own eyes. Some complained about the work, most just got it done and the forums worked fine, no big algorithms or star chamber councils to decide on what they do.
So, in answer to "why the fediverse," my answer is that if we break up the large platforms into a bunch of small forums under the control of only human moderators, there is every reason to believe that content moderation will become a great deal more possible and effective, and we will get our old internet back - the one based on protocols not platforms.
Reddit 2.0
Not really on ActivityPub either at the moment, I think I have an account on one of the big Mastadon servers but I'm kind of over that whole interaction model. Considering putting up a blog of some sort that federates, cause I do miss telling the whole internet my opinions on a certain level, and I think we do need that global connection web, on some level, to continue to exist. But the infrastructure can't belong to any individual man, or even be under any individual man's control. Or a few men. That's the biggest problem that needs to be solved first, in my opinion.
edit: I mean, even if we posit your Reddit comparison, wouldn't you agree that Reddit does a better job at moderation than Twitter or Facebook, and that that comes down to having more human moderators making moderation decisions? That seems like a fairly uncontroversial take, to me.
Also, this is like with dictatorships : yes, you can get lucky with an enlightened despot, but even those don't last long, and it becomes difficult to deal with a too entrenched power once it turns ugly.
The goal is to allow for example a rural village to organize itself, make dinner plans, dating, doctor's appointments, and so on, using a local wifi mesh network and one computer. There is no need for all the signals to go to Zuck's FB or Elon's TW server farms in California. People need to have their own software. If you’re interested, here is more on why it’s needed:
https://qbix.com/blog/2021/01/15/open-source-communities/
If you want to try it yourself:
https://github.com/Qbix/Platform
If you want to play around with it, it’s free to use. The platform is ready for use but needs a lot more tutorials and needs to be packaged for hosting companies…