Giter Site home page Giter Site logo

drakonkat / crawfish Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 7.0 11.7 MB

Innovative torrent client with integrated search feature

License: MIT License

Dockerfile 0.14% JavaScript 98.22% Pug 0.13% HTML 0.89% Shell 0.06% CSS 0.55%
bittorrent electron javascript p2p streaming torrent webrtc webtorrent

crawfish's Introduction

Hi ๐Ÿ‘‹! I'm a fullstack developer from italy

Dicover more on me here

languages graph

javascript logo react logo html5 logo css3 logo java logo docker logo gitlab logo github logo azure logo

crawfish's People

Contributors

drakonkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

crawfish's Issues

Blank White Screen on Launch

Blank white screen on launching the app & goes away after a while

on WIndows 10

have tried full uninstall and then reinstalled but still the same issue.

Edit: started launching properly now

Add option to open path

Add a fast and simple way to open torrents path
It would be useful to be able to just click the torrent you have downloaded and go to its folder, as of right now is confusing (at least to me) to get to its path

unsure about how it could be done, maybe with a button on the action side?
image

Idea: Support of optionally not downloading a file

Crawfish is one of the few clients to support webtorrent, but a common theme can be found among all the clients that do, lacking support for the usual torrent management. In particular if you want to help host a file to web over torrent, taking from a torrent within the traditional torrent realm, it would be nice to not download every file.

It would especially be nice to have the UI features for managing it that we see in Qbittorrent and other standard desktop torrent clients including highlighting multiple files, sorting files by size, sorting files by completeness, sorting files by availability. Technically the official webtorrent-desktop does support excluding a file but because it lacks those UI features if a torrent has 50 thousand jpgs in it it becomes impossible to manage, whereas in most desktop clients it isn't.

White screen when starting on linux

Describe the bug
White screen when starting on linux
image

Desktop (please complete the following information):

  • OS: Gentoo
  • Version [e.g. 22] 1.7.2 appimage

crawfish can't save

Describe the bug
I add a Magnet Link, but nothing happened. I try to change Download path, and hit save, but nothing happened, go to home and return, the path is empty again.
I also tried desktop version ,and it can't download too. The Magnet Link is working normal, because I can download it with qbittorrent.

To Reproduce
Steps to reproduce the behavior:

  1. docker-compose
version: "3.9"
services:
  crawfish:
    image: mauromazzocchetti/crawfish
    container_name: crawfish
    volumes:
      - /home/me/docker/crawfish/downloads:/usr/src/app/Downloads
    ports:
      - 3015:3000
      - 51415:51415
    restart: unless-stopped
  1. go to http://ip:3015/crawfish-official/index.html
  2. Click on "add" and put in Magnet Link then hit "save and close", but nothing happened.
  3. go to "settings",add a path in "Download path" then hit "save", but nothing happened. Go to home and return, the path is empty again.
  4. Use desktop version, click on "add" and put in Magnet Link then hit "save and close", start downloading but not showing name and no download speed.

Expected behavior
Add a Magnet Link then start downloading.

Screenshots
crawfish
setting
desktop

Desktop (please complete the following information):

  • OS: ubuntu 20.04
  • Browser chrome
  • Version 107.0.5304.106

Additional context
I can't find a button to upload a torrent file. /home/me/docker/crawfish/downloads is owned by me not root.
logs showing in portainer:


> [email protected] prod
> node ./bin/www-prod

