Skip to content

Conversation

@Kofysh
Copy link

@Kofysh Kofysh commented Jan 3, 2026

Scripts wich are clearly AI generated and not further revied by the Author of this PR (in terms of Coding Standards and Script Layout) may be closed without review.

📝 Description

This PR adds a Proxmox VE helper script for Cobalt, a modern media downloader that supports YouTube, Instagram, Twitter, TikTok, and many other platforms. Cobalt is self-hosted, privacy-focused (no ads, no tracking), and provides both a web interface and an API.

🔗 Related PR / Issue

Related to community-scripts/ProxmoxVE#3493 (script request)

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards
  • Tested thoroughly – Script tested locally on Proxmox VE 8.x
  • No breaking changes – Existing functionality remains intact
  • No security risks – No hardcoded secrets, uses Docker best practices

📝 Additional Information

The script follows the standard ProxmoxVE helper-script structure with:

  • ct/cobalt.sh - Main installation script
  • install/cobalt-install.sh - Installation wrapper
  • frontend/public/json/cobalt.json - Metadata file

Ready for testing in ProxmoxVED before merging to main repo.

Kofysh added 3 commits January 3, 2026 11:24
This script installs necessary dependencies, Docker, and Cobalt Docker images, then starts the Cobalt services.
@MickLesk
Copy link
Member

MickLesk commented Jan 3, 2026

No docker, only bare Metal

Kofysh added 2 commits January 5, 2026 13:58
Updated the installation script to include pnpm installation, clone the Cobalt repository, build Cobalt API and Web, create a systemd service for Cobalt API, and configure Nginx.
Updated the Cobalt service management script to stop services, update Cobalt, and start services without using Docker commands.
@Kofysh Kofysh requested review from CrazyWolf13 and MickLesk January 5, 2026 14:54
$STD apt install -y git
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs

$STD git clone https://github.com/imputnet/cobalt.git /opt/cobalt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No git clone, we have a function to pull the latest release: fetch_and_deploy_gh_release in tools.func Line 1688. You also need to use that in the update script as well. But as i see it the App dose not have a tagged release. @MickLesk and @CrazyWolf13 Should we even consider adding it then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I think that's a blocker then, see our requirements, these have been added to the PR template: https://github.com/community-scripts/ProxmoxVED/blob/main/.github/pull_request_template.md#-application-requirements-for-new-scripts

Maybe you can request tagged releases at the upstream, but as long as there are no tagged releases, we can't add the app to our repo, we had so many issues reported, back when we used git clone, if the upstream broke users always came to us, so we only allow tagged releases now.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feedback ! I understand the requirement for tagged releases.

I've opened a feature request with the Cobalt upstream project to implement GitHub Releases with version tags : imputnet/cobalt#1498

The issue explains the need for semantic versioning and tagged releases for integration with automation tools like ProxmoxVE Helper Scripts. Once they implement this, I'll be able to update the script to use fetch_and_deploy_gh_release instead of git clone.

I'll keep this PR open and update it once Cobalt has proper releases available. Thanks for your patience !

$STD apt install -y git
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs

$STD git clone https://github.com/imputnet/cobalt.git /opt/cobalt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I think that's a blocker then, see our requirements, these have been added to the PR template: https://github.com/community-scripts/ProxmoxVED/blob/main/.github/pull_request_template.md#-application-requirements-for-new-scripts

Maybe you can request tagged releases at the upstream, but as long as there are no tagged releases, we can't add the app to our repo, we had so many issues reported, back when we used git clone, if the upstream broke users always came to us, so we only allow tagged releases now.

Co-authored-by: Tobias <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants