-
-
Notifications
You must be signed in to change notification settings - Fork 182
Add cobalt script #1245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add cobalt script #1245
Conversation
This script installs necessary dependencies, Docker, and Cobalt Docker images, then starts the Cobalt services.
|
No docker, only bare Metal |
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.
| $STD apt install -y git | ||
| NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs | ||
|
|
||
| $STD git clone https://github.com/imputnet/cobalt.git /opt/cobalt |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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]>
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)
📝 Additional Information
The script follows the standard ProxmoxVE helper-script structure with:
ct/cobalt.sh- Main installation scriptinstall/cobalt-install.sh- Installation wrapperfrontend/public/json/cobalt.json- Metadata fileReady for testing in ProxmoxVED before merging to main repo.