Univerter/README.md

50 lines
1.1 KiB
Markdown
Raw Normal View History

2023-11-20 15:49:51 -06:00
# Univerter
2023-08-15 09:01:25 -05:00
2023-11-20 15:49:51 -06:00
A web youtube downloader & converter for youtube videos with no client-sided javascript. It can be found at https://yt.violets-purgatory.dev
2023-08-15 09:01:25 -05:00
2023-11-20 15:49:51 -06:00
Currently supports a wide variety of formats, but only supports youtube. If you have any other sites you want supported, or any other formats, please open an issue.
2023-11-20 15:49:51 -06:00
# Installation
2023-11-20 15:49:51 -06:00
There are 2 main ways to install Univerter:
2023-11-20 15:49:51 -06:00
## Docker
2023-11-20 15:49:51 -06:00
The docker image can be found at https://hub.docker.com/r/bingusviolet/univerter
Port 8080 (or whatever you set the environment variable to) is exposed inside the container. It can be changed with `-p`
Example:
```bash
docker run -p 5009:8080 bingusviolet/univerter
```
It can now be found on port 5009
2023-11-20 15:49:51 -06:00
## Npm
2023-08-24 11:00:33 -05:00
1. Clone the repository
```bash
git clone https://github.com/Violets-puragtory/YoutubeConverter
cd YoutubeConverter
```
2023-11-20 15:49:51 -06:00
2. Install Dependancies
- <a href="https://github.com/FFmpeg/FFmpeg">ffmpeg</a>
- <a href="https://github.com/nodejs/node">node</a>
- <a href="https://github.com/npm/cli">npm</a>
3. Download NodeJS Dependencies
2023-08-24 11:00:33 -05:00
```bash
npm install
```
2023-11-20 15:52:23 -06:00
## Starting it
2023-08-24 11:00:33 -05:00
```bash
npm start
```
# Environment Variables
2023-08-24 11:00:33 -05:00
`PORT`= [Preffered Port] (8080 by default)