This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add github ci configs * Add github action * Update Dockerfile * Add go modules for dep mgt * Update gitigore * Add issues template * Update README * Update licence * Update main package * Add main test * Update main_tests * Add video converter module * Add video extraction sub module * Add concurrent video stream extractor * Update main program entry * Update video extractor table test * Remove dead code * Update test files * Remove vendor deps * Update go mod deps * Update makefile * Add bug fixes to video downloader * Add fixes to main test * Add formatting directives to fmt sprintf * Update go modules * Update go lame api references * Add vendor director * Add bugfix to video converter
- Loading branch information
Nyah
authored
Jan 3, 2020
1 parent
c39efd1
commit 5df855f
Showing
289 changed files
with
245 additions
and
149,760 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* @ch3ck | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: Tracking issue | ||
about: Use this template for tracking new features. | ||
title: "[DATE]: [FEATURE NAME]" | ||
labels: bug, feature request, needs triage, won't fix | ||
assignees: ch3ck | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build and Run Tests | ||
|
||
on: [push, pull_request] | ||
|
||
|
||
jobs: | ||
setup-build-test: | ||
name: Setup, Build, Test | ||
strategy: | ||
matrix: | ||
go-version: [1.12.x, 1.13.x] | ||
platform: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Setup Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
- name: Build and run tests | ||
run: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
# Contributing to YTD | ||
# Contributing to youtube-dl | ||
|
||
Welcome to the YTD Dev team, we've been expecting you. YTD is an open source project and we greatly appreciate your help! | ||
Welcome to the youtube-dl dev team, we've been expecting you. | ||
youtube-dl is an open source project and we greatly appreciate your help! | ||
|
||
|
||
## Filing Bugs | ||
|
||
Please follow these guidelines when filing bugs to the project. | ||
Please follow the github template when filing bugs. | ||
|
||
* Indicate the version Go | ||
* OS Architecture and other OS information | ||
* Procedure to reproduce the bug | ||
* Expected out and current output | ||
|
||
For general questions catch me on the [Gophers Slack, #africa channel](https://invite.slack.golangbridge.org/) or on [twitter](https://twitter.com/nyah_check). For sensitive security-related issues should be reported to me directly[checko(mailto:[email protected]). | ||
For general questions catch me on the [Gophers Slack, #africa channel](https://invite.slack.golangbridge.org/) or | ||
on [twitter](https://twitter.com/nyah_check). | ||
For sensitive security-related issues should be reported to me directly[checko(mailto:[email protected]). | ||
|
||
|
||
## New Features and General code contribution | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,17 @@ | ||
FROM golang:latest | ||
FROM golang:latest AS go-base | ||
|
||
RUN mkdir -p /go/src/github.com/Ch3ck/youtube-dl/ | ||
MAINTAINER Nyah Check <[email protected]> | ||
|
||
WORKDIR /go/src/github.com/Ch3ck/youtube-dl | ||
RUN apk add --no-cache \ | ||
ca-certificates \ | ||
make | ||
|
||
COPY vendor vendor | ||
COPY api api | ||
COPY Makefile Makefile | ||
COPY ytd.go . | ||
|
||
RUN gofmt -l -d $(find . -type f -name '*.go' -not -path "./vendor/*") \ | ||
&& CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o youtube-dl . | ||
|
||
|
||
FROM alpine:latest | ||
|
||
MAINTAINER Nyah Check <[email protected]> | ||
|
||
ENV PATH /go/bin:/usr/local/go/bin:$PATH | ||
ENV GOPATH /go | ||
|
||
RUN apk add --no-cache \ | ||
ca-certificates | ||
|
||
WORKDIR /root/ | ||
COPY --from=0 /go/src/github.com/Ch3ck/youtube-dl . | ||
FROM go-base | ||
WORKDIR /go/src/github.com/ch3ck/youtube-dl | ||
COPY . . | ||
RUN make build | ||
|
||
RUN echo "Image build complete." | ||
|
||
|
||
CMD [ "./youtube-dl" ] | ||
CMD [ "./youtube-dl" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module github.com/ch3ck/youtube-dl | ||
|
||
go 1.12 | ||
|
||
require ( | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/viert/go-lame v0.0.0-20190822173615-801f1be8d24f | ||
golang.org/x/sys v0.0.0-20200102141924-c96a22e43c9c // indirect | ||
) |
Oops, something went wrong.