summaryrefslogtreecommitdiff
path: root/activitypub.rb
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-06-21 14:32:45 +0200
committerpdp8 <pdp8@pdp8.info>2023-06-21 14:32:45 +0200
commit343998896e4d4795eefcfc5fa04fb0339f38a8fe (patch)
tree13db5358a9606a3556505bca4dea8ef7ce884b9e /activitypub.rb
parente1a5a8283ff69eb906d4c93b31d8cec1fae1b6c5 (diff)
send_signed fixed!
Diffstat (limited to 'activitypub.rb')
-rw-r--r--activitypub.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/activitypub.rb b/activitypub.rb
index fd8583e..9b63b46 100644
--- a/activitypub.rb
+++ b/activitypub.rb
@@ -1,22 +1,7 @@
-# TODO
-# server
-# fix failed follows
-# federation
-# boost
-# thread expansion
-# include own posts in threads
-# implement remaining activities
-# test with pleroma etc
-
-# client
-# post form
-# parse hashtags in post
-# client post media
require 'uri'
require 'base64'
require 'digest/sha2'
require 'sinatra'
-require_relative 'helpers.rb'
USER = "pdp8"
WWW_DOMAIN = "pdp8.info"
@@ -32,5 +17,6 @@ set :session_secret, File.read(".secret").chomp
set :default_content_type, 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'
set :port, 9292
+require_relative 'helpers.rb'
require_relative 'server.rb'
require_relative 'client.rb'