https://github.com/0pandadev/downcida
https://github.com/0pandadev/downcida
crate crates download downloader flac lucida music rust spotify
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/0pandadev/downcida
- Owner: 0PandaDEV
- License: mit
- Created: 2024-09-26T07:20:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T01:52:55.000Z (10 months ago)
- Last Synced: 2025-08-16T03:42:13.153Z (about 2 months ago)
- Topics: crate, crates, download, downloader, flac, lucida, music, rust, spotify
- Language: Rust
- Homepage: https://crates.io/crates/downcida
- Size: 53.7 KB
- Stars: 21
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
### **This crate does currently not work because of a Token that is needed! see [#1](https://github.com/0PandaDEV/downcida/issues/1)**
# Downcida
Downcida is a Rust crate that allows you to download Spotify tracks using the [Lucida API](https://lucida.to/). It provides a simple interface to download audio files from Spotify tracks and save them to a specified directory.
## Features
- [x] Different download Formats (FLAC, WAV, OGG, OPUS, M4A, MP3 e.g)
- [x] Spotify
- [ ] Qobuz
- [ ] Tidal
- [ ] Soundcloud
- [ ] Deezer
- [ ] Amazon Music
- [ ] Beatport## Installation
Add this to your `Cargo.toml`:
```toml
[dependencies]
downcida = "0.1.3"
```## Usage
Here's a basic example of how to use Downcida:
```rs
use downcida::{Downcida, AudioFormat};
use std::env;#[tokio::main]
async fn main() -> Result<(), Box> {
Downcida::download("5xPcP28rWbFUlYDOhcH58l", env::current_dir()?, Some("US"), AudioFormat::FLAC).await?;
Ok(())
}
```