[help] [img] [forum]
[Catalog] · [Search] [News]
Post thread
Name
Email
Subject
Message
CAPTCHA CAPTCHA Challenge Click to refresh.
File
Password For post deletion.
Submit  
  • Helpful information is available in the visitor guide. Currently 28 unique user posts.
  • Supported file types are JPG, PNG and GIF.
  • Maximum file size allowed is 2MB.
  • Images greater than 250x250 will be thumbnailed.
  • Supported BBCode tags are b, code, i, pre, sjis, spoiler, s and u.

 [Reply]
i have just have trouble with compiling the plugin that's all


>>53
the issue i have is that my plugin compiles in almalinux (which is my admin panel version) but my sriracha container is in alpine


sriracha | 2026/07/25 18:14:45 failed to load plugins: failed to load plugin /plugins/sports.so: plugin.Open("/plugins/sports.so"): Error loading shared library libresolv.so.2: No such file or directory (needed by /plugins/sports.so)


>>54
Sriracha supports building and loading custom plugins when running in a Docker container, but this functionality was not well documented. I have just updated the manual with detailed instructions, scroll past "Native" to the new "Docker" section:

https://codeberg.org/tslocum/sriracha/src/branch/main/MANUAL.md#using-plugins


 [Reply]
instead of putting the file size in bytes could you use mb instead?


Thanks for the suggestion. Tracking issue:

https://codeberg.org/tslocum/sriracha/issues/118


 [Reply]
Sup, I remember reading about sriracha about two years ago and how it replaced per-board post numbers with a single global post count.

How difficult would it be to recreate more standard imageboard behavior?
Postnums are used in DB and in all other parts of the code, so not sure if this is even possible without some kind refactor


>>41(OP)
While the alternative is not entirely difficult to implement, I chose a single auto-increment ID for a few reasons. PostgreSQL does not natively support multi-column auto-increment IDs, any table and queries referencing a post would need to reference two columns instead of one, and moving threads between boards would require renumbering posts. Using a single post table with a single ID column greatly simplifies the application and the database schema. I understand the alternative is desirable for imageboards, and things may change in the future, but right now I don't see the performance and complexity costs as worth it.