Eva bc7a4cf8c5 client/markdown: prevent arbitrary tags
Introduced in 0137cf383a, anywhere that
allows markdown e.g. comments allowed any arbitrary tag that wasn't
explicitly banned by DOMPurify, since it cannot know whether it came
from our Markdown renderer or from the user.
People could add arbitrary <style> tags that mess with the page,
<button>s etc. It did not lead to XSS since DOMPurify strips it,
but still unacceptable.
escapeHtml is identical to the old behavior of marked.js sanitize=true
2025-04-04 06:58:24 +02:00
2022-05-02 13:04:07 +02:00
2020-03-06 10:29:03 -05:00
2016-09-08 18:09:24 +02:00
2023-08-17 20:58:09 +08:00

szurubooru

Szurubooru is an image board engine inspired by services such as Danbooru, Gelbooru and Moebooru dedicated for small and medium communities. Its name has its roots in Polish language and has onomatopeic meaning of scraping or scrubbing. It is pronounced as shoorubooru.

Features

  • Post content: images (JPG, PNG, GIF, animated GIF), videos (MP4, WEBM), Flash animations
  • Ability to retrieve web video content using yt-dlp
  • Post comments
  • Post notes / annotations, including arbitrary polygons
  • Rich JSON REST API (see documentation)
  • Token based authentication for clients
  • Rich search system
  • Rich privilege system
  • Autocomplete in search and while editing tags
  • Tag categories
  • Tag suggestions
  • Tag implications (adding a tag automatically adds another)
  • Tag aliases
  • Pools and pool categories
  • Duplicate detection
  • Post rating and favoriting; comment rating
  • Polished UI
  • Browser configurable endless paging
  • Browser configurable backdrop grid for transparent images

Installation

It is recommended that you use Docker for deployment. See installation instructions.

More installation resources, as well as related projects can be found on the GitHub project Wiki

Screenshots

Post list:

20160908_180032_fsk

Post view:

20160908_180429_lmp

License

GPLv3.

Description
Szurubooru is an image board engine inspired by services such as Danbooru, Gelbooru and Moebooru dedicated for small and medium communities. Its name has its roots in Polish language and has onomatopeic meaning of scraping or scrubbing. It is pronounced as shoorubooru.
Readme 18 MiB
Languages
Python 52.1%
JavaScript 33.9%
Smarty 8.2%
Stylus 5.2%
Dockerfile 0.3%
Other 0.2%