diff options
author | Anthony Wang | 2023-01-18 15:46:59 -0500 |
---|---|---|
committer | Anthony Wang | 2023-01-18 15:46:59 -0500 |
commit | c9102fab30b7d9b24343d52429b1302bfffcf6e3 (patch) | |
tree | fe6d4abaf18c2aaf21d81970f7cfe5a795597ecb | |
parent | 0dbfb50f15a5cfaa7a536354b1e7f6ffeba074e5 (diff) |
Suggest using Git for keeping track of read messages
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ That wasn't so bad, was it? (sobbing sounds) Alright, time for the real deal. Start up `python server.py` on your server, and reverse-proxy it so you actually have TLS. If you want to customize the port or whatever, just change the source code. -Now on your client device, open up your favorite C2S ActivityPub client... oh wait... there aren't any! Welp, you'll just have to settle for reading the [AP spec](https://www.w3.org/TR/activitypub/), writing some homemade JSON, and figuring out how `python client.py` works. That's rough, buddy. You'll have to learn how to manually write `Note`s, manually accept follow requests, and more! You can find some examples in this repo. HTTP signatures are generated client-side, for no good reason other than it works. If you want to view your unread messages, just `curl` your inbox and pipe it into `jq`. Easy as that. (screaming in pain sounds) +Now on your client device, open up your favorite C2S ActivityPub client... oh wait... there aren't any! Welp, you'll just have to settle for reading the [AP spec](https://www.w3.org/TR/activitypub/), writing some homemade JSON, and figuring out how `python client.py` works. That's rough, buddy. You'll have to learn how to manually write `Note`s, manually accept follow requests, and more! You can find some examples in this repo. HTTP signatures are generated client-side, for no good reason other than it works. If you want to view your unread messages, just `curl` your inbox and pipe it into `jq`. You can even use Git to keep track of which items in your inbox you're read since it's all just some simple plaintext. Easy as that. (screaming in pain sounds) Enjoy your new "extremely hardcore" ActivityPub server!!! 🎉😎🚀🙃🥳 @@ -37,7 +37,7 @@ Enjoy your new "extremely hardcore" ActivityPub server!!! 🎉😎🚀🙃🥳 Since Fuwuqi's code is super duper easy to read and extend, the following features are left as an exercise to the reader: - Multi-user support (hint: dynamically generate `.well-known/webfinger` instead of serving a static file) -- S2S server-side processing +- S2S server-side processing for likes and announces - Deleting posts - JSON-LD (hint: don't do it, your brain will thank you) - Lots of pain |