Coder Social home page Coder Social logo

tcloud's Introduction

Tcloud

Greenkeeper badge npm Travis branch Dependency Status js-standard-style

===== View =====

App-view

===== Installation =====

Standalone

Get the last release from https://github.com/Lunik/tcloud/releases

$ wget https://github.com/Lunik/tcloud/releases/download/v0.2.6/tcloud-v0.2.6.tgz

Uncompress the tarball and cd into

$ tar zxf tcloud-v0.2.6.tgz
$ cd tcloud-v0.2.6

Install dependencies

$ npm install --production

Run

$ node server.js

Docker

Docker Stars Docker Pulls

$ docker pull lunik/tcloud
$ docker run -d \
    -v /some/folder/files:/usr/src/app/files \
    -v /some/folder/config:/usr/config \
    -v /some/folder/database:/usr/src/app/database \
    lunik/tcloud:latest

===== Configuration =====

Modify config.json. On the first installation, this file could be missing, run npm run build to generate a default one.

===== Notes =====

If you want to download large torrent, check your server memory. If the torrent is larger that your memorie, it could fail with allocation error. You can add swap to your server to prevent this issue. It comes from webtorrent issue.

tcloud's People

Contributors

greenkeeper[bot] avatar lunik 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tcloud's Issues

Gather IPv6

IPv6 are not well gathered...
If the app is beind a proxy, it's the proxy's ip

Rename file / folder

User should be able to rename is file and folders.

  • Missing REST API
  • Frontend support

Toolbox are not well placed

Toolbox have a position fixed. On scroll, this stay at the same position. They should follow the list item.

Heroku Support

Hello,why was heroku support ended for your application?

Encode all API

Every time there is a filename in the URL, it should be encoded for more privacy.

Torrent search submit don't update on Copy / Paste

Mobile
If i copy a .torrent link and paste in search box then the option doesn't changing from Search to start until i rename any word manually
Example:- I copied a link from http://xxxxxxx.com/abc.torrent and pasted in search box this will continue to display Search option after pasting ( it should automatically change to Start from search) then i renamed last char of http://xxxxxxx.com/abc.torrent ( delete last 't' and again write 't' at end ) after that is is showing correct option which is Start.
If you haven't understand please write again i will write with screenshots.

fs-extra rename fail in docker container

return binding.rename(pathModule._makeLong(oldPath),
                 ^

Error: EXDEV: cross-device link not permitted, rename '/tmp/webtorrent/48ecff0d2610676c3ab90c44e8250a8ed557523e/someTorrent.mp4' -> '/usr/src/app/files//someTorrent.mp4'
    at Object.fs.renameSync (fs.js:772:18)
    at e.value (/usr/src/app/server.js:1:22947)
    at t.<anonymous> (/usr/src/app/server.js:1:22631)
    at emitOne (events.js:115:13)
    at t.emit (events.js:210:7)
    at t.value (/usr/src/app/server.js:1:24756)
    at ChildProcess.<anonymous> (/usr/src/app/server.js:1:24359)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at emit (internal/child_process.js:774:12)

Add manifest

Adding a manifest, this way user can install the app on their smartphones

Heroku

Hi,heroku seems to blocking your application,whenever I try to deploy the app on heroku I get No such app,So could anyone you help me out?

generate config

admin user npm run config to generate a default config file

Improve style on mobile

  • Scrolls feature (top bar that stay on top when scrolling) doesn't work
  • search inuput too large
  • state.mobile should not be initilised to false by defalut but by is value depending if window.innerWidth

Error with config when deploying with OpenShift

I'm am trying to deploy your application on OpenShift but I get this error.
Can you please figured out what is going on ?

Stack trace:

error log :======== 

[13/10/2017 04:00:28] [Error]	[Config] SyntaxError: Unexpected end of JSON input
undefined:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at t.value (/usr/src/app/server.js:1:2397)
    at /usr/src/app/server.js:1:2098
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:505:3)

Failed child don't disapear

Failed child for any reason are not detected by the peer controller. They are alive forever even if the subprocess is killed

File watcher don't update

When a peer finish to download, the torrent is moved to the right location. But the file watcher don't see it and don't update is file list

How to maintain seeds

I installed the most recent version.
The program will operate normally.
Just one question.
If you keep a torrent file and want to keep seeding
I asked to modify the config file,
There is no configuration-specific option in the config file.
I want to keep seeding the files I have received.
What should I do?
And if you keep more than 1000 seeds, is there any program problem?

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.