talira

Media downloader: paste a link from YouTube, Instagram, TikTok and others, get the file

source availableAGPL-3.0-only AND CC-BY-NC-SA-4.0self-hostablefree

cobalt is a media downloader with no ads, trackers or paywalls: you paste a link and get the file. Its API supports services including YouTube, Instagram, TikTok, Twitter/X, Reddit, Vimeo, SoundCloud, Bluesky, Twitch clips and Bilibili, for video with audio, audio only or video only. It works as a proxy and doesn't cache content, and its makers say it only downloads free, publicly accessible content. cobalt.tools is the hosted instance, and anyone can run their own with Docker Compose.

Ways to install

On your own server

Problems it solves

  • save a video from Instagram or TikTok without an ad-filled converter site
  • download the audio of a public video as a file
  • run my own media download service for my team

Features

  • downloads from YouTube, Instagram, TikTok, Twitter/X, Reddit, Vimeo, SoundCloud and more
  • video with audio, audio only or video only
  • proxy design that doesn't cache content
  • self-hosted instances with Docker Compose, protected with Turnstile or API keys
  • documented API for your own instance

Limitations

  • The web frontend is under CC-BY-NC-SA-4.0, which doesn't allow commercial use, and the cobalt branding isn't covered by any licence.2
  • There's no public hosted API: to use the API you deploy your own instance.3

Alternatives

The same job

These do what cobalt does.

  1. yt-dlp A feature-rich command-line audio/video downloader
  2. MeTube Self-hosted video downloader for YouTube and other sites (web UI for yt-dlp)
  3. Downie Mac app that downloads videos from YouTube and 1,000+ other sites

Compare cobalt with the top 3