this post was submitted on 09 Jul 2023
13 points (78.3% liked)

Asklemmy

43392 readers
1825 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

My idea is this: I just want to send to a server like this a request from my domain name and username, but I don't want to run a full instance. Is this technically possible?

you are viewing a single comment's thread
view the rest of the comments
[–] marsara9@lemmy.world 5 points 1 year ago (14 children)

There are APIs that you can use to post and comment, etc... But there has to be an instance at that domain.

That's how most of the mobile apps work btw, they just send a network request direct to lemmy.world etc... Saying that iopq wants to create a post with this title and this content....

But there's no need for your own personal domain name in this scenario, you just need an account on the server that you're trying to post or comment to.

Not sure if that helps.

[–] iopq@lemmy.ml 0 points 1 year ago (13 children)

Why does there have to be an instance there? Who checks that?

[–] marsara9@lemmy.world 4 points 1 year ago (5 children)

So you can't just send data from a domain. There has to be a service running behind that domain name to do something.

Without a server, it'd be like asking "why do I need tires on my car?". Well it's not going to go anywhere without them.

Now this could be a private instance with only you as the single user. And it could federated with the rest of the fediverse. But you still have to run some software to do that.

Now in theory someone I guess could come up with a slim version of Lemmy that only has a single user, and you can't post or comment directly to that instance but again something has to be running on a server behind that domain.

[–] iopq@lemmy.ml -2 points 1 year ago (1 children)

There has to be a service running behind that domain name to do something.

To do what, exactly?

[–] RustedSwitch@lemmy.world 3 points 1 year ago (1 children)

I mean this in the kindest way possible, but it’s clear you have no idea how server-based software works, like at all.

These patient people are being angels to you.

This sort of software is a very intricate web of programs talking to other copies of itself. You can install your own copy of the program, but a copy of the program is 100% required, even if it’s just you using it.

[–] iopq@lemmy.ml -1 points 1 year ago (2 children)
[–] RustedSwitch@lemmy.world 4 points 1 year ago

You are either trolling these people, or by “web developer” you mean you are a literal spider.

[–] 4am@lemmy.world 2 points 1 year ago

Then you should understand why a server needs to exist to accept a post from you.

Unless you are saying “why can’t I send the API calls to Lemmy instances that cause a post from another domain to show up in one” and the answer is that posts aren’t pushed to other instances, they are pulled.

So you’d need to set up a listener that responds to requests for subscriptions and requests for post and comment updates and responds in kind when another instance that you wish to allow federation with) asks for updates and congratulations you’ve just re-invented the Lemmy server software.

load more comments (3 replies)
load more comments (10 replies)
load more comments (10 replies)