(
 (title string)
 (uid string)
 (pwd_bcrypt string)
 (cookie_secret string)
 (timezone Europe/Paris)
 (links_per_page 100)
 (ban_after 4)
 (ban_seconds 14400)
 (url_cleaner (
  ((regexp "[\\?&]utm_source=.*$")
   (replace_all_string ""))
  ((regexp "^(?i)(?:https?://)?(?:(?:www|m)\\.)?heise\\.de/.*?(-\\d+)(?:\\.html)?(?:[\\?#].*)?$")
   (replace_all_string https://heise.de/${1}))
  ((regexp "^(?i)(?:https?://)?(?:(?:www|m)\\.)?spiegel\\.de/.*?-(\\d+)(?:\\.html.*)?$")
   (replace_all_string https://spiegel.de/article.do?id=${1}))
  ((regexp "^(?i)(?:https?://)?(?:(?:www|m)\\.)?sueddeutsche\\.de/.*?-(\\d+\\.\\d+)(?:\\.html.*)?$")
   (replace_all_string https://sz.de/${1}))
  ((regexp "^(?i)(?:https?://)?(?:(?:www|m)\\.)?youtube.com/watch\\?v=([^&]+)(?:.*&(t=[^&]+))?(?:.*)$")
   (replace_all_string https://youtu.be/${1}?${2}))
 ))

 (posse (
  (Pinboard
    ((endpoint
      "https://api.pinboard.in/v1?auth_token=    <-  get from https://pinboard.in/settings/password")
     (prefix ""))
  )
  (Mastodon
    ((endpoint https://social.tchncs.de/api/v1/)
     (token "<-  get access Token (only write:statuses) via new app at https://social.tchncs.de/settings/applications")
     (prefix ""))
  )
 ))
)
