No description
Find a file
2021-03-05 15:50:44 +01:00
doc improve doc 2021-03-05 14:17:37 +01:00
infrastructure/docker initial 2021-02-12 15:47:14 +01:00
public style html 2021-03-05 14:51:10 +01:00
src now the browser works 2021-02-26 17:56:49 +01:00
.gitignore ad browser integration 2021-02-26 16:37:37 +01:00
.gitlab-ci.yml add ci 2021-02-23 18:32:00 +01:00
LICENSE.md initial 2021-02-12 15:47:14 +01:00
package.json add ci 2021-02-23 18:32:00 +01:00
project.clj implement jvm platform 2021-02-26 14:44:02 +01:00
README.md one more try 2021-03-05 15:50:44 +01:00
shadow-cljs.edn bind generate to button 2021-02-26 17:32:34 +01:00

{::options parse_block_html="true" /}

k8s-mastodon-bot

{:transform [{:source {:source-type :twitter ;; optional, defaults to false :include-replies? false ;; optional, defaults to false :include-rts? false ;; Replace Twitter links by Nitter :nitter-urls? false ;; accounts you wish to mirror :accounts ["arstechnica" "WIRED"]} :target {:target-type :mastodon ;; optional flag specifying wether the name of the account ;; will be appended in the post, defaults to false :append-screen-name? false ;; optional visibility flag: direct, private, unlisted, public ;; defaults to public :visibility "unlisted" ;; optional boolean to mark content as sensitive. Defaults to true. :sensitive? true ;; optional boolean defaults to false ;; only sources containing media will be posted when set to true :media-only? true ;; optional limit for the post length. Defaults to 300. :max-post-length 300 ;; optional signature for posts. Defaults to "not present". :signature "#newsbot"} }]}

{:auth {;; add Twitter config to mirror Twitter accounts :twitter {:consumer_key "XXXX" :consumer_secret "XXXX" :access_token_key "XXXX" :access_token_secret "XXXX"} :mastodon {:access_token "XXXX" ;; account number you see when you log in and go to your profile ;; e.g: <a href="https://mastodon.social/web/accounts/294795" class="link">https://mastodon.social/web/accounts/294795</a> :account-id "XXXX" :api_url "<a href="https://botsin.space/api/v1/" class="link">https://botsin.space/api/v1/</a>"} :tumblr {:consumer_key "XXXX" :consumer_secret "XXXX" :token "XXXX" :token_secret "XXXX"}}}