{"id":17912502,"url":"https://github.com/micalevisk/youtube-downloader","last_synced_at":"2025-03-23T22:34:39.372Z","repository":{"id":70579477,"uuid":"260590663","full_name":"micalevisk/youtube-downloader","owner":"micalevisk","description":"Minimal and straightforward web app to download videos from YouTube, with focus on mobile usage (because I'm tired of ads). Powered by `node-ytdl-core` lib.","archived":false,"fork":false,"pushed_at":"2024-08-16T02:12:26.000Z","size":108,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T00:06:12.973Z","etag":null,"topics":["docker","docker-compose","fastify","hacktoberfest","node-ytdl-core","youtube","youtube-downloader"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/micalevisk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-02T01:14:40.000Z","updated_at":"2024-08-26T23:12:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b8f2eba-dfbe-4813-a347-8133742654d7","html_url":"https://github.com/micalevisk/youtube-downloader","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micalevisk%2Fyoutube-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micalevisk%2Fyoutube-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micalevisk%2Fyoutube-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micalevisk%2Fyoutube-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micalevisk","download_url":"https://codeload.github.com/micalevisk/youtube-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245180235,"owners_count":20573633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","fastify","hacktoberfest","node-ytdl-core","youtube","youtube-downloader"],"created_at":"2024-10-28T19:45:36.883Z","updated_at":"2025-03-23T22:34:39.093Z","avatar_url":"https://github.com/micalevisk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# youtube-downloader\n\n![demo](./demo.png)\n\n## Usage\n\n1. Go to [releases page](https://github.com/micalevisk/youtube-downloader/releases) and download the latest version\n2. Run the executable that you have downloaded by double-clicking in it\n3. Visit the http://localhost:8080 page\n\n### Building from the source code\n\n\u003e requirements: [Nodejs](https://nodejs.org)\n\nAfter downloading this project source, run the following commands:\n\n```bash\nnpm install --prod\nnpm start\n```\n\nAnd visit http://localhost:8080\n\n### For Linux users\n\nAdd a `/etc/hosts` entry like the following:\n\n```\n127.0.0.2 ytd.com\n```\n\nThen you add an iptables rule to redirect the traffic incoming into `127.0.0.2:8080` to `127.0.0.1:80`:\n\n```bash\niptables -t nat -A OUTPUT -d 127.0.0.2 -p tcp --dport 80 -j REDIRECT --to-port 8080\n```\n\nNow you can access the app in your browser through http://ytd.com or  \nin your network through `http://\u003cyour IP\u003e:8080` address\n\n### or, using [Docker](https://docs.docker.com)\n\n```bash\n# After downloading this project source\n\ndocker build --tag yt-downloader:latest --build-arg CREATED_DATE=\"$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\" --build-arg SOURCE_COMMIT=\"$(git rev-parse --short HEAD)\" .\n\ndocker run --detach                     \\\n  --restart=always                      \\\n  --name \"yt\"                           \\\n  --memory 4G --memory-reservation=256m \\\n  --publish '0.0.0.0:4444:8080'         \\\n  yt-downloader\n```\n\nAnd visit http://localhost:4444\n\n## Development usage\n\nRun:\n\n```bash\nnpm install\nexport PORT=4444\nnpm run dev\n```\n\nAnd go to http://localhost:4444\n\nEvery change in `*.js` files will reload the server.\n\n### or, using `docker-compose` \n\n\u003e Doing a [pure-Docker development](https://www.docker.com/blog/keep-nodejs-rockin-in-docker)\n\n```bash\nexport PORT=8080\nnpm run c:build\nnpm run up\nnpm run logs\n\n## Open the entry file `app.js` in your favorite text editor.\n## Changes will reload the server that is running inside Docker container.\n\n# In another shell session:\nexport PORT=8080\n## to install dependencies in the up running container\nnpm run c:npm install \u003cdependency name ...\u003e\n## to remove dependencies\nnpm run c:npm uninstall \u003cdependency name ...\u003e\n```\n\n### Releasing\n\nWe'll use [pkg](https://github.com/vercel/pkg) tool to generate the executable files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicalevisk%2Fyoutube-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicalevisk%2Fyoutube-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicalevisk%2Fyoutube-downloader/lists"}