Toki - A C# Fediverse server.

Hi!

For the past ~2 months I’ve been working on my own implementation of an ActivityPub server, as a personal challenge. It’s finally come to the point where I could set up a public federation testing instance (testpilot.shinolabs.com) which surprisingly just works.

While it doesn’t have a frontend yet (due to my severely lacking skills), Toki supports the Mastodon API set, allowing most fedi clients to connect to it.

It’s been a wild journey going from barely understanding ActivityPub and ActivityStreams to having something that actually federates and allows me to talk with the wider Fediverse network. It’s been something I wanted to do since at least 2018, but only now really took the steps to properly attempt it.

I’d love to hear any suggestions or potential bugs people can find (contributions are also welcome ^^)!

Cheers :)

CyberTailor,
@CyberTailor@lemmy.world avatar

jan pi toki pona li pali e ilo la ni li pona tawa mi

isaac,
@isaac@lakora.us avatar

@prefetcher Very nice! I might switch my single-user server to something like this someday - it'd be nice to have something I know how to make changes to. Also looks like the database and cache dependencies all run through ASP.NET Core stuff so they could be replaced (although I know from experience that just because you're using Cosmos DB thru EF Core doesn't mean you can write your schema the same way!)

grant,

Something that I’d love to see in a fediverse server that exposes the client-to-server standard of creating statuses instead of just the Mastodon API

prefetcher,
@prefetcher@sh.itjust.works avatar

C2S is definitely planned in the future (even wrote a blogpost about it blog.nanoshinono.me/on-the-topic-of-activitypub-c…), wanted to get MastoAPI in first, only to have something with wider application support so I can more thoroughly test how the server functions :)

dameoutlaw,
@dameoutlaw@lemmy.ml avatar

Really enjoyed your blogpost. Would love to connect with you. This framework utilises C2S spec and resolves some of the issues with the spec github.com/assemblee-virtuelle/activitypods

activitypods.org

prefetcher,
@prefetcher@sh.itjust.works avatar

That’s real cool!

You can reach me on fedi @prefetcher, matrix @prefetcher:tchncs.de or XMPP prefetcher@hollow.capital :)

argentcorvid,
@argentcorvid@midwest.social avatar

Ooh wowee!

warmaster,

Dude, this is awesome! Thanks for doing this!

prefetcher,
@prefetcher@sh.itjust.works avatar

Thank you :)

douglasg14b,
@douglasg14b@lemmy.world avatar

I love this.

Especially being written in a language like C#. Which makes it incredibly accessible to work on, performant, and long-lasting.

prefetcher,
@prefetcher@sh.itjust.works avatar

Thanks :)

QuazarOmega,

That’s a big undertaking, congrats on the release!
Also totally felt that wanting to do something even for years and finally starting it for real

prefetcher,
@prefetcher@sh.itjust.works avatar

Thank you!!

DieguiTux8623,

What a beautiful project name! Won it all!

prefetcher,
@prefetcher@sh.itjust.works avatar

Honestly the name just kinda randomly crossed my mind as I had just bought a toki pona book back then. I thought it fit and I adopted the name for my project :)

Glad people like it too!

CyberTailor,
@CyberTailor@lemmy.world avatar

I planned to make a Mastodon client for KDE and name it “Kulupu”. But it was stalled and Tokodon appeared earlier.

wh0_cares,

mi lukin e ilo Toki la, mi sona e toki pona! nimi pi ilo Toki li pona tawa mi!

DieguiTux8623, (edited )
  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse@lemmy.world
  • rosin
  • Youngstown
  • khanakhh
  • ngwrru68w68
  • slotface
  • ethstaker
  • mdbf
  • everett
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • cisconetworking
  • magazineikmin
  • Durango
  • megavids
  • GTA5RPClips
  • anitta
  • tester
  • tacticalgear
  • InstantRegret
  • normalnudes
  • osvaldo12
  • cubers
  • provamag3
  • modclub
  • Leos
  • JUstTest
  • lostlight
  • All magazines