#1149529#5
Date:
2026-09-30 11:19:42 UTC
From:
To:
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

#1149529#10
Date:
2026-09-30 14:19:48 UTC
From:
To:
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,

#1149529#15
Date:
2026-09-30 16:31:31 UTC
From:
To:
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

#1149529#20
Date:
2026-09-30 16:39:30 UTC
From:
To:
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,

#1149529#25
Date:
2026-09-30 16:46:05 UTC
From:
To:
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

#1149529#30
Date:
2026-10-05 11:15:00 UTC
From:
To:
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,

#1149529#35
Date:
2026-10-05 12:38:59 UTC
From:
To:
Hi Andrew,

pocketbase embedds it into its binary, so, it needs to be there at
pocketbase builttime.

Regards,
Daniel