Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antunesleo/youtrim
Download and trim youtube videos
https://github.com/antunesleo/youtrim
golang video video-processing youtube
Last synced: 5 days ago
JSON representation
Download and trim youtube videos
- Host: GitHub
- URL: https://github.com/antunesleo/youtrim
- Owner: antunesleo
- License: other
- Created: 2022-10-25T22:08:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-01T12:02:02.000Z (almost 2 years ago)
- Last Synced: 2024-09-26T00:18:50.410Z (8 days ago)
- Topics: golang, video, video-processing, youtube
- Language: Go
- Homepage:
- Size: 3.91 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Table of Contents
## About The Project
Sometimes we need a easy way to trim/crop a youtube video. This tool just do that!
## Getting Started
### Prerequisites
* Docker
### Installation
_Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services._
1. Clone the repo
```sh
git clone https://github.com/antunesleo/youtrim
```
2. Build docker image
```sh
docker-compose build
```
3. Have fun!
```sh
docker-compose run youtrim trim --url https://www.youtube.com/watch\?v\=ljeCPM38d8U --start 2 --end 4
```### Tests
1. Unit
```sh
docker-compose run --entrypoint='go test ./... -run Unit' youtrim
```
2. Integration
```sh
docker-compose run --entrypoint='go test ./... -run Integration' youtrim
```## Usage
```sh
docker-compose run youtrim trim --url url --start startSecond --end endSecond
```## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## Contact
Leo Antunes - [email protected]