this post was submitted on 12 Mar 2024
28 points (93.8% liked)

Fediverse

27842 readers
179 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
28
submitted 6 months ago* (last edited 6 months ago) by MadBob@feddit.nl to c/fediverse@lemmy.world
 
  • Is it possible to use a hosting service I'm already paying for (strato.nl) and a domain I've already bought to host a Mastodon/Pixelfed instance? All the websites that encourage me to selfhost advertise a new hosting service to me with the price in dollars.
  • Furthermore, is it possible to start an account on this instance that can be followed via either Mastodon or Pixelfed and vice versa, or are they just unrelated? I can see accounts from pixey.org on my Mastodon Android app and I know you can post to Lemmy via Mastodon but I'm unsure on how it goes the other way.

Sorry if I've made your eyes roll but we all shat green once.

Edit: very happy with the responses, thanks all.

top 11 comments
sorted by: hot top controversial new old
[–] skullgiver@popplesburger.hilciferous.nl 7 points 6 months ago (1 children)

Hosting

Strato offers a bunch of services. If you're renting a VPS, you can definitely join the Fediverse. Just set up a subdomain (masto.yourdomain.nl) and follow the setup guide for any Fediverse service.

If you're renting shared hosting (i.e. a space to dump PHP and HTML files), you may be limited in what you can do. You'll need to pick a Fediverse server that can deal with running in such an environment. Strato does offer a bunch of programming languages (Ruby, Python) but services like Mastodon probably won't be compatible. I think Kbin might actually work, but that depends on the PHP addons and resource limits that Strato enforces. Many of these shared hosts have limits on things like IOPS and inodes, and you may run into that. Performance may also be suboptimal, as many shared hosts limit RAM and CPU time to a level where you can barely run WordPress. Make sure you have plenty of storage, I expect the basic plan with only 20GB of content to fill up quite quickly if you don't disable any caching.

If you don't know what a VPS is or don't know how to handle yourself in a Linux command line, you may be better off renting a specific Fediverse server from a company specialising in that.

Following

Most ActivityPub accounts can follow most other ActivityPub accounts. You can follow a GoToSocial account from your Pixelfed account and boost its posts so your followers on Akkoma and Mastodon can read it, or reply again mentioning your family on Friendica.

Lemmy, Kbin, and a few other Threadiverse services are oriented around subreddit-like communities with votes indicating order, and they're the biggest exception to the rule. Most Fediverse software is built around Twitter/Facebook style timelines rather than topics+replies. You can follow Lemmy communities on Mastodon, but the other way around doesn't work.

As for the apps: you'll need to use the app that fits your server. Many servers offer a Mastodon API, as Mastodon is the most popular ActivityPub server type, but you'll probably have a better experience with the native apps. Lemmy clients don't typically include Mastodon APIs and neither does the opposite work.

The app sporting the best cross-application support I've seen so far is Fedilab (Android app, free on F-Droid), sporting support for Mastodon, Peertube, and Pleroma, and any services exposing those APIs like (I believe) Pixelfed.

In theory, apps could use the ActivityPub C2S standard to interact with ActivityPub servers of any type, but in practice that API isn't implemented, as it's not very well-defined and ignores the reality that most ActivityPub servers are made with a certain bias (like "optimised for timeline", "optimised for sorting based on votes"). I do hope C2S becomes more popular in the future but for now it's kind of theoretical more than anything.

[–] MadBob@feddit.nl 1 points 6 months ago

Amazing, thank you.

[–] kersploosh@sh.itjust.works 4 points 6 months ago (1 children)

Viewing a Lemmy account's posts from Mastodon seems to work. Going the other way, viewing a Mastodon account's toots from Lemmy, does not work.

Pixelfed can see Lemmy and Mastodon accounts, but it does not show the posts or comments from those accounts. The reverse is also true: Lemmy and Mastodon can see Pixelfed accounts but not their content.

At least these were my results the last time I experimented with cross-platform interaction. Maybe there are some tricks I have not learned yet.

[–] thegiddystitcher@lemm.ee 2 points 6 months ago

Pixelfed only shows media posts, so if you're following a Mastodon account you will see any posts made with images attached but not text-only ones.

[–] Ategon@programming.dev 4 points 6 months ago* (last edited 6 months ago)

For the second, you cant follow accounts on lemmy but you can follow lemmy accounts from mastodon. (it will show both posts and comments the person makes as boosts)

Same for posting, you cant post so it shows up on mastodon since lemmy doesnt have hashtags but you can post and comment from mastodon (post by mentioning the community in the post and comment by replying to a post made on lemmy). Note on posting from lemmy to mastodon though is if you have a mastodon account that follows the lemmy account and comments on posts with hashtags that comment and the parent post will appear in those hashtag feeds, just looks spammy

[–] halm@leminal.space 3 points 6 months ago (1 children)

is it possible to start an account on this instance that can be followed via either Mastodon or Pixelfed

I just looked up your Lemmy profile in my Mastodon app and it looks like I can follow you at least. There's no visible post history though, so that might be a blank?

and vice versa

I'm not aware of any user follow feature in Lemmy? It's all centred around community subscriptions AFAIK. That doesn't mean it isn't technically possible — it's the same protocol as Mastodon etc — but if there is no UI option to follow each other, the question is sort of moot.

[–] thegiddystitcher@lemm.ee 2 points 6 months ago (1 children)

The blank feed is just because nobody from your Mastodon server was following this account yet. Works the same as following any other new-to-your-server Masto account in that respect, but it should start showing new posts made since you followed.

[–] halm@leminal.space 1 points 6 months ago (1 children)

Sheesh, Lemmy does have opinionated federation, huh?

[–] thegiddystitcher@lemm.ee 2 points 6 months ago

It's how both platforms (and I assume the rest of fedi) work. If you follow an account from Mastodon, that your server has never seen before, it'll be blank until new posts are made. That goes for other Mastodon accounts, Lemmy communities / users, Pixelfed accounts, PeerTube channels, etc etc.

If you subscribe to a Lemmy community, and your Lemmy server has never seen that community before, same thing. Blank until new posts.

It caused a lot of confusion and tech support last summer but now that most servers know about most other ones I guess it's not as common to run into these days :D

[–] johnydoe666@lemmy.dbzer0.com 3 points 6 months ago (1 children)

Not amateurish at all, but good questions. I’m not confident enough to answer your second question, but on your first question: yes, you can use the hosting service you already have. Given that you are renting a VPS that is. It looks like Strato is calling this “hosting”. Don’t use their “WordPress hosting” package for this though, as it won’t allow you to install the instance software.

[–] MadBob@feddit.nl 1 points 6 months ago

I actually use their WordPress package, so I take it that kaiboshes the whole operation? I can't just store it in the rest of the memory I've been allotted?