mirror of
https://github.com/debloper/xiosk.git
synced 2026-04-26 21:35:51 +03:00
[GH-ISSUE #132] Local js/css scripts #76
Labels
No labels
bug
bug
documentation
enhancement
enhancement
feature request
good first issue
good first issue
help wanted
invalid
priority: high
priority: low
priority: medium
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xiosk#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @parthsidpara on GitHub (Oct 29, 2025).
Original GitHub issue: https://github.com/debloper/xiosk/issues/132
Discussed in https://github.com/debloper/piosk/discussions/113
Originally posted by marcogruhl September 16, 2025
Hi, great project! Thank you!
I hit a small road block when using PiOSK in an air gaped environment. The js and css scripts (bootstrap.bundle.min.js, bootstrap.min.css, jquery-3.7.1.min.js) don't load. I also can imagine usecases where the Pi are not allowed to load something from outside.
I can had to ideas to implement this: Load the files within the installer and change the paths or include the files in the project. Any thoughts?
If this is a good idea i will provide a PR for it.
regards Marco</div
@djedu28 commented on GitHub (Nov 26, 2025):
You need to serve them with a web server. Use express. A minimal configuration of the examples on the official express page. is enough.
Just remember to set the page of the HTML/CSS/JS files as the "public" page of the Express service.
Automatically translated.
ordinal text in Brazilian Portuguese
Você precisa servir elas com um servidor web. Use o express. Uma configuração mínima dos exemplos na página oficial do express. já é o suficiente.lembre-se apenas de definir a página dos arquivos html/css/js como a página "public" do serviço express.
exemplo:
example:
@djedu28 commented on GitHub (Nov 26, 2025):
If you want to use the same service as the piosk interface, just put the files in the dashboard folder
/dashboard@marcogruhl commented on GitHub (Nov 26, 2025):
HI @djedu28
i pushed a PR (#115 ) for that, but its outdated. If i find some time i will adjust it to v5.