config.yaml 1.1 KB

12345678910111213141516171819202122232425262728
  1. title:
  2. uid:
  3. pwd_bcrypt:
  4. cookie_secret:
  5. timezone: Europe/Paris
  6. links_per_page: 100
  7. ban_after: 4
  8. ban_seconds: 14400
  9. url_cleaner:
  10. - regexp: '[\?&]utm_source=.*$'
  11. replace_all_string: ""
  12. - regexp: ^(?i)(?:https?://)?(?:(?:www|m)\.)?heise\.de/.*?(-\d+)(?:\.html)?(?:[\?#].*)?$
  13. replace_all_string: https://heise.de/${1}
  14. - regexp: ^(?i)(?:https?://)?(?:(?:www|m)\.)?spiegel\.de/.*?-(\d+)(?:\.html.*)?$
  15. replace_all_string: https://spiegel.de/article.do?id=${1}
  16. - regexp: ^(?i)(?:https?://)?(?:(?:www|m)\.)?sueddeutsche\.de/.*?-(\d+\.\d+)(?:\.html.*)?$
  17. replace_all_string: https://sz.de/${1}
  18. - regexp: ^(?i)(?:https?://)?(?:(?:www|m)\.)?youtube.com/watch\?v=([^&]+)(?:.*&(t=[^&]+))?(?:.*)$
  19. replace_all_string: https://youtu.be/${1}?${2}
  20. posse:
  21. - pinboard_rename_to_activate: https://api.pinboard.in/v1?auth_token= <- get from https://pinboard.in/settings/password
  22. prefix:
  23. - mastodon_rename_to_activate: https://social.tchncs.de/api/v1/
  24. token: <- get access Token (only write:statuses) via new app at https://social.tchncs.de/settings/applications
  25. limit: 500
  26. prefix: