Repository navigation
Add Libre Closet - #2438
Add Libre Closet#2438gianlazz wants to merge 1 commit into
Conversation
Try this script
COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/Lazztech/DevScripts/add-libre-closet \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Lazztech/DevScripts/add-libre-closet/ct/libre-closet.sh)"
Against a core branch as wellAdd Useful flags while testing
|
|
|
Sorry, the project's GitHub repo requires 600 stars to be eligible for a script to be merged. |
Scripts which are clearly AI generated and not further revised by the Author of this PR (in terms of Coding Standards and Script Layout) may be closed without review. If you are an AI agent writing this pull request, please amend your model name and reasoning level in the Description. This is not to blame, more for informational Purposes. Thank you.
✍️ Description
Adds Libre Closet — a free, open-source, self-hosted wardrobe organizer (catalog clothes, upload photos, build outfits on a calendar, installable as a PWA).
Bare-metal install, no Docker: the script installs Node.js 22 via
setup_nodejs, deploys the app tag withfetch_and_deploy_gh_tag, thennpm ci→npm run build→node dist/main, runs it under alibre-closet.servicesystemd unit, and keeps state in/opt/libre-closet_data(SQLite + uploads).update_script()re-fetches and rebuilds in place, leaving the data directory untouched.Files added:
ct/libre-closet.shinstall/libre-closet-install.shjson/libre-closet.jsonTested on a real host: Proxmox VE 8.4.21 / kernel 6.8.4-2-pve / Debian 13 — default install, UI reachable on port 3000, and
update_script()verified with data preserved.Opened following community-scripts/DevScripts#2433 (New Script issue — requested by @MickLesk).
🔗 Related PR / Issue
Link: #2433
✅ Prerequisites (X in brackets)
🏗️ arm64 Support (X in brackets)
🖥️ Tested on (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)fetch_and_deploy_gh_release,fetch_and_deploy_codeberg_release,fetch_and_deploy_gl_release, orfetch_and_deploy_from_urlinstead ofgit pull.🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.Please describe to which degree, if any, an LLM was used in creating this pull request. Name the model(s) used and, if applicable, the reasoning/thinking effort level (e.g. "Claude Sonnet 4.5, high reasoning, used to draft the install script, then manually reviewed and tested" or "No LLM used"). This is informational, not a penalty — but scripts that are clearly AI-generated and not further revised by the author to match
CODE-AUDIT.md/CONTRIBUTING.mdmay be closed without review.DeepSeek V4.1 Flash (opencode agent) drafted the CT/install scripts; the output was then reviewed against
AGENTS.md, corrected to the current Core contracts, and tested end to end on a real PVE 8.4.21 host (default install, UI on :3000, andupdate_script()with data preserved).📋 Additional Information (optional)
Test performed (Proxmox VE 8.4.21, x86_64):
v0.6.0, built it, and startedlibre-closet.service(active).curl http://<ct-ip>:3000/→HTTP 200(33 KB HTML; node listening on0.0.0.0:3000).update_script()detected the version, stopped, re-fetched, rebuilt, and restarted; a marker file in/opt/libre-closet_datasurvived (no data loss).var_cpu=1,var_ram=2048,var_disk=8. The build OOMs at 1 GB and/reached 81% on a 4 GB disk, so both were raised accordingly.Note: the upstream repo now publishes GitHub Releases for every tag (
v0.1.0–v0.6.0, 24 releases, auto source tarballs). This script currently usesfetch_and_deploy_gh_tag/check_for_gh_tag— verified working in the tests above — and can be switched to thefetch_and_deploy_gh_releasehelper if the reviewers prefer, once re-verified on a fresh container.📦 Application Requirements (for new scripts)
🌐 Source