- Package:
- golang-github-pocketbase-pocketbase
- Submitter:
- Date:
- 2026-10-21 17:07:01 UTC
- Severity:
- normal
Hi, the essential use of pocketbase is that application that make use of it, will redirect you to use the frontend components of pocketbase so they don't have to implement stuff on their own (i.e. making use of pocketbase as a framework). e.g. if an application has some sort of users, they let the whole user life cycle (create/modify/delete/etc.) be handled by pocketbase. the pocketbase uploaded in Debian is missing the following files from the source tree (included upstream, but not included in Debian). pocketbase is normally accessed via http://localhost/_/ the following file is missing: http://localhost/_/libs/shablon/shablon.iife.js in the source tree, ui/*/shablon/* are missing. Regards, Daniel
Upstream doesn't include the source for shablon, only mentioned it in the ui/README.md, said: `This is the PocketBase Superuser dashboard UI (built with Shablon and Vite).` Didn't find any shablon related source under ui/src/ in both upstream and debian. Only found minified shablon.iife.js in upstream repo: https://github.com/pocketbase/pocketbase/blob/master/ui/dist/libs/shablon/shablon.iife.js https://github.com/pocketbase/pocketbase/blob/master/ui/public/libs/shablon/shablon.iife.js Maybe we should open an upstream issue to request to include the unminified source of shablon under ui/src/? Best regards,
Hi Andrew, of course, upstream would idealy clean this up, however, the should not have vendored it all in the first place. therefore I would suggest to just package https://github.com/ganigeorgiev/shablon as a standalone package and then, as usual, build-depend on it (and declare built-using in pocketbase). Regards, Daniel
Nice discovery. Would you mind to explain this to upstream for clean up? You found the upstream source! I will simply package it and use it as build-deps in pocketbase then. Best regards,
as said, they should not vendor things. they should depend on it in whatever build-system they use. well, it's the first hit on google 'shablon javascript' ;) Regards, Daniel
Do you need the file available for building the pocketbase binary or needs the file to be available in golang-github-pocketbase-pocketbase-dev package? Best regards,
Hi Andrew, pocketbase embedds it into its binary, so, it needs to be there at pocketbase builttime. Regards, Daniel