All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 28s
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
# scaricatore
|
|
|
|

|
|

|
|

|
|
|
|
It's a svelte(kit) frontend + backend that uses [`yt-dlp`](https://github.com/yt-dlp/yt-dlp) to let people download audio/video files from the web.
|
|
|
|
[`... we don't have the concept of users, when we refer to people, we call them people.`](https://ar.al/2020/08/07/what-is-the-small-web/)
|
|
|
|
<a href='https://dl.emersa.it'><img src='./static/screen.webp' alt='screen' height=300></a>
|
|
|
|
## Self-Hosting
|
|
|
|
### Node
|
|
|
|
- Install NodeJS
|
|
- Create a new directory (`"${PROJECT_ROOT}"`)
|
|
- run `scripts/install.sh "${PROJECT_ROOT}"`
|
|
|
|
Edit `scripts/deploy_example.sh` if you need to deploy `scaricatore` to some server using `SSH`.
|
|
|
|
### Docker
|
|
|
|
(currently not supported)
|
|
|
|
## Development: getting started
|
|
|
|
- run `git clone git@git.pweapon.org:odo/dl.emersa.it.git`
|
|
- Run `cd dl.emersa.it; npm install` (you have to have node installed)
|
|
- Run `npm run download-yt-dlp`
|
|
- Copy `.env.example` to `.env`
|
|
- Change `.env` to set `YTDLP_PATH` to the yt-dlp binary previously downloaded
|
|
- Run `npm run dev`
|
|
- Now you can write code
|
|
|
|
## To do:
|
|
|
|
- Containerfile for container build
|
|
- Source spotify (spotdl)
|
|
- Parse URL info without `youtube-dl-exec`
|
|
- Dockerfile inside the forgejo release action
|