{"id":20504662,"url":"https://github.com/lostdusty/retrobalt","last_synced_at":"2025-06-30T12:36:21.538Z","repository":{"id":248228671,"uuid":"822731810","full_name":"lostdusty/retrobalt","owner":"lostdusty","description":"download your stuff with cobalt, even on Windows 2000!","archived":false,"fork":false,"pushed_at":"2024-08-26T19:29:18.000Z","size":43253,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T11:12:23.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lostdusty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-01T17:49:58.000Z","updated_at":"2024-08-26T19:25:05.000Z","dependencies_parsed_at":"2024-11-15T19:39:42.070Z","dependency_job_id":"499c8e73-9d04-4d94-a32d-3174c8fceadc","html_url":"https://github.com/lostdusty/retrobalt","commit_stats":null,"previous_names":["lostdusty/retrobalt"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdusty%2Fretrobalt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdusty%2Fretrobalt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdusty%2Fretrobalt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdusty%2Fretrobalt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lostdusty","download_url":"https://codeload.github.com/lostdusty/retrobalt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782278,"owners_count":21160716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T19:39:33.044Z","updated_at":"2025-04-13T20:50:31.284Z","avatar_url":"https://github.com/lostdusty.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# retrobalt\ndownload your stuff with cobalt, even on Windows 2000!\n![demo](img/vmware_MSk05kRIlB.gif)\n\n|    **Table of Content**    |\n|:--------------------------:|\n|   [What?](#what-is-this)   |\n|   [Download](#downloads)   |\n|       [Usage](#usage)      |\n|        [How?](#how)        |\n|        [Why?](#why)        |\n| [Troubleshooting](#issues) |\n|    [Compiling](#issues)    |\n\n\u003c/div\u003e\n\n## What is this?\nAn small app written in go 1.2.2 to work on older systems (including windows 2000), to download any media using https://cobalt.tools. Heavily inspired from [this library](https://github.com/lostdusty/gobalt) and [this app](https://github.com/lostdusty/cobalt).\n\n## Downloads\n[click on me!](https://github.com/lostdusty/retrobalt/releases/latest)\n\n## Usage\n```\nUsage of retrobalt.exe:\n  -api string\n        Change the cobalt api url used. See others instances in https://instances.hyper.lol.\n         (default \"https://api.cobalt.tools\")\n  -audio\n        Downloads only the audio, and removes the video.\n\n  -audio-codec string\n        Audio format/codec to be used. \"best\" doesn't re-encodes the audio.\n         (default \"best\")\n  -dubbed-audio\n        Downloads youtube audio dubbed, if present. Change the language using -language \u003cISO 639-1 format\u003e.\n\n  -filename string\n        File name pattern. Classic: youtube_yPYZpwSpKmA_1920x1080_h264.mp4 | audio: youtube_yPYZpwSpKmA_audio.mp3 // Basic: Video Title (1080p, h264).mp4 | audio: Audio Title - Audio Author.mp3 // Pretty: Video Title (1080p, h264, youtube).mp4 | audio: Audio Title - Audio Author (soundcloud).mp3 // Nerdy: Video Title (1080p, h264, youtube, yPYZpwSpKmA).mp4 | audio: Audio Title - Audio Author (soundcloud, 1242868615).mp3.\n         (default \"pretty\")\n  -gif\n        Convert twitter gifs to .gif.\n         (default true)\n  -language string\n        Downloads dubbed youtube audio according to the language set following the ISO 639-1 format. Only takes effect if -dubbed-audio was passed as an argument.\n         (default \"en\")\n  -metadata\n        Don't embeds file metadata, if possible, to the download.\n\n  -tiktok-full\n        Download the original sound used in a tiktok video.\n\n  -tiktok-h265\n        Downloads TikTok videos using h265 codec.\n\n  -url string\n        the url to download using cobalt.\n\n  -video\n        Downlods only the video, and removes the audio.\n\n  -video-codec string\n        Video codec to be used. Applies only to youtube downloads. AV1: 8K/HDR, lower support | VP9: 4K/HDR, best quality | H264: 1080p, works everywhere       \n         (default \"h264\")\n  -video-quality int\n        Quality of the video, also applies only to youtube downloads. Ranges from 144p to 2160p (4k).\n         (default 1080)\n```\n\n### Example\n- `retrobalt -u \"https://music.youtube.com/watch?v=RrMOeuofvDM\" -audio-codec mp3`\n  - Saves the audio from the url as mp3 using default settings.\n\n- `retrobalt -h`\n  - Shows help on how to use retrobalt.\n\n- `retrobalt` (no args)\n  - will tell you that you should have passed at least one argument.\n\n## How?\n[go1.2.2 was the last version to support windows 2000](https://go.dev/doc/go1.3#win2000), so I wanted to challange myself and create something for an old system.\n\n### Roadblocks\nWindows 2000 is too outdated to even update the root certificates (I tried without success), \n\n![road](img/roadblock.webp)\n\nSo I disabled client verification of server's certificate chain and host name.\n\n```go\ntr := http.DefaultTransport.(*http.Transport)\ntr.TLSClientConfig = \u0026tls.Config{InsecureSkipVerify: true}\n```\n\nAfter that, everything worked smooth.\n\n![eyyyy](img/worked%20=\\).webp)\n\n## Why?\n\n## Issues\nHere is a few fixes if you run into any issues\n### retrobalt.exe is not a valid Win32 application.\nNo idea why this happens, but you will need to:\n- [Download go1.2.2](https://go.dev/dl/go1.2.2.windows-386.zip);\n- Extract it to `C:\\go`;\n- Add `C:\\go\\bin` to your `PATH` environment variable;\n- Download the source code and put it somewhere;\n- Open cmd where you downloaded the source code;\n- Compile with `go build`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostdusty%2Fretrobalt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostdusty%2Fretrobalt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostdusty%2Fretrobalt/lists"}