/bin/sh: 1: xdg-user-dir: not found
Starting the service... false true
Express server stared! Mode:  development
Error getting data at start:  Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /app/node_modules/levelup/lib/levelup.js:119:23
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14 {
  [cause]: undefined
}
Error reading file: /root/Crawfish/config.json
Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /app/node_modules/levelup/lib/levelup.js:119:23
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14 {
  [cause]: undefined
}
*** uncaughtException: Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /app/node_modules/levelup/lib/levelup.js:119:23
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14 {
  [cause]: undefined
}
*** uncaughtException: Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /app/node_modules/levelup/lib/levelup.js:119:23
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14 {
  [cause]: undefined
}
*** uncaughtException: Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /app/node_modules/levelup/lib/levelup.js:119:23
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14 {
  [cause]: undefined
}
*** uncaughtException: Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /app/node_modules/levelup/lib/levelup.js:119:23
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14 {
  [cause]: undefined
}
*** uncaughtException: TypeError: Cannot read properties of undefined (reading 'map')
    at ConfigStorage.getAllTorrent (/app/routes/classes/ConfigStorage.js:279:28)
    at async /app/routes/classes/ConfigStorage.js:145:32

docker error page

Describe the bug
I deployed it with docker-compose but get a blank page showing "error" when I visited it.I have tried latest and 1.7.4,they have the same result.

To Reproduce
Steps to reproduce the behavior:

  1. docker-compose
version: "3.9"
services:
  crawfish:
    image: mauromazzocchetti/webtorrent-express-api:1.7.4
    container_name: crawfish
    volumes:
      - /home/me/docker/crawfish/downloads:/usr/src/app/Downloads
    ports:
      - 3015:3000
      - 51415:51415
    restart: unless-stopped
  1. go to http://ip:3015 ,then showing "error"

Expected behavior
working normal

Screenshots
error

Desktop (please complete the following information):

  • OS: ubuntu 20.04
  • Browser chrome
  • Version 107.0.5304.106

Additional context
logs:

> [email protected] prod
> node ./bin/www-prod

/bin/sh: 1: xdg-user-dir: not found
Starting the service... false true
Express server stared! Mode:  production
Error getting data at start:  Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /usr/src/app/node_modules/levelup/lib/levelup.js:119:23
    at /usr/src/app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /usr/src/app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /usr/src/app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
Error reading file: /root/Crawfish/config.json
Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /usr/src/app/node_modules/levelup/lib/levelup.js:119:23
    at /usr/src/app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /usr/src/app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /usr/src/app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14

node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^
Error [OpenError]: IO error: /root/Crawfish/config_db/LOCK: No such file or directory
    at /usr/src/app/node_modules/levelup/lib/levelup.js:119:23
    at /usr/src/app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14
    at /usr/src/app/node_modules/deferred-leveldown/deferred-leveldown.js:31:21
    at /usr/src/app/node_modules/abstract-leveldown/abstract-leveldown.js:38:14

> [email protected] prod
> node ./bin/www-prod

/bin/sh: 1: xdg-user-dir: not found
Starting the service... false true
Express server stared! Mode:  production
Error getting data at start:  Error
    at new CustomPouchError (/usr/src/app/node_modules/pouchdb/lib/index.js:656:21)
    at createError (/usr/src/app/node_modules/pouchdb/lib/index.js:665:10)
    at /usr/src/app/node_modules/pouchdb/lib/index.js:5183:25
    at /usr/src/app/node_modules/pouchdb/lib/index.js:4220:9
    at /usr/src/app/node_modules/pouchdb/lib/index.js:4051:13 {
  status: 404,
  name: 'not_found',
  message: 'missing',
  error: true,
  reason: 'missing',
  docId: 'configuration'
}
Error reading file: /root/Crawfish/config.json
Service started
Founded searx resource true
Error checking resource https://darmarit.org/searx/:  false

Bug with typing "-1" in textboxes

Describe the bug
Impossible to write "-" in such textboxes like "Download speed" and "Upload speed"

To Reproduce

  1. Go to Settings > General
  2. Clean "Download Speed" textbox
  3. Try to write "-" and "1"
  4. 'Cause "-" is validation fail, it won't be written

To avoid this problem user need to type any number, go to begin of the textbox and type "-". It seems to be non-intuitive.

Desktop:

  • OS: Windows 11 Pro
  • Version 21H2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.