Syndicate code posts to Github Gists

This commit is contained in:
2024-03-05 20:34:34 +11:00
parent 56edde6ab5
commit 97c05d3f86
11 changed files with 84 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
Hanami.app.register_provider :syndication, namespace: true do
start do
register "mastodon", Adamantium::Syndication::Mastodon.new
register "gist", Adamantium::Syndication::Gist.new
register "blue_sky", Adamantium::Syndication::BlueSky.new
register "raindrop", Adamantium::Syndication::Raindrop.new(api_key: "Bearer #{target["settings"].raindrop_api_key}")
register "dayone", Adamantium::Syndication::Dayone.new(