mirror of
https://github.com/debloper/xiosk.git
synced 2026-04-27 05:45:54 +03:00
[PR #89] [MERGED] Convert Node.js API server to Deno with standalone executable compilation #97
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#97
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?
📋 Pull Request Information
Original PR: https://github.com/debloper/xiosk/pull/89
Author: @Copilot
Created: 7/20/2025
Status: ✅ Merged
Merged: 8/13/2025
Merged by: @debloper
Base:
main← Head:copilot/fix-c2714cb3-280b-4d8c-9fa7-fa2c466600ef📝 Commits (10+)
45675b7Initial pland010292Convert Node.js server to Deno with standalone binary support8536fb4Update documentation and add test mode for Deno conversionbddab0dAdd armv7 build for 32-bit Raspberry Pie256484Update GitHub Actions workflow: upgrade to v2, add permissions, remove 32-bit ARM support26cd81fSimplify the script setup.sh88b847creadme update: pin the installation command to a latest commit31165a3Merge branch 'main' into copilot/fix-c2714cb3-280b-4d8c-9fa7-fa2c466600eff4a9c7bupdate setup script: backup config file7850d7bupdate setup: remove git checkout after cloning the repo📊 Changes
7 files changed (+317 additions, -12 deletions)
View changed files
➕
.github/workflows/build-release.yml(+109 -0)📝
.gitignore(+8 -0)📝
README.md(+2 -2)➕
deno.json(+12 -0)➕
index.ts(+123 -0)📝
scripts/setup.sh(+61 -9)📝
services/piosk-dashboard.template(+2 -1)📄 Description
Overview
This PR converts the PiOSK Node.js-based API server to Deno with standalone executable compilation, eliminating the need to install Node.js runtime and dependency packages on the host during setup.
🚀 Key Features
Zero Runtime Dependencies
Cross-Platform Binary Support
Automated GitHub Actions workflow builds binaries for:
Intelligent Installation
📋 Changes Made
Core Server (
index.ts)GET /config- serves configuration JSONPOST /config- saves config and reboots system/webdirectoryPIOSK_TEST_MODE=true)Build System (
deno.json)startandcompiletasksCI/CD (
.github/workflows/build-release.yml)Installation (
scripts/setup.sh)Service Configuration
npm start🔄 Backward Compatibility
✅ Fully maintained:
config.json)🧪 Testing
Comprehensive testing validates:
📖 Documentation Updates
🎯 Impact
Before: Requires Node.js runtime + npm packages installation
After: Single binary download, zero runtime dependencies
Setup time: Significantly reduced (no compilation needed)
Attack surface: Minimized (standalone binary vs runtime + packages)
Maintenance: Simplified (no dependency updates needed)
Usage
After release, users can:
For development:
This change makes PiOSK more reliable, faster to install, and easier to maintain while preserving all existing functionality.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.