terribleplan

joined 1 year ago
[–] terribleplan@lemmy.nrd.li 3 points 1 year ago* (last edited 1 year ago)

Things don’t get backfilled, so until a new action happens on an old post/comment/etc they won’t show up on your instance. New things should make their way in eventually though.

Taking the link of a specific post/comment from the community instance and searching for it from your instance should populate it on your instance, just like you probably had to do to get this community to show up so you could subscribe/post at all.

There are backfill tools/scripts, but unless you really want old posts I wouldn't use them. It unnecessarily increases the load on already struggling popular/overloaded instances like lemmy.world.

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago

As someone who hosts a bunch of other stuff already including my own email (because I am a madman), does stuff like this as a job, has developer experience, etc. it was simple.

Figuring each of these things out (and how they all work together) for the first time was a hell of a journey.

[–] terribleplan@lemmy.nrd.li 11 points 1 year ago* (last edited 1 year ago) (2 children)

Asklemmy isn't really a place to ask about lemmy, it's for asking general questions to users of lemmy, jut like you wouldn't ask for Reddit support in /r/askreddit.

Regardless, this question gets asked and talked about in the !selfhosted@lemmy.world community fairly often, here is a (slightly edited) comment I made a while back.

You will need a domain name, you can buy one from a registrar such as hover or namecheap (for the love of all that you consider holy do not use godaddy).

You will need a way to expose the server that you set up via port forwarding or similar on your network.

You will need to set up DNS records on the domain you buy to point to your home IP. You may want to figure out a different way to avoid just handing that information out, cloudflare can help with that. You will want to make sure the DNS records get automatically updated if your IP address changes, which is not uncommon for residential ISPs.

You will need to figure out how to get an SSL certificate, Let’s Encrypt will issue them for free, cloudflare gives you one if you use them as a reverse proxy.

Some of this would likely be easier to do on a cloud provider like digitalocean or linode and could be done reasonably cheaply.

These are all common things for setting up any website, so lemmy docs won't cover them. In addition to those (this answer was just addressing "how to get a URL") you will need to install and configure lemmy, lemmy-ui, postgres, and pictrs somewhere (the join-lemmy docs cover this well).

If you want your instance to send emails you will have to figure out how you want to do that (too many options to cover in this answer).

When 0.18.1 gets released if you want captcha you'll probably have to figure out an mCaptcha provider or set that up yourself.

Not to mention thinking about backups, high availability, etc, etc.

As far as hardware to host on you could get away with like ~$10/mo on most any cloud provider, run it on a Mini-PC in your closet, etc. My instance uses 1-2 GB of RAM, ~13GB of disk (and growing a few hundred MB per day), and ~30% of a CPU (an old i5).

Best of luck.

[–] terribleplan@lemmy.nrd.li 3 points 1 year ago

Posts will make their way over when someone interacts with it (comments/votes on it). I think old comments may make their way over under the same conditions. Old votes will not make their way over.

You can search for a post or comment to force your instance to load it (copy the federation link, the rainbow-web-looking icon) just like you would do for communities.

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago

Not sure if it's relevant as pretending to be form Germany may be the point here, but "Tor clients" aren't "from" anywhere you can know, that's just where the exit node is located.

[–] terribleplan@lemmy.nrd.li 12 points 1 year ago (2 children)

They have been tuning the algorithm for that in the past releases, so may be related to that. Also, there is/was a bug where if you don't restart lemmy (on the server) regularly stuff will get stuck at the top of hot and/or active.

[–] terribleplan@lemmy.nrd.li 2 points 1 year ago

I'd be glad to help. The more people actually run their own mail the harder it gets for the big players to shut us out, haha.

[–] terribleplan@lemmy.nrd.li 3 points 1 year ago (2 children)

Yeah... they really shouldn't be shipping that mail relay at all IMO, just leads to confusion.

I do run my own mail and assuming it's reasonably low volume would be more than happy to get you set up to use my mailserver instead of relying on something like sendgrid or postmark.

Alternatively if you want some help getting your own set up in a dockerized way I run my mail using docker-mailserver and if only set up for outgoing mail it is pretty easy to run, though you may will run into deliverability issues...

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago (4 children)

It looks like you aren't signing your mail with DKIM, don't have SPF set up right, don't have a DMARC policy, and don't have RcRDNS, all of which basically any mail provider will require from you to even consider accepting your mail. Basically without all of that literally anyone can pretend to be whatever.com and send email from it.

What mail provider are you using?

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago (6 children)

I got an email when I signed up as a test. It is most likely spam filters and/or improper email server setup. I will try to help debug in a bit.

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago

With the specific concern/idea you are talking about, I have suggested the use of a system like (or just ripping-off wholesale) the Mastodon Content Warning system in a discussion where someone was advocating a "porn" tag in addition to the NSFW one, which I thought was not going to be flexible enough.

[–] terribleplan@lemmy.nrd.li 3 points 1 year ago (2 children)

First, it's worth noting that ActivityPub is built on ActivityStreams which is in turn built on ActivityVocabulary. It is necessary to read all of these to have a full understanding of what the stuff in AP actually means. It is also worth reading up on LDN and JSON-LD as those are also used in the spec.

I think you are right in AP being a bit more oriented toward social media in the vein of twitter or facebook and less like reddit, but really a lot of it comes down to how an AP implementing server interprets the objects it receives. I'm not sure if anywhere near this level of customization would be possible if everything spoke pure AP (which does have a client-server interface, not just a server-server federation interface) rather than your clients interacting with bespoke "lemmy" or "mastodon" or whatever APIs.

As far as lemmy goes I think they may have extended the objects a little, as there is a lemmy NS included in results, which is what most implementations including big ones like Mastodon do to introduce new fields (such as content warnings in the case of Mastodon) to things like a Note. Lemmy adds info like postingRestrictedToMods, matrixUserId, and moderators.

As far as objects:

  • A community is a Group.
  • A post is a Page with an audience of the community and an attributedTo of your user (to the community and special public endpoint).
  • A comment is a Note that is inReplyTo its parent (post or comment), to the special public endpoint and CCing the author of the parent and the community.

As far as actions, I am less sure because it is less easy to inspect without reading the lemmy code or setting up something to get federated to, but AFAICT:

  • Upvotes and downvotes are Like and Dislike
  • Create is used when you as a user want to make a post in a community
  • Announce is used when a post actually gets made in a community
  • I think Announce is used for other things and might explain some of how comments work as well, as a post seems to live on the community instance but a comment seems to live on your instance.
view more: ‹ prev next ›