tuefekci / blkhole Goto Github PK
View Code? Open in Web Editor NEWblkhole is a download management tool for AllDebrid cloud downloads, which allows automatic downloads to your local network.
blkhole is a download management tool for AllDebrid cloud downloads, which allows automatic downloads to your local network.
The Original Plan was to enable external Download Clients because the Internal one should technically only be a fallback until we find someone who really knows how to implement a serious Download Implementation or I figure it out myself.
The App theoretically should operate smoothly with SQLite, but numerous challenges persist:
Despite prolonged efforts to exclusively utilize SQLite for database operations, the persistent challenges have become tiresome. Consequently, I've opted to implement a version compatible with MySQL and potentially Redis. After resolving immediate needs with alternative solutions, I may revisit SQLite optimization in the future.
The Original Plan for Blkhole was to work with more services, we should at least implement the Interfaces Properly for that.
Build proper automation for Docker releases because every time I want to make one I completely forget how it works.
�
Stack trace:
#0 /srv/blkhole/vendor/amphp/amp/lib/Internal/Placeholder.php(46): GT\BLK\Web->GT\BLK\{closure}(NULL, true)
#1 /srv/blkhole/app/web.php(94): Amp\Coroutine->onResolve(Object(Closure))
#2 [internal function]: GT\BLK\Web->GT\BLK\{closure}(Object(Amp\Http\Server\Request))
#3 /srv/blkhole/vendor/amphp/amp/lib/Coroutine.php(118): Generator->send('{"magnet":"magn...')
#4 /srv/blkhole/vendor/amphp/amp/lib/Internal/Placeholder.php(149): Amp\Coroutine->Amp\{closure}(NULL, '{"magnet":"magn...')
#5 /srv/blkhole/vendor/amphp/amp/lib/Coroutine.php(123): Amp\Coroutine->resolve('{"magnet":"magn...')
#6 /srv/blkhole/vendor/amphp/amp/lib/Internal/Placeholder.php(149): Amp\Coroutine->Amp\{closure}(NULL, NULL)
#7 /srv/blkhole/vendor/amphp/amp/lib/Deferred.php(53): class@anonymous->resolve(NULL)
#8 /srv/blkhole/vendor/amphp/byte-stream/lib/IteratorStream.php(64): Amp\Deferred->resolve()
#9 /srv/blkhole/vendor/amphp/amp/lib/Succe in /srv/blkhole/app/web.php on line 90
********************************************************************************
�
It kinda gets annoying that they are behaving so differently :/
Fatal error: Uncaught Amp\Http\Client\ParseException: Configured body size exceeded: 1777340416 bytes received, while the configured limit is 1777336320 bytes in /srv/blkhole/vendor/amphp/http-client/src/Connection/Internal/Http1Parser.php:447
�
Stack trace:
#0 /srv/blkhole/vendor/amphp/http-client/src/Connection/Internal/Http1Parser.php(202): Amp\Http\Client\Connection\Internal\Http1Parser->addToBody('\xC1\xF9\x80\x96\xD3p\xCB\x8D!,\x8A\x8A\xAE\xCC\xC4...')
#1 /srv/blkhole/vendor/amphp/http-client/src/Connection/Http1Connection.php(410): Amp\Http\Client\Connection\Internal\Http1Parser->parse('\xC1\xF9\x80\x96\xD3p\xCB\x8D!,\x8A\x8A\xAE\xCC\xC4...')
#2 [internal function]: Amp\Http\Client\Connection\Http1Connection->Amp\Http\Client\Connection\{closure}()
#3 /srv/blkhole/vendor/amphp/amp/lib/Coroutine.php(118): Generator->send('\xC1\xF9\x80\x96\xD3p\xCB\x8D!,\x8A\x8A\xAE\xCC\xC4...')
#4 /srv/blkhole/vendor/amphp/amp/lib/Internal/Placeholder.php(46): Amp\Coroutine->Amp\{closure}(NULL, '\xC1\xF9\x80\x96\xD3p\xCB\x8D!,\x8A\x8A\ in /srv/blkhole/vendor/amphp/http-client/src/Connection/Internal/Http1Parser.php on line 447
[2021-10-29 22:13:40] (The process stopped responding, potentially due to a fatal error or calling exit) torrents listFiles
The UI even if I like it is quite special, so we should rework it to appeal to a more common taste.
Happens after Log Download added but could be somewhere else or i would not open an issue for myself.
PHP Fatal error: Uncaught Amp\TimeoutException: Operation timed out in D:\Workspace\blkhole\vendor\amphp\amp\lib\functions.php:275
Stack trace:
#0 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop\NativeDriver.php(142): Amp\Promise\{closure}()
#1 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop\Driver.php(138): Amp\Loop\NativeDriver->dispatch()
#2 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop\Driver.php(72): Amp\Loop\Driver->tick()
#3 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop.php(95): Amp\Loop\Driver->run()
#4 D:\Workspace\blkhole\app\web.php(240): Amp\Loop::run()
#5 D:\Workspace\blkhole\main.php(64): GT\BLK\Web->run()
#6 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop\Driver.php(119): {closure}()
#7 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop\Driver.php(72): Amp\Loop\Driver->tick()
#8 D:\Workspace\blkhole\vendor\amphp\amp\lib\Loop.php(95): Amp\Loop\Driver->run()
#9 D:\Workspace\blkhole\main.php(65): Amp\Loop::run()
#10 {main}
Next Amp\Http\Client\TimeoutException: Inactivity timeout exceeded, more than 10000 ms elapsed f in D:\Workspace\blkhole\vendor\amphp\http-client\src\Connection\Http1Connection.php on line 433
Hi,
Hope I don't bother you.
Are you still working on blkhole?
I tried compiling the docker image but I get this error about the
composer repository:
[email protected] build
react-scripts build
Creating an optimized production build...
Compiled with warnings.
src/App.js
Line 2:8: 'ReactDOM' is defined but never used no-unused-vars
Line 11:44: 'NavDropdown' is defined but never used no-unused-vars
Line 11:90: 'Alert' is defined but never used no-unused-vars
Line 14:8: 'empty' is defined but never used no-unused-vars
Line 24:3: Useless constructor no-useless-constructor
Line 30:17: Expected '===' and instead saw '==' eqeqeq
Line 61:55: Expected '===' and instead saw '==' eqeqeq
Line 206:3: Useless constructor no-useless-constructor
Line 213:9: 'stateData' is assigned a value but never used
no-unused-vars
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
File sizes after gzip:
110.6 KB build/static/js/2.c995b646.chunk.js
22.8 KB build/static/css/2.c4e73993.chunk.css
2.17 KB build/static/js/main.7b4c70e9.chunk.js
1.62 KB build/static/js/3.c58c2153.chunk.js
1.16 KB build/static/js/runtime-main.7e1c94cd.js
616 B build/static/css/main.ffe19602.chunk.css
The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
You may serve it with a static server:
npm install -g serve
serve -s build
Find out more about deployment here:
Loading composer repositories with package information
In PathRepository.php line 154:
The url
supplied for the path (./../helpers) repository does not exist
update [--with WITH] [--prefer-source] [--prefer-dist] [--dry-run]
[--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader]
[--no-scripts] [--no-suggest] [--no-progress] [-w|--with-dependencies]
[-W|--with-all-dependencies] [-v|vv|vvv|--verbose]
[-o|--optimize-autoloader] [-a|--classmap-authoritative]
[--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX]
[--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs]
[--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs]
[--] [...]
Sending build context to Docker daemon 341.1MB
Step 1/6 : FROM php:7.4-cli
---> 345b2751a654
Step 2/6 : COPY . /srv/blkhole
---> Using cache
---> a7bb16844d81
Step 3/6 : WORKDIR /srv/blkhole
---> Using cache
---> 25ff2357c1c0
Step 4/6 : CMD [ "env >> /srv/blkhole/.env"]
---> Using cache
---> de1d3ded414d
Step 5/6 : CMD [ "php", "./main.php" ]
---> Using cache
---> 1e21fb2edb71
Step 6/6 : EXPOSE 1337
---> Using cache
---> cf4e0764e57e
Successfully built cf4e0764e57e
Successfully tagged blkhole:latest
Then when I try to run with the container:
Warning: require_once(/srv/blkhole/vendor/autoload.php): failed to open
stream: No such file or directory in /srv/blkhole/main.php on line 9
Fatal error: require_once(): Failed opening required
'/srv/blkhole/vendor/autoload.php' (include_path='.:/usr/local/lib/php')
in /srv/blkhole/main.php on line 9
I'd appreciate if you can help!
Thanks
Cheers
Implement Self Updates for Minor Changes so we don't need to rebuild App or Docker every time we Fix something
Remove INI files and enable management internally in the App.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.