Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Hmm, has anyone made an #activitypub compatible server for play-by-post RPGs?

General Discussion
2 2 2

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @badtuple I've debated making something that does that, but haven't ever pulled the trigger on it. I don't know of any other projects in this regard, but projects like NodeBB (and the threadiverse more generally) have done interesting work that could be adapted.

    read more

  • Hmm, has anyone made an compatible server for play-by-post RPGs? That way people can follow along if they want, people could run their own server if they wished, but mainly as an alternative to discord which is where so many modern pbp games are hosted.

    read more

  • @FinchHaven Thanks for chiming in. I appreciate it.

    read more

  • @FinchHaven I am second guessing my choice of WordPress. I have been reading where people say one post or share from someone with a lot of followers will bring down your site each time... I am hoping, although some of the reading was recent, that devs have fixed it since then.

    I am confident that the issues I am having is more towards my current, default WordPress configuration and not network related or even WordPress ActivityPub's fault.

    read more

  • @paul

    Good luck with it

    Those were just my first, easiest thoughts

    Dropped out of network troubleshooting a good long while ago...

    cc @hashtaggames

    read more

  • @FinchHaven Thanks. I changed the wording to the post. I just started troubleshooting the issue this morning and did a few things until I can break it down later overnight and troubleshoot more.

    I added caching and going to add persistent object caching soon. I also notice php had low memory permissions so it was bottoming out quickly. I fixed that.

    The WordPress instance sat idle until mid-February which explains why the jump is Latency.

    I'm hosting on a VPS server through Namecheap at this time. Ubuntu 22.04, 12 GB ram, 8 CPU cores.

    @HashTagGames

    read more

  • @hashtaggames

    Also, to look at your instance on Fediverse Observer, your Latency more than doubled between January 2025 and February 2025, from 131.97 to 473-490 ms, and hit a peak of 757 ms on Jan 2026

    Most recently: 538 ms @ Mar 2026

    Here: https://fediverse.observer/hashtaggames.online

    cc @paul

    read more

  • @hashtaggames

    "Recently, when I post the new post at 9PM est, it has taken 15 minutes or longer for all instances on the to get it ... why is because my enabled site is getting due to the sheer number of instances trying to communicate with us when the game goes out."

    I often check for details when I see posts like this, in the off-hand chance I might learn something

    You seem to be on a single-user host via Namecheap

    Assuming you're posting using TCP/IP, each packet you send out to the Fediverse requires an ACK packet in return before it continues, and most transactions involve scores of packets

    Have you used something like Wireshark to look at exactly what you're sending out and receiving?

    I doubt you're being DDoSsed so much as your very small instance is suddenly talking to tens of thousands of other instances, each one of which is trying to talk back to you all at once

    Shorter: the Internet is not instantaneous

    cc @paul

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    3 Views
    As part of my book “ActivityPub: Programming for the Social Web“, I created a coding example to show how to program for the ActivityPub API. ap is a command-line client, written in Python, for doing basic tasks with ActivityPub.For example, you can log into a server using this command:ap login yourname@yourserver.exampleOnce you’re logged in, you can follow someone:ap follow other@different.exampleOr, you could post some content:ap create note --public "Hello, World"This isn’t enough to have a real social networking experience, but I think it’s pretty useful for testing an ActivityPub API server, or automating some repetitive tasks.I should note quickly here that not all ActivityPub servers support the ActivityPub API. It’s an under-utilized part of the ActivityPub standard. In particular, Mastodon, Threads, Flipboard, and other services don’t support the API. There’s a pretty good list of servers and clients that do support the API in this Codeberg issue.Suffice it to say, unless you’re actively working with one of those platforms, or you are writing your own, you’re not going to get much use out of ap. It will probably give you an error message like “No OAuth endpoints found” if it can’t use the service.Refreshing the projectI’ve never packaged ap for distribution; it was always supposed to be example code. But given the recent interest in the ActivityPub API, including the work going on in the ActivityPub API task force, I decided to get it into shape for installation by developers working on other apps. My friend Matthias Pfefferle of Automattic asked me about it when we were at FOSDEM this year, and I was embarrassed to see how difficult it was for him to use.So, I’ve made two big upgrades to the package. The first was actually making it a package, and distributing it! I upgraded the package management framework to uv, which seems like a good bet for now, and pushing the application to PyPI, the Python Package Index. It’s visible at https://pypi.org/project/activitypub-cli/ now. (Note: different package name from the command name! The PyPI “ap” package name was taken a while ago.)You can now install the application in one shot with this command on a computer that has Python on it:pipx install activitypub-cliYou can test that the application installed correctly in your path by running the version command:ap versionThat should show the same version as is currently on the pypi.org page for the project.The second change was implementing the current OAuth 2.0 profile best practices. I’ve upgraded the login flow so it tries a lot of different options for identifying itself to the server: CIMD, FEP d8c2, and Dynamic Client Registration. It tries to do them in preferential order; it uses permanent, global client identifiers before dynamic ones.Help me testI’m especially interested in testing this command-line client against other servers. If you’re developing an ActivityPub API server, please install the ap command and try it out against your (development!) server. Report a bug if it doesn’t work well, or send me a DM at @evanprodromou if it works OK. Given time, I think ap can be a useful first smoke test for ActivityPub API implementations.
  • 0 Votes
    1 Posts
    10 Views
    ich werde nie verstehen warum 2025 so viele #programmierer extra den komplizierten weg wählen. sehe es hier bei #activitypub - viele bibliotheken mit hunderte von files ...ich habe das gleiche mit einfachem php geschafft und unter 100 zeilen code....und jetzt kann ich posts senden und empfangen
  • Auto-import of deny lists

    Technical Discussion dni activitypub iftas
    7
    0 Votes
    7 Posts
    48 Views
    Just spend the tiny bit of extra time and implement basic support for federation policies. Keep track of data snd where it comes from, such that you can react to changes over time
  • 0 Votes
    9 Posts
    50 Views
    @reiver @silverpill @wjmaggos we have spent 40 years educating internet users about how domain names work. They know how email federation works; they know how web federation works. They know what it means to own your own domain and to use someone else's domain.