An easy-to-use web interface for downloading bittorrents, videos from twitter, youtube and the likes

Overview

An easy-to-use web interface for Aria2 and youtube-dl

  • Search for torrents within the app from mutiple BT sites
  • Control Aria2 and manage download tasks from the web;
  • Harnessing the power of youtube-dl to download videos from 700+ video sites(youtube,youku,dailymotion,twitter,facebook and the likes;

nc2

nc4

nc5

How to build front-end code

NPM 7.0+ and node 14.0.0+ are required to build front-end scripts

#start to build
npm run build

#installing php dependencies
composer install

Nextcloud App homepage

https://apps.nextcloud.com/apps/ncdownloader

Comments
  • Change download folder doesn't have affect

    Change download folder doesn't have affect

    Cant switch the download Path.

    If u change the download folder to a specific path, downloads wont shown in this and are hidden on the cloud storage. After switching back to the app standard download path, surprise, all downloads will shown in this folder.

    So ncdownloader cant handle other path's than the regular path which is used after install the app. No changes has affect.

    Hope to see a fix for it. :-)

    Greatz Paddy

    opened by PadseGaming 18
  • Not working on Nextcloud 25

    Not working on Nextcloud 25

    Describe the bug Not working on NC25

    To Reproduce Steps to reproduce the behavior:

    1. Install nextcloud 25
    2. Install ncdownloader
    3. See error on screenshot

    Expected behavior Normal working

    Screenshots Screenshot_20221020_054233

    Desktop (please complete the following information):

    • OS: Ubuntu Linux
    • Browser Latest chrome

    Smartphone (please complete the following information):

    • Device: A
    • OS: Android 12
    • Browser Latest chrome

    Additional context

    opened by RealSerga 8
  •  [New feature] Add Slider.kz (music downloader)

    [New feature] Add Slider.kz (music downloader)

    Hi @shiningw and thank you for the work you put in this great Downloader ! :)

    I know it might be out of scope - and would understand it - but would it be possible scape a music download website too ?

    You could maybe rename the "Search Torrents" button to make it become "Search Torrents/Musics" and add Slider.kz as a 3rd option in the dropdown (after TPB and Bitsearch) ?

    I coded a bash music downloader based on this website:

    1. It gets the musics results Url lists using this link: http://slider.kz/vk_auth.php?q=
    2. It extracts the music name and url, BUT one important data is missing: the file size. The file size gives a good idea of the music length/weight on hard drive/quality. As a music lover, I always seek to download 320bk/s mp3s.
    3. Thus, my script quickly fetch the Content-Length of each url in parallel
    4. Finally results are displayed with their size, sorted from the largest file to the smallest one.
    5. When the file is downloaded, the original displayed file name is kept, instead of the download name that includes the slider.kz "watermark" text.

    Do you think you could implement this ?:)

    It would really be awesome as I download musics on a daily basis but have to SSH to use my tool. My tool then moves the downloaded file to Nextcloud and modify its permissions to www and scans it using OCC to ensure it is properly added to the filecache DB.

    I can of course share with you the full source code of my music downloader!

    Kind regards

    opened by TtuxX 7
  • Customise Torrent Search-Engines list

    Customise Torrent Search-Engines list

    Hi @shiningw ! :)

    Thank you very much for this great new app !

    The possibility to search torrents online is a great option.

    Would it be possible to insert all the torrent search engines we want to add (1 per line) in a customisable settings field? The idea would be that each user could then add all the search engines they want in the following way:

    https://mirrorbay.top/search.php?q=USERINPUT https://xxxxxxx.xx/search.php?request=USERINPUT ...

    And then when searching, the NCDownloader app could fetch results one SE after the other and display and sort results live with a progress bar/indicator for the user, displaying: "Fetching torrent from search-engine 1/5 ..."

    Thank you so much in advance for your kind help and thanks again for your great app ! :)

    opened by TtuxX 7
  • Bug to download in mp3 from youtube

    Bug to download in mp3 from youtube

    When i download a link (like : https://www.youtube.com/watch?v=DgG3k6SzD9M ) in youtuble-dl and i choose "mp4" ou "m4a" it works. But if I choose "mp3", a file is downloaded with almost the same size of the m4a but it doesn't work (impossible to read from VLC by example).

    Thanks again for your work :)

    opened by darkpisto 6
  • youtube-dl downloads don't render in menu

    youtube-dl downloads don't render in menu

    I am using the built in youtube-dl app NC23 PHP 8.0 PostgreSQL 14.2

    When I download a youtube video and then go to the youtube-dl section. I see a "1" next to the menu indicating that a download is happening, but the menu page doesn't render, just a blank screen. Also It doesn't remove itself long after the video is downloaded.
    I have to go into the database manually and remove the entry

    Here is an error that pops up in the log:

    [index] Error: unserialize(): Argument #1 ($data) must be of type string, resource given in file '/var/www/nextcloud/apps/ncdownloader/lib/Controller/YoutubeController.php' line 53

    POST /apps/ncdownloader/youtube/get

    opened by JoshuaPettus 6
  • Download Youtube Videos in Nextcloud supported (playable) format

    Download Youtube Videos in Nextcloud supported (playable) format

    Hello,

    NCDownloader is working well, but youtube Downloads are downloadet as .mkv which is not directly playable from Nextcloud Webinterface. Is ist possible to download it as m4v which is directly playable from NC Web?

    opened by apg1980 6
  • Aria2c is not running - how to autostart builtin aria2c

    Aria2c is not running - how to autostart builtin aria2c

    It's been asked before but an explicit solution was not given. How can we make sure that the builtin aria2c that is included in the app is automatically started on server reboot.

    Our server shuts down & restarts for backups & then our users can't use ncdownloader because they are not admin users & can't start aria2 from the gui. Is there anyway this can be scripted - maybe with a systemd file. Ideally a feature could be added to the app's config for this. I imagine almost everyone would require that aria2 runs on boot.

    opened by tquest1 3
  • NCdownloader cause internal server error on Nextcloud with object storage.

    NCdownloader cause internal server error on Nextcloud with object storage.

    Hi,

    I just install ncdownloader through the app tab. However, when I click on the NCdowloader tab, it's cause an internal server error. Using Nextcloud 24.0.1 on debian 11, the instance is using object storage as primary storage, the error log are as bellow:

    
    [index] Error: TypeError: Return value of OCA\NCDownloader\Tools\Helper::getLocalFolder() must be of the type string, null returned at <<closure>>
    
     0. /var/www/nextcloud/apps/ncdownloader/lib/Tools/Helper.php line 406
        OCA\NCDownloader\Tools\Helper::getLocalFolder()
     1. /var/www/nextcloud/apps/ncdownloader/lib/Tools/Helper.php line 453
        OCA\NCDownloader\Tools\Helper::getRealDownloadDir()
     2. /var/www/nextcloud/apps/ncdownloader/appinfo/application.php line 32
        OCA\NCDownloader\Tools\Helper::getAria2Config()
     3. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
        OCA\NCDownloader\AppInfo\Application->OCA\NCDownloader\AppInfo\{closure}("*** sensitive parameters replaced ***")
     4. /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
        OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
     5. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
        Pimple\Container->offsetGet()
     6. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
        OC\AppFramework\Utility\SimpleContainer->query()
     7. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 437
        OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
     8. /var/www/nextcloud/apps/ncdownloader/appinfo/application.php line 51
        OC\AppFramework\DependencyInjection\DIContainer->query()
     9. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
        OCA\NCDownloader\AppInfo\Application->OCA\NCDownloader\AppInfo\{closure}("*** sensitive parameters replaced ***")
    10. /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
        OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
    11. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
        Pimple\Container->offsetGet()
    12. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
        OC\AppFramework\Utility\SimpleContainer->query()
    13. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 437
        OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
    14. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 57
        OC\AppFramework\DependencyInjection\DIContainer->query()
    15. /var/www/nextcloud/lib/private/AppFramework/App.php line 145
        OC\AppFramework\Utility\SimpleContainer->get()
    16. /var/www/nextcloud/lib/private/Route/Router.php line 298
        OC\AppFramework\App::main()
    17. /var/www/nextcloud/lib/base.php line 1023
        OC\Route\Router->match()
    18. /var/www/nextcloud/index.php line 36
        OC::handleRequest()
    
    GET /apps/ncdownloader/
    
    
    [PHP] Error: Error: call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\Files\ObjectStore\HomeObjectStoreStorage' does not have a method 'getLocalFolder' at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php#527 at <<closure>>
    
     0. <<closure>>
        OC\Log\ErrorHandler::onError()
     1. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 527
        call_user_func_array()
     2. <<closure>>
        OC\Files\Storage\Wrapper\Wrapper->__call()
     3. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 527
        call_user_func_array()
     4. /var/www/nextcloud/lib/private/Files/View.php line 264
        OC\Files\Storage\Wrapper\Wrapper->__call()
     5. /var/www/nextcloud/lib/private/Files/Filesystem.php line 456
        OC\Files\View->getLocalFolder()
     6. /var/www/nextcloud/apps/ncdownloader/lib/Tools/Helper.php line 398
        OC\Files\Filesystem::getLocalFolder()
     7. /var/www/nextcloud/apps/ncdownloader/lib/Tools/Helper.php line 406
        OCA\NCDownloader\Tools\Helper::getLocalFolder()
     8. /var/www/nextcloud/apps/ncdownloader/lib/Tools/Helper.php line 453
        OCA\NCDownloader\Tools\Helper::getRealDownloadDir()
     9. /var/www/nextcloud/apps/ncdownloader/appinfo/application.php line 32
        OCA\NCDownloader\Tools\Helper::getAria2Config()
    10. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
        OCA\NCDownloader\AppInfo\Application->OCA\NCDownloader\AppInfo\{closure}("*** sensitive parameters replaced ***")
    11. /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
        OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
    12. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
        Pimple\Container->offsetGet()
    13. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
        OC\AppFramework\Utility\SimpleContainer->query()
    14. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 437
        OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
    15. /var/www/nextcloud/apps/ncdownloader/appinfo/application.php line 51
        OC\AppFramework\DependencyInjection\DIContainer->query()
    16. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
        OCA\NCDownloader\AppInfo\Application->OCA\NCDownloader\AppInfo\{closure}("*** sensitive parameters replaced ***")
    17. /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
        OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
    18. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
        Pimple\Container->offsetGet()
    19. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
        OC\AppFramework\Utility\SimpleContainer->query()
    20. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 437
        OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
    21. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 57
        OC\AppFramework\DependencyInjection\DIContainer->query()
    22. /var/www/nextcloud/lib/private/AppFramework/App.php line 145
        OC\AppFramework\Utility\SimpleContainer->get()
    23. /var/www/nextcloud/lib/private/Route/Router.php line 298
        OC\AppFramework\App::main()
    24. /var/www/nextcloud/lib/base.php line 1023
        OC\Route\Router->match()
    25. /var/www/nextcloud/index.php line 36
        OC::handleRequest()
    
    GET /apps/ncdownloader/
    
    opened by DauAnh 3
  • python is not installed

    python is not installed

    Each time i go to the NCDownloader on my nextcloud instance, i have got the following message : python is not installed✖

    But on my server, when i launch : sudo apt-get install python3

    I got : python3 est déjà la version la plus récente (3.9.2-3).

    And NCDownloader seems to work properly.

    (sorry if i d'ont speak english very well, and thanks you for your very good work :) )

    opened by darkpisto 3
  • 500 error when polling status/active

    500 error when polling status/active

    When going on the menu to list the active or completed downloads NCDownloader makes a request to apps/ncdownloader/status/active but it returns a 500 error so the javascript crashes and I can't see/manage my downloads

    opened by Shotman 3
  • Requesting documentation for how to use custom aria options

    Requesting documentation for how to use custom aria options

    Is your feature request related to a problem? Please describe. I would like to set custom aria rules, and get clarification on existing rules

    Describe the solution you'd like A little help blurb, or even entry on the github readme about using aria2 options

    Additional context I notice when downloads stop, putting in the url and continuing again picks up from where it left off. This implies the -c option, though it's not an aria default according to the man page, so some options aren't default and it would be nice to know what they are.

    Additionally, the options to add extra settings are confusing. There is a box that specifically says "leave empty..." Unclear why that's there. I assume each option needs to be on a new line. So if I wanted to add max tries of 0 and max connections per server to 5 (for example) Would it be 2 entries? Like -x 5 | Leave empty -m 0 | Leave empty or -x | 5 -m | 0 Or can I do -x 5 -m 0 | leave empty

    This is very confusing, and just a simple guide/example would be really helpful.

    [edit]: The same question for youtube-dl, I assume the process is the same?

    opened by 31337-4554551n 2
  • Feature request to add proxy options for torrent search+traffic

    Feature request to add proxy options for torrent search+traffic

    Is your feature request related to a problem? Please describe. My nextcloud is hosted in a country that frowns upon/blocks torrent traffic. Would it please be possible to add a feature to allow the torrent (search and traffic) or even all traffic to go through a proxy server of our choice?

    enhancement 
    opened by 31337-4554551n 0
  • Adapt UX of Nextcloud

    Adapt UX of Nextcloud

    For a better visual integration in the Nextcloud ecosystem I'd like to propose following adjustments:

    Sidebar

    NCDownloader

    image

    Contacts & Deck

    image image

    • Use the same colored circle size as in Deck on the left size
    • Use the same counter on the right size as in Contacts

    Error messages

    NCDownloader

    image

    Notes

    image

    • Use the same popup mechanism as the Notes app for displaying errors in the right top corner, with the corresponding colors

    Buttons

    image

    For the configuration (left buttons)

    For the submit part (right buttons)

    • Either use a primary button or an inline button:

    image

    The destination location button should have the same monochrome icon as Deck and other apps use for similar scenarios: image

    Hope this wasn't overwhelming, but I see a lot of potential and I'd like to see a better integration into Nextcloud itself :)

    opened by stefan-niedermann 1
  • Provide REST-API for 3rd party clients

    Provide REST-API for 3rd party clients

    Dear @shiningw ,

    let me introduce myself: I am Stefan, maintainer of the Notes Android app and the Deck Android app and I'd like to write an Android client for the NCDownloader app for a more native integration (for example sharing links directly into NCDownloader).

    Is there any chance we can get a stable public REST API to work with?

    Looking forward to some kind of collaboration :rocket:

    opened by stefan-niedermann 3
  • Internal Server Error 24.0.3 after instalation

    Internal Server Error 24.0.3 after instalation

    Describe the bug I installed the app like any other inside my nextcloud. After trying to access the app an internal server error occured.

    To Reproduce

    1. Download the app
    2. Start the app

    Expected behavior I expected it to show me the app and let me use the functions

    Screenshots image This error show in the Logs: image

    Desktop (please complete the following information):

    • OS: Windows
    • Browser Opera

    Nextcloud

    • Version: 24.0.3
    • OS: Ubuntu 22.04

    Additional context I did an Integrity check and while analyzing the results I found this:

    Technical information
    =====================
    The following list covers which files have failed the integrity check. Please read
    the previous linked documentation to learn more about the errors and how to fix
    them.
    
    Results
    =======
    - ncdownloader
    	- EXCEPTION
    		- OC\IntegrityCheck\Exceptions\InvalidSignatureException
    		- Signature data not found.
    
    Raw output
    ==========
    Array
    (
        [ncdownloader] => Array
            (
                [EXCEPTION] => Array
                    (
                        [class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
                        [message] => Signature data not found.
                    )
    
            )
    
    )
    
    opened by XOYZ-Code 1
  • Cannot delete folders

    Cannot delete folders

    I cant delete the folder 'Downloads', I checked permissions in ubuntu and all belong to www-data, and Its not being used by NCDownloader I think. Captura de ecrã 2022-12-08 165621

    translation : "Error deleting file Downloads"

    Captura de ecrã 2022-12-08 165723

    opened by ZennithPT 1
Releases(v1.0.2)
Owner
jiaxin huang
jiaxin huang
All in one Video Downloader - Download videos from facebook twitter youtube tiktok and 1000+ other sites .. made by Vijay Kumar

VKRdownloader Video Downloader by @TherealVKR Vijay Kumar .... Download Video From YouTube , Facebook , Twitter , Instagram , TikTok , And 1000+ Other

Vijay Kumar 35 Dec 29, 2022
This package provides a simple and intuitive way to work on the Youtube Data API. It provides fluent interface to Youtube features.

Laravel Youtube Client This package provides a simple and intuitive way to work on the Youtube Data API. It provides fluent interface to Youtube featu

Tilson Mateus 6 May 31, 2023
Arc youtube - Youtube plugin for Textpattern

arc_youtube A Textpattern plugin for easily embedding Youtube videos in pages using a customisable player. This plugin works well with arc_vimeo and o

Andy Carter 5 May 17, 2018
Laravel-Crowdin Integration - Automate translations uploading/downloading

Laravel-Crowdin Integration Automate uploading/downloading translations Installation Install the package via composer: composer require georgii-web/la

Joris van Willigen 0 May 25, 2022
TXP-Tweet - arc twitter - Twitter-Textpattern integration

TXP Tweet This is TXP Tweet, a collection of Textpattern plugins for Twitter integration. TXP Tweet consists of two plugins: arc_twitter (the core Tex

Andy Carter 11 Sep 20, 2021
Sample application to bookmark links, where interface build with Angular.js + Twitter Bootstrap and server powered by PHP with Slim Framework

RESTful Bookmarks PHP Slim TODO: review and update FrontEnd Sample application to bookmark links, where interface build with Angular.js + Twitter Boot

Erko Bridee 50 Dec 15, 2021
Code to accompany the YouTube video "Full PHP cURL API tutorial - how to use a REST API from PHP using cURL"

PHP cURL CRUD Example Example code to accompany this YouTube video. Note that the init_curl.php file contains a placeholder for an API key. DO NOT che

Dave Hollingworth 14 Dec 24, 2022
Use twitter in minecraft!

TwitterMC Allows you to use Twitter from minecraft. Current features: Posting Current Commands: /twitter Current Perms: twitter.use | twitter.post Hop

MDC 5 Apr 14, 2022
A hacky PHP script to download posts, images, videos and framework grading from Parent Zone

ParentZoneDownloader A hacky PHP script to download posts, images, videos and framework grading from Parent Zone Pre-Requisites Tested on PHP 7.4, but

null 2 Sep 6, 2021
Private groups to share messages, photos, videos, links with friends and family.

A truly private space for you and your friends What is Zusam ? Zusam (/tsuˈzam/) is a free and open-source way to self-host private forums for groups

Zusam 104 Dec 20, 2022
Download TikTok videos for free. No login or password are required.

Download TikTok videos for free. No login or password are required.

Ibnu syawal 19 Oct 31, 2022
🌏 Webnux 🌏 , a videos streaming website where you can watch what you want when you want.

?? WEBNUX ?? Welcome to ?? Webnux ?? , a videos streaming website where you can watch what you want when you want. ☀️ ☀️ OBJECTIFS ☀️ ☀️ - A sessi

FrancisNtahimpera 1 Dec 3, 2021
Arc vimeo - Textpattern plugin for embedding Vimeo videos in content

arc_vimeo A Textpattern plugin for easily embedding Vimeo videos in pages using a customisable player. This plugin works well with arc_youtube and oui

Andy Carter 1 May 17, 2018
Proyecto Laravel-Livewire-Tailwind. Buscador de Gifs, Imágenes y Vídeos. Fuentes: Giphy y Pixabay.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Juan Gómez 1 Feb 10, 2022
Michael Pratt 307 Dec 23, 2022
Repo do vídeo do youtube de Design Patterns - Decorator

DesignPatternsPHP-Decorator Repo do vídeo do Youtube de Design Patterns - Decorator Link do vídeo Decorator em PHP 8 Imagem de exemplo Link do cadastr

Leonardo Tumadjian 10 Aug 18, 2022
Create Youtube-Like IDs With PHP.

AlphaID Install composer require sy-records/alphaid Usage

沈唁 4 Mar 31, 2022
SubRocks is a faithful recreation & reverse engineering effort for 2012 YouTube

subrocks-2012 a 2012 rewrite for subrocks SubRocks is a faithful recreation & reverse engineering effort for 2012 YouTube. You can visit the site at h

chief bazinga 9 Nov 19, 2022
Repo for OSWE related video content for @SecAura Youtube Channel

OSWE@SecAura A repository for related OSWE contents referenced in SecAura's YouTube Channel @SecAura SecAura Blog | PHP Web App ?? YouTube Playlist Li

null 21 Dec 13, 2